alfiesty
Posts: 117
Joined: Sat Jan 05, 2013 3:17 am
Location: Colorado Rocky Mountains, USA

put main stuff on hd

Sat Jan 05, 2013 3:56 am

I understand it is possible to boot to SD but have system on USB hard drive. I am a noob, and would like to know how to do this.
Jim
8000 feet(2438M) above the average!

User avatar
rpdom
Posts: 17173
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: put main stuff on hd

Sat Jan 05, 2013 6:36 am

It's fairly easy to do, and quite common. There are a number of advantages to doing this.

Note, it is very important that your USB disk has its own PSU - the Pi can't supply enough to run without blowing its fuse.

There are a couple of ways to do it on the thread here: http://www.raspberrypi.org/phpBB3/viewt ... =63&t=6565 along with some links to other threads with more details.

It basically boils down to:

1) Create a suitable partition on your USB HD (ext4 is good)

2) Copy the contents of the "/" partition onto the disk.

3) Edit /boot/cmdline.txt to say root=/dev/sda1 (assuming you only created on partition).

4. Reboot

You will still need your SD card with the /boot partition on.

Mobius
Posts: 238
Joined: Thu Aug 30, 2012 1:07 am
Location: San Angelo, Texas USA

Re: put main stuff on hd

Sat Jan 05, 2013 2:53 pm

One way to get around the power issue is to use a USB flash drive instead of a hard drive. You can get decent 32GB drives for less than $20 US. Not sure what all you would want to store that would require huge amounts of disk space.

Return to “Beginners”