kingneil
Posts: 36
Joined: Tue Sep 27, 2016 3:32 am

Can Raspbian be installed to an external HDD..?

Tue Oct 11, 2016 4:33 pm

Let's say I only have a 2 GB microSD card, but Raspbian requires 4 GB.

I know you need a microSD in order to boot.

But is it possible to boot from the microSD... but actually install to an external HDD, like, 1 TB USB, or a USB stick etc..?

Thanks
Last edited by kingneil on Tue Oct 11, 2016 10:41 pm, edited 1 time in total.

klricks
Posts: 7154
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Can Raspbian be installed to an external HDD..?

Tue Oct 11, 2016 5:07 pm

kingneil wrote:Let's say I only have a 2 GB microSD card, but Raspbian requires 4 GB.

I know you need a microSD in order to boot.

But is it possible to boot from the microSD... but actually install to an external HDD, like, 1 GB USB, or a USB stick etc..?

Thanks
Yes that can be done. See here: viewtopic.php?f=29&t=44177
If you have a RPi 3B then that can boot from external drive without an SD card.
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

W. H. Heydt
Posts: 12648
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Can Raspbian be installed to an external HDD..?

Tue Oct 11, 2016 6:21 pm

That's one way to do it....

You can install Raspbian Lite on a 2GB card. You won't have the GUI desktop, but you'll have a running system.

If you are using a Pi3B, you can put *everything* on a USB stick, HDD, or SSD. See here: viewtopic.php?f=63&t=155167 for the beta test of this. If you go that route, you can boot your Pi without an SD card at all.

At present, I have 2 Pis that use external media full time. One boots from an SD card containing the usual /boot partition and has the root partition on a PiDrive (314GB HDD). The other is a CM with Raspbian Lite in the on-board eMMC flash (there isn't room for the full version of Raspbian). The CM only uses the /boot partition and has the root partition on an SSD. The CM is mounted in a WD SATA adapter carrier board. The former system (with the HDD) could be converted to boot-over-USB because it's a PI3B. The later system can't do that, as the CM uses a '2835 SoC, the same one that is on the Pi Zero, A+ and B+ Pis. I am looking forward to the release of the CM3, which will probably require an revised carrier board (if only for power reasons) but should be able to boot directly from the attached SSD with nothing in the eMMC flash. (I'm also hoping that the CM3 will have enough flash storage to hold a full Jessie release, but that is a different issue.)

Return to “General discussion”