How to Install Raspberry Pi OS to USB Manually from Windows: Did you know it is possible to run Raspberry Pi OS directly from a USB flash drive on your desktop or laptop PC? If you are curious about experimenting with the Raspberry Pi operating system in a desktop environment without an actual Raspberry Pi board, this tutorial is perfect for you.
In this simple solution, I cover multiple ways to create a bootable USB drive with Raspberry Pi Desktop (formerly Raspbian for PC) and boot it on a computer. This is ideal for testing the Raspberry Pi desktop OS, trying Linux on older hardware, or running a portable operating system without touching your main drive.

What You Need to Install Raspberry Pi OS to USB
- 7-Zip - Extracts compressed downloads.
- Win32 Disk Imager - or download dd.exe to write ISO images to USB.
- Raspberry Pi Desktop ISO - The Debian based OS for PCs.
- USB Flash Drive - 8 GB or larger recommended.
Create a Raspberry Pi USB using Win32 Disk Imager

- Insert your USB flash drive.
- Extract Win32 Disk Imager with 7-Zip.
- Launch
Win32DiskImager.exe. - Under Image File, browse and select your Raspberry Pi Desktop ISO.
- Choose the correct Device: USB drive letter.
- Click Write and wait for completion.
Make a Raspberry Pi Bootable USB using dd on Windows
Warning: The dd command will erase all data on the selected drive. Triple check the disk number before continuing.
- Download the Raspberry Pi Desktop ISO.
- Insert your USB drive.
- Open Command Prompt as Administrator and type:
diskpart
- List disks:
list disk
Identify your USB disk number carefully.
- Select the disk X, replacing
Xwith your actual USB disk:
select disk X
- Clean it:
clean
- Exit diskpart:
exit
- Download dd for Windows and run:
dd.exe if=path-to-raspberrypi.iso of=\\.\PhysicalDriveX bs=4M --progress
- Reboot and boot from the USB via BIOS or Boot Menu.
Create a Raspberry Pi USB from Linux using dd
These steps work on most distributions such as Ubuntu, Debian, or Mint.
Warning: The dd command overwrites data. Confirm the correct device path before proceeding.
- Download the Raspberry Pi Desktop ISO.
- Insert your USB drive.
- Open a terminal.
- Identify the USB device:
sudo fdisk -l
Look for a device like /dev/sdX.
- Write the image:
sudo dd if=path-to-raspberrypi.iso of=/dev/sdX bs=4M status=progress oflag=sync
- Reboot and choose the USB from your boot menu.
Create a Raspberry Pi USB on macOS using dd
You can also create the bootable USB from macOS using Terminal.
Warning: Selecting the wrong disk will erase it. Double check the disk identifier.
- Download the Raspberry Pi Desktop ISO.
- Insert the USB drive.
- Open Terminal.
- List disks:
diskutil list
Note the USB identifier such as /dev/disk2.
- Unmount the disk:
diskutil unmountDisk /dev/disk2
- Write the image:
sudo dd if=path-to-raspberrypi.iso of=/dev/rdisk2 bs=4m
- When finished, eject the drive:
diskutil eject /dev/disk2
Booting Raspberry Pi OS from USB
- Restart your computer.
- Enter BIOS or Boot Menu (often F2, F12, DEL, or ESC).
- Select the USB device as the boot source.
- Save and continue booting.
Tips for Best Performance
- Use a USB 3.0 or faster drive.
- Performance varies depending on hardware.
- Your internal drive remains untouched.
Frequently Asked Questions
Do I need a Raspberry Pi board?
No, Raspberry Pi Desktop runs directly on standard PC hardware.
Will this erase my hard drive?
No, only the USB drive is written to.
Can I make persistent changes?
Yes, changes are saved directly to the USB.
Why will my PC not boot?
Check BIOS settings and ensure USB boot is enabled.
Final Notes
You now have several methods to run Raspberry Pi OS from USB across Windows, Linux, and macOS. This is a safe way to explore the Raspberry Pi Desktop variant, test hardware compatibility, or carry a portable operating system wherever you go.