Page 1 of 2

Recomendation for Bootable HDD

Posted: Thu Feb 16, 2017 11:32 pm
by micksulley
I have tested out booting from a hard disk and got it working, but the drive I have used, Seagate Freeagent 1Tb does not seem to create a reliable system in that it won't reboot (from sudo reboot) and sometimes does not boot from power cycle the first time.

Are there any recommendations for HDD's that do work? I am looking for a proper hard disk, not a SSD, 500Gb or more and probably with a separate power supply (any thought on if that is more reliable?)

Thanks
Mick

Re: Recomendation for Bootable HDD

Posted: Fri Feb 17, 2017 1:04 pm
by k-pi
All I can suggest is that you will need a power supply for your hard drive, as the Pi doesn't exactly exude power for peripherals. :)

If that's a 2.5" drive, I believe you can power both it & your Pi from a powered usb hub, but if it's a 3.5" it needs a seperate 12v supply.

Re: Recomendation for Bootable HDD

Posted: Fri Feb 17, 2017 4:26 pm
by micksulley
Yes I was thinking I would power the HDD separately.

Can anyone share experiences of HDD's that are known to work?

Re: Recomendation for Bootable HDD

Posted: Fri Feb 17, 2017 5:44 pm
by DougieLawson
micksulley wrote:Yes I was thinking I would power the HDD separately.

Can anyone share experiences of HDD's that are known to work?
http://wdlabs.wd.com/category/wd-pidrive/ they're brilliant.

There's one 314GB HD that has a Zero and a small USB hub connected directly to the HD. Add power, keyboard and a WiFi dongle and you've got an instantly usable system.

My other two WD Raspberries are based on a RPi3 and a 375GB HD.

Re: Recomendation for Bootable HDD

Posted: Fri Feb 17, 2017 6:02 pm
by allfox
I'm using a WD Red 1TB drive with a Pi 3. It needs the 12V power source.

I have the root file system on it, but not directly boot from it.

While it works, I bought it wishing it would be quiet and faster as an NAS, however, I expected too much. Maybe in a real(BIG) server environment could it be better.

Anyway, it worked 7x24 for last 2 years.

Re: Recomendation for Bootable HDD

Posted: Fri Feb 17, 2017 6:36 pm
by alphanumeric
5400 RPM laptop drives will likely work OK powered by the Pi. SSD drives should be fine too. Full sized 7200 RPM desktop drives likely will need to be separately powered. Especially large capacity drives with more than one platter inside.

Re: Recomendation for Bootable HDD

Posted: Fri Feb 17, 2017 7:03 pm
by rpdom
alphanumeric wrote:Full sized 7200 RPM desktop drives likely will need to be separately powered.
Not "likely will". They definitely will need to be externally powered as they required a 12V supply as well as 5V and lots of Amps, while the laptop drives only require 5V.

(By "Full sized", I presume you mean 3½" drives, although the same will go for the older 5¼" drives)

Re: Recomendation for Bootable HDD

Posted: Fri Feb 17, 2017 7:41 pm
by micksulley
The suggestions seem to be that any HDD will work (probably with external power), but I know that is not true. My current setup booting from a Seagate Freeagent 1Tb works, but will not re-boot. "sudo reboot" causes it to shut down to the point when both red and green LED are on steady, and that is where it stays. Power cycle and usually it boots up OK, occasionally have to power cycle twice.

Is there anyone out there successfully booting from a HDD?

Thanks
Mick

Re: Recomendation for Bootable HDD

Posted: Fri Feb 17, 2017 8:18 pm
by alphanumeric
Something here might work out better, https://www.wdc.com/products/wdlabs.html

Re: Recomendation for Bootable HDD

Posted: Fri Feb 17, 2017 8:23 pm
by alphanumeric
Is this what you followed to make it bootable? viewtopic.php?f=63&t=155167

Re: Recomendation for Bootable HDD

Posted: Fri Feb 17, 2017 8:26 pm
by alphanumeric
rpdom wrote:
alphanumeric wrote:Full sized 7200 RPM desktop drives likely will need to be separately powered.
Not "likely will". They definitely will need to be externally powered as they required a 12V supply as well as 5V and lots of Amps, while the laptop drives only require 5V.

(By "Full sized", I presume you mean 3½" drives, although the same will go for the older 5¼" drives)
I suspected as much, just never took the time to prove it out. ;)

Re: Recomendation for Bootable HDD

Posted: Fri Feb 17, 2017 8:28 pm
by alphanumeric
DougieLawson wrote:
micksulley wrote:Yes I was thinking I would power the HDD separately.

Can anyone share experiences of HDD's that are known to work?
http://wdlabs.wd.com/category/wd-pidrive/ they're brilliant.

There's one 314GB HD that has a Zero and a small USB hub connected directly to the HD. Add power, keyboard and a WiFi dongle and you've got an instantly usable system.

My other two WD Raspberries are based on a RPi3 and a 375GB HD.
A compute module version of that would be killer. =) I have one of those on my must have list.

Re: Recomendation for Bootable HDD

Posted: Fri Feb 17, 2017 9:40 pm
by micksulley
I followed this link to get my Pi3 booting from HDD
https://www.raspberrypi.org/blog/pi-3-b ... nt-1269851
I have looked at the PiDrive, it still uses an SD card and my objective was to boot directly from HDD as detailed in the link.

Really, has no-one else done this?

Re: Recomendation for Bootable HDD

Posted: Fri Feb 17, 2017 9:53 pm
by alphanumeric
I haven't tried it. Haven't had the need to do it.

Re: Recomendation for Bootable HDD

Posted: Fri Feb 17, 2017 11:11 pm
by peterlite
The WD Pi disk is announced in 1 TB but is not available around here. You do not mention the Pi model. A Pi 3 can easily run a 2.5: disk. I have a few 2 TB 2.5" disks that work off the Pi.

Some disks have a huge peak power usage at startup and that can interfere with a loaded Pi. Some disks prevent the power peak usage by using a slow boot cycle and that can time out. This should not be a problem for a software reboot.

Some disk enclosures have bad SATA > USB chips that cause the type of problem you describe. Run lsusb. What is the USB id for your disk?

My Seagate Backup Plus 1 TB works without problems as does any disk in my Transcend enclosure.

Re: Recomendation for Bootable HDD

Posted: Fri Feb 17, 2017 11:46 pm
by micksulley
It's a Pi3, boot from HDD doesn't work with 1 or 2.
The HDD is the only thing plugged in via USB, I run it headless.
lsusb gives this

Code: Select all

[email protected]:~ $ lsusb
Bus 001 Device 004: ID 0bc2:3008 Seagate RSS LLC 
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[email protected]:~ $ 

Re: Recomendation for Bootable HDD

Posted: Sat Feb 18, 2017 12:01 am
by DougieLawson
Try adding

Code: Select all

 rootdelay=10
on the tail end of /boot/cmdline.txt

Try building an initramfs (sudo mkinitramfs -o /boot/initrd.sda) and adding

Code: Select all

initramfs initrd.sda followkernel
in /boot/config.txt

Re: Recomendation for Bootable HDD

Posted: Sat Feb 18, 2017 9:41 am
by micksulley
Just tried that and it still won't reboot.
Previously it shut down and had both red and green LED's on, now it is just the red one. Don't know if that is significant.

Re: Recomendation for Bootable HDD

Posted: Sat Feb 18, 2017 11:29 am
by allfox
I'm copying the almost always hit reply again: do you power the drive and Pi properly?

The motor in HDD needs a spinning up. It eats more during that process. Those big desktop HDD use 12V to power the motor, which always comes from an external power supply, so they could be well feeded. For those small 5V drive, I suggest you try it with an externally powered USB hub.

Or go the the known to work solution: Buy those WD drives engineered specifically for Pi.

Re: Recomendation for Bootable HDD

Posted: Sat Feb 18, 2017 11:43 am
by micksulley
Yes the Pi has a decent power supply and yes the HDD has its own power supply which was supplied with it.
The WD drives are designed to use an SD card to boot, which is what I am trying to avoid.

Re: Recomendation for Bootable HDD

Posted: Sat Feb 18, 2017 12:52 pm
by davidcoton
micksulley wrote:Yes the Pi has a decent power supply and yes the HDD has its own power supply which was supplied with it.
The WD drives are designed to use an SD card to boot, which is what I am trying to avoid.
The WD drives for the Pi0 have to use the SD Card, but there is no reason I know why the Pi3 cannot boot from a WD drive if you set it up that way.

Re: Recomendation for Bootable HDD

Posted: Sat Feb 18, 2017 1:20 pm
by alphanumeric
Ditto, You should be able to boot from the WD drives when connected to a Pi 3B. I linked there because they have the kit to power a PI and the drive from the one 3A power pack. You don't have to use a PI drive if you don't want to either. I have an external drive enclosure that has that same USB 3 jack on it, and plan on using it with the WD PiDrive Cable Kit (3A).

Re: Recomendation for Bootable HDD

Posted: Sat Feb 18, 2017 3:01 pm
by DougieLawson
micksulley wrote: The WD drives are designed to use an SD card to boot, which is what I am trying to avoid.
Not with my RPi 3s. I'm working with the WD developers to a) lose NOOBS and b) get USB booting running.

Re: Recomendation for Bootable HDD

Posted: Sat Feb 18, 2017 3:31 pm
by micksulley
I just ordered a WD before I saw your post :cry:
Are you saying that you have tried the HDD boot and it does not work with a WD drive?
I will try it out when mine arrives anyway.
Mick

Re: Recomendation for Bootable HDD

Posted: Sat Feb 18, 2017 3:35 pm
by DougieLawson
Both of my RPi3s with WD drives do not have an SDcard. Both are booted from their 375GB drives