[kwlug-disc] Booting the Raspberry Pi from a hard disk

Khalid Baheyeldin kb at 2bits.com
Mon Feb 11 20:49:23 EST 2019

The disk is a run of the mill Fujitsu SATA laptop disk, 5400RPM.
It runs fine with no current issues.

[10211583.187902] usb 1-1.4: new high-speed USB device number 6 using
[10211583.318800] usb 1-1.4: New USB device found, idVendor=152d,
[10211583.318813] usb 1-1.4: New USB device strings: Mfr=10, Product=11,
[10211583.318822] usb 1-1.4: Product: USB to ATA/ATAPI Bridge
[10211583.318830] usb 1-1.4: Manufacturer: JMicron
[10211583.318839] usb 1-1.4: SerialNumber: 00A1234568BF
[10211583.319682] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[10211583.322659] scsi host0: usb-storage 1-1.4:1.0
[10211584.368515] scsi 0:0:0:0: Direct-Access     FUJITSU  zzzz        0100
PQ: 0 ANSI: 6
[10211584.369548] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250
GB/233 GiB)
[10211584.369929] sd 0:0:0:0: [sda] Write Protect is off
[10211584.369941] sd 0:0:0:0: [sda] Mode Sense: 67 00 10 08
[10211584.370348] sd 0:0:0:0: [sda] Write cache: enabled, read cache:
enabled, supports DPO and FUA
[10211584.433737]  sda: sda1 sda2 < sda5 >
[10211584.436222] sd 0:0:0:0: [sda] Attached SCSI disk
[10211848.858858] EXT4-fs (sda1): recovery complete
[10211848.858884] EXT4-fs (sda1): mounted filesystem with ordered data
mode. Opts: (null)

There is the voltage warnings in dmesg on the Pi 2 (only a warning, no
other ill effect),
but none of that on the Pi 3.

So there are no current issue, and a dock is not needed, or external power.

There is a noticeable delay though, around 400 milliseconds, when I try to
list a directory that has not been accessed before. Perhaps it is spin up
time? Or maybe file system delay (it is ext4) combined with the relatively
slow Pi CPU.

What remains unanswered is how to partition the disk for Raspian, or to get
NOOBS on it so I can install Raspian on it, then copy everything from the
SD to the disk.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20190211/e7ab9c45/attachment.html>

More information about the kwlug-disc mailing list