How to Boot Up Raspberry Pi 3 from External Hard Disk

7 comments

  1. meego

    Correct me if I’m wrong but you are here describing a way to move the rootfs to a USB drive. This is kind of misleading as the Raspberry pi 3 is the only Raspberry pi that can actually be booted (for real, not just mooving rootfs) from USB. You should have named your article “How to only move the rootfs to usb, something that could be done in 2012 already, even though now you could truly boot it entirely from USB”

    https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md

  2. Steve

    I found this very useful. I know that the other way to do this is to set the One Time Programming bit which cannot be undone according to the Raspberry Pi help page. This way is better because it does not make any permanent changes to the hardware of the Pi. Thank you for your post.

    1. TRP

      @ Steve,

      Programming the OTP bit for USB boot has no detrimental affect on the Pi3. You can still boot off an SD card if desired. The Pi3 will always check the SD card first, the bit just tells it to check for a bootable USB device if there is no SD card.

  3. Peter Scargill

    This is not booting the Pi3 off the hard drive – it is just moving the file system over – you can do that with just about any micro. Oh well, off to find out what I originally came here looking for…

  4. Dave

    Having problems with rsync….. sudo rsync -axv / /mnt
    Whats wrong with this command ? are the spaces before and after the / s correct?
    space before the first / required?

    1. John

      @dave, yes there are spaces between the backslashes (/ /). There is also a space between the options (-axv) and the first backslash (/).

      sudo rsync -axv / /mnt

      so what this means is you are coping through rsync the whole home folder (which is /) to the mounted drive (/mnt). I use rsync alot especially over an ssh connection.

  5. Jeremy

    I found this useful with my Pi 3. I’m booting from a Pi-powered USB HDD, and the Pi doesn’t wait long enough for the disk to spin up before it starts booting. So booting directly from the disk doesn’t work. This is a good compromise, and only requires me to leave a small MicroSD card installed for the /boot partition. The alternative was to use external power for the disk, and that’s just silly.

Comments are closed.