Re: howto boot from harddrive
On Sun, 3 Jun 2012, mick wrote:
On Sun, 3 Jun 2012 14:53:16 -0500 (CDT)
kqt4at5v@gmail.com allegedly wrote:
I just got a Guruplug server a couple of days ago. It booted right up
as described and I connected and all worked fine. Then I installed
Debian as decribed at
'http://www.cyrius.com/debian/kirkwood/sheevaplug/install.html' to a
USB flash drive. Also no problems everything works fine. Now I want
to move the os to a USB harddrive.
[ some deletia ]
Martin notes on his site that USB support is a "little flakey". I
agree. I have had quite a few problems with my sheevaplug. Try adding a
reset to the bootcmd so that if it fails, it will retry until success
Thus:
setenv bootcmd ‘setenv bootargs $(bootargs_console); run bootcmd_usb;
bootm 0×00800000 0×01100000; reset’
Great, that got me past that, next hurdle
[ 2.237912] ata1: SATA max UDMA/133 irq 21
[ 2.526680] usb 1-1: new high speed USB device using orion-ehci and
address 2
[ 2.586680] ata1: SATA link down (SStatus 0 SControl F300)
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ...
done.
Begin: Wait[ 2.677377] usb 1-1: New USB device found, idVendor=1a40,
idProduct=0101
ing for root fil[ 2.684958] usb 1-1: New USB device strings: Mfr=0,
Product=1, SerialNumber=0
e system ... [ 2.693553] usb 1-1: Product: USB 2.0 Hub
[ 2.699986] usb 1-1: configuration #1 chosen from 1 choice
[ 2.708993] hub 1-1:1.0: USB hub found
[ 2.712884] hub 1-1:1.0: 4 ports detected
[ 2.996795] usb 1-1.3: new high speed USB device using orion-ehci and
address 3
[ 3.108126] usb 1-1.3: New USB device found, idVendor=05e3,
idProduct=0702
[ 3.115040] usb 1-1.3: New USB device strings: Mfr=0, Product=1,
SerialNumber=0
[ 3.122408] usb 1-1.3: Product: USB TO IDE
[ 3.127904] usb 1-1.3: configuration #1 chosen from 1 choice
[ 3.168485] Initializing USB Mass Storage driver...
[ 3.173659] scsi1 : SCSI emulation for USB Mass Storage devices
[ 3.180278] usbcore: registered new interface driver usb-storage
[ 3.186328] USB Mass Storage support registered.
[ 8.187966] scsi 1:0:0:0: Direct-Access PLATINUM 250G 8F7200
0811 PQ: 0 ANSI: 0
[ 8.226032] sd 1:0:0:0: [sda] 490234752 512-byte logical blocks: (251
GB/233 GiB)
[ 8.234897] sd 1:0:0:0: [sda] Test WP failed, assume Write Enabled
[ 8.241132] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 8.249642] sd 1:0:0:0: [sda] Test WP failed, assume Write Enabled
[ 8.255855] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 8.262686] sda: sda1 sda2 sda3 sda4
[ 8.295520] sd 1:0:0:0: [sda] Test WP failed, assume Write Enabled
[ 8.301769] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 8.307925] sd 1:0:0:0: [sda] Attached SCSI disk
done.
Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/disk/by-uuid/b29e5aa2-0978-4acc-ac1b-0025cd403a80 does not
exist. Dropping to a shell!
BusyBox v1.17.1 (Debian 1:1.17.1-8) built-in shell (ash)
Enter 'help' for a list of built-in commands.
/bin/sh: can't access tty; job control turned off
(initramfs)
Richard
Reply to: