User avatar
micksulley
Posts: 166
Joined: Sat Mar 03, 2012 11:48 am
Location: Melton Mowbray, England

Recomendation for Bootable HDD

Thu Feb 16, 2017 11:32 pm

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

k-pi
Posts: 930
Joined: Sun Feb 12, 2017 1:46 pm
Location: Upper Hale, Surrey, UK.

Re: Recomendation for Bootable HDD

Fri Feb 17, 2017 1:04 pm

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.

User avatar
micksulley
Posts: 166
Joined: Sat Mar 03, 2012 11:48 am
Location: Melton Mowbray, England

Re: Recomendation for Bootable HDD

Fri Feb 17, 2017 4:26 pm

Yes I was thinking I would power the HDD separately.

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

User avatar
DougieLawson
Posts: 37670
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Recomendation for Bootable HDD

Fri Feb 17, 2017 5:44 pm

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.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
allfox
Posts: 452
Joined: Sat Jun 22, 2013 1:36 pm
Location: Guang Dong, China

Re: Recomendation for Bootable HDD

Fri Feb 17, 2017 6:02 pm

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.

alphanumeric
Posts: 2387
Joined: Tue Jan 19, 2016 2:17 pm
Location: Sydney, Nova Scotia, Canada

Re: Recomendation for Bootable HDD

Fri Feb 17, 2017 6:36 pm

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.

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

Re: Recomendation for Bootable HDD

Fri Feb 17, 2017 7:03 pm

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)

User avatar
micksulley
Posts: 166
Joined: Sat Mar 03, 2012 11:48 am
Location: Melton Mowbray, England

Re: Recomendation for Bootable HDD

Fri Feb 17, 2017 7:41 pm

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

alphanumeric
Posts: 2387
Joined: Tue Jan 19, 2016 2:17 pm
Location: Sydney, Nova Scotia, Canada

Re: Recomendation for Bootable HDD

Fri Feb 17, 2017 8:18 pm

Something here might work out better, https://www.wdc.com/products/wdlabs.html

alphanumeric
Posts: 2387
Joined: Tue Jan 19, 2016 2:17 pm
Location: Sydney, Nova Scotia, Canada

Re: Recomendation for Bootable HDD

Fri Feb 17, 2017 8:23 pm

Is this what you followed to make it bootable? viewtopic.php?f=63&t=155167

alphanumeric
Posts: 2387
Joined: Tue Jan 19, 2016 2:17 pm
Location: Sydney, Nova Scotia, Canada

Re: Recomendation for Bootable HDD

Fri Feb 17, 2017 8:26 pm

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. ;)

alphanumeric
Posts: 2387
Joined: Tue Jan 19, 2016 2:17 pm
Location: Sydney, Nova Scotia, Canada

Re: Recomendation for Bootable HDD

Fri Feb 17, 2017 8:28 pm

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.

User avatar
micksulley
Posts: 166
Joined: Sat Mar 03, 2012 11:48 am
Location: Melton Mowbray, England

Re: Recomendation for Bootable HDD

Fri Feb 17, 2017 9:40 pm

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?

alphanumeric
Posts: 2387
Joined: Tue Jan 19, 2016 2:17 pm
Location: Sydney, Nova Scotia, Canada

Re: Recomendation for Bootable HDD

Fri Feb 17, 2017 9:53 pm

I haven't tried it. Haven't had the need to do it.

peterlite
Posts: 720
Joined: Sun Apr 17, 2016 4:00 am

Re: Recomendation for Bootable HDD

Fri Feb 17, 2017 11:11 pm

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.

User avatar
micksulley
Posts: 166
Joined: Sat Mar 03, 2012 11:48 am
Location: Melton Mowbray, England

Re: Recomendation for Bootable HDD

Fri Feb 17, 2017 11:46 pm

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]:~ $ 

User avatar
DougieLawson
Posts: 37670
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Recomendation for Bootable HDD

Sat Feb 18, 2017 12:01 am

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
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
micksulley
Posts: 166
Joined: Sat Mar 03, 2012 11:48 am
Location: Melton Mowbray, England

Re: Recomendation for Bootable HDD

Sat Feb 18, 2017 9:41 am

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.

User avatar
allfox
Posts: 452
Joined: Sat Jun 22, 2013 1:36 pm
Location: Guang Dong, China

Re: Recomendation for Bootable HDD

Sat Feb 18, 2017 11:29 am

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.

User avatar
micksulley
Posts: 166
Joined: Sat Mar 03, 2012 11:48 am
Location: Melton Mowbray, England

Re: Recomendation for Bootable HDD

Sat Feb 18, 2017 11:43 am

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.

User avatar
davidcoton
Posts: 4664
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK

Re: Recomendation for Bootable HDD

Sat Feb 18, 2017 12:52 pm

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.
Signature retired

alphanumeric
Posts: 2387
Joined: Tue Jan 19, 2016 2:17 pm
Location: Sydney, Nova Scotia, Canada

Re: Recomendation for Bootable HDD

Sat Feb 18, 2017 1:20 pm

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).

User avatar
DougieLawson
Posts: 37670
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Recomendation for Bootable HDD

Sat Feb 18, 2017 3:01 pm

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.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
micksulley
Posts: 166
Joined: Sat Mar 03, 2012 11:48 am
Location: Melton Mowbray, England

Re: Recomendation for Bootable HDD

Sat Feb 18, 2017 3:31 pm

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

User avatar
DougieLawson
Posts: 37670
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Recomendation for Bootable HDD

Sat Feb 18, 2017 3:35 pm

Both of my RPi3s with WD drives do not have an SDcard. Both are booted from their 375GB drives
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “General discussion”