Copy Raspberry Pi OS to Another Drive

Raspberry Pi OS can copy an existing installation to another drive with SD Card Copier. Choose the working system as the source and the replacement as the destination; copying only the visible boot files won't transfer the operating system.

For a bootable replacement, copy the whole installation. If you only need documents from a separate partition, copy those files instead. The destination can keep its existing partition layout.

Choose a system copy or a file copy

A Raspberry Pi system needs boot files plus its Linux filesystem. Windows may show the small boot partition without opening the main Linux partition. Copying just the visible files leaves the system incomplete.

Use SD Card Copier on a Pi running the desktop edition of Raspberry Pi OS when you want the existing system, settings, and files on replacement storage. These steps use the desktop tool instead of a direct disk-copy command.

Drawing of SD Card Copier with Copy From Device, Copy To Device, and Start highlighted

The copier replaces the destination's contents. Back up any files you need from the destination before starting. Unplug unrelated drives to make the two devices easier to identify.

For a separate data partition, keep the destination's existing layout and use the file-copy section later in this guide. A file copy and a bootable system clone solve different problems even when both involve the same USB disk.

Identify the source and destination before copying

Start the Pi from the installation you want to copy. Attach the replacement drive through a compatible USB adapter, or put the replacement microSD card in a USB card reader. The original system card can stay in the Pi's card slot.

Open a terminal on the Pi and run this read-only command:

lsblk -o NAME,SIZE,MODEL,FSTYPE,MOUNTPOINTS

Look for the filesystem mounted at /. That's the running system's root filesystem. The disk containing that filesystem is your source. The replacement should be a separate disk matching the capacity and model you just connected.

Device names can change between boots. Don't choose a disk simply because another example calls it /dev/sda. Compare the displayed devices with the physical storage connected to your Pi, then return to the copier.

I'd use an equal-sized or larger replacement for the first attempt. SD Card Copier can handle some smaller destinations when the files fit, but a smaller disk adds another thing to check if copying fails.

Copy the working installation with SD Card Copier

Open the desktop application menu, then Accessories > SD Card Copier. The package is called piclone; Raspberry Pi OS Lite doesn't provide the same desktop workflow. Use a desktop installation for these steps.

  1. Open Copy From Device and select the disk containing the installation you're keeping.
  2. Open Copy To Device and select the replacement disk or USB card reader.
  3. Compare those choices with the devices you identified in lsblk.
  4. Select Start, then read the destination named in the erase confirmation before approving it.
  5. Leave the drives connected until the copier reports that the operation has finished.

Select New Partition UUIDs before copying if you plan to connect the copy while booted from its original. That gives each copied partition a new identifier so the Pi can mount both disks together.

The official SD Card Copier explanation describes moving an existing installation between cards. Its older examples call the operating system Raspbian; the point is transferring the installation, not installing a fresh download.

Close programs that are changing important files before copying. If you run a database or server, use its own backup procedure to keep its data consistent. Keep a separate backup of that application's data as well as the system copy.

If the copier reports insufficient space, stop and choose a larger destination or reduce the source's stored files before retrying. Don't delete unfamiliar system folders to force it to fit.

Boot the replacement and check the result

Shut down the Pi after a successful copy. For a replacement microSD card, disconnect power, remove the original card, and put the copied card in the slot. Keep the original card somewhere safe while you test the replacement.

For a USB SSD or hard drive, the Pi needs USB boot support and a suitable boot order. Copying the system doesn't change those settings. Use the model's USB boot instructions before trying an external disk.

Keep the original card while checking USB boot support and adapter compatibility. It provides a working installation if the external copy won't start. An unsuccessful boot isn't a reason to overwrite the original.

Once the replacement starts, open your usual files and applications. Run lsblk again and check which device now holds /. That confirms the Pi is running from your replacement rather than an original drive still connected to it.

A drive-cloning guide for Samsung SSDs covers a different platform and tool. Don't apply its Windows migration steps to a Raspberry Pi's Linux installation.

Copy a data partition without replacing the whole disk

When the job is just moving documents or media, open the Pi's file manager and open both mounted storage locations. Copy the needed folders to the destination, then open several copied files before deleting the originals.

To transfer the filesystem itself, copy an unmounted Linux partition in GParted instead of selecting folders.

Choose a destination filesystem suited to the files you're copying. Linux system folders can contain ownership, permissions, and links that Windows-friendly filesystems can't fully preserve. Ordinary photos don't need those system features.

Check the copied files before changing the source. Repeated disconnections need attention before another transfer. The external-drive detection guide distinguishes Windows detection problems from errors during copying.

Microsoft recommends Safely Remove Hardware when disconnecting removable storage from Windows. If Windows offers to format a Pi partition it can't read, cancel that prompt.

If the copier keeps failing, ask Raspberry Pi's support community for help. Include your exact Pi model, OS edition, both drive capacities, adapter, and the full error. A failed copy and a copied disk that won't boot need different advice.

The Short Version

Use SD Card Copier to transfer Raspberry Pi OS. Confirm the source and the disk being erased, let copying finish, then test the replacement. Test the replacement before giving up the original. For documents alone, copy the files separately.

Checked December 4, 2026.

If you have any business, I can build it online

Hi, I’m Hamza. I’ve been building websites and online shops for business owners since 2019, and I also built this site you’re reading.

Tell me what business you have or what you’re working on. I’ll look into how much it can grow online, and then we talk. You don’t have to buy anything or hire me first.

Chat with me on my site and I’ll show you proof of businesses I’ve helped and how they’ve grown.

Written by Isaac Smith

Isaac Smith is the founder and editor of PC Glance, a website that covers computers, laptops, and technology. He is a tech enthusiast and a computer geek who loves to share his insights and help his readers make smart choices when buying tech gadgets or laptops. He is always curious and updated about the latest tech trends.

More from Isaac Smith

Leave a Comment