[MEGOLDVA] USB flash boot gond

Fórumok

Az első próbálkozásom, hogy telepítek egy Squeeze -t egy USB flash drivre gond nélkül működött - lassú de csont nélkül lefutott.
Most egy másik alaplappal (Intel D252MW Intel Atom procival, nagyon gusztusos kis cucc) nem működik. Ha sorosra kiteszem a kernel logot, akkor itt áll meg a tudomány:


[   15.387723] uhci_hcd 0000:00:1d.3: PCI INT D -> GSI 16 (level, low) -> IRQ 16
[   15.487615] uhci_hcd 0000:00:1d.3: UHCI Host Controller
[   15.564451] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
[   15.667449] uhci_hcd 0000:00:1d.3: irq 16, io base 0x00002020
[   15.750582] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[   15.846399] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   15.947477] usb usb5: Product: UHCI Host Controller
[   16.020495] usb usb5: Manufacturer: Linux 2.6.32-5-amd64 uhci_hcd
[   16.108071] usb usb5: SerialNumber: 0000:00:1d.3
[   16.178041] usb usb5: configuration #1 chosen from 1 choice
[   16.259306] hub 5-0:1.0: USB hub found
[   16.318609] hub 5-0:1.0: 2 ports detected
-- Begin: Loading essential drivers ... done
-- Begin: Running /scripts/init-premount ... done.
-- Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
-- Begin: Running /scripts/local-premount ... done.
-- mount: mounting /dev/root on root failed: No such file or directory
-- Begin: Running /scripts/local-bottom ... done.
-- done.
-- Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
-- done.
-- mount: mounting /sys on /root/sys failed: No such file or directory
-- mount: mounting /proc on /root/proc failed: No such file or directory
-- Target filesystem doesn't have requested /sbin/init.
-- No init found. Try passing init= bootarg.
--
-- 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)
[   17.196842] scsi 4:0:0:0: Direct-Access     Kingmax  USB2.0 FlashDisk 1100 PQ: 0 ANSI: 4
[   17.310450] sd 4:0:0:0: [sda] 7884800 512-byte logical blocks: (4.03 GB/3.75 GiB)
[   17.416076] sd 4:0:0:0: [sda] Write Protect is off
[   17.488776] sd 4:0:0:0: [sda] Assuming drive cache: write through
[   17.579206] sd 4:0:0:0: [sda] Assuming drive cache: write through
[   17.667254]  sda: sda1 sda2 < sda5 >
[   17.726467] sd 4:0:0:0: [sda] Assuming drive cache: write through
[   17.814635] sd 4:0:0:0: [sda] Attached SCSI removable disk

A "--" jelölt sorok, a soroson nem, csak a képernyőn jelennek meg :(

Olyan, mintha elkésne az USB beépítésével, így az init nem tudja mount -olni a partíciókat. Lehet ezzel valamit kezdeni?
Talán valami késleltetés az initrd -be?

Hozzászólások

KÖSZÖNÖM! Ez volt a megoldás!
Te ezt most fejből tudtad, vagy googleztad? Ha googliztad mire kerestél?
Egyébként, rögtön megnéztem a kernel paraméterek között, ahol találtam egy olyat is, hogy "rootwait" de nem segített. Akkor figyelmesen elolvastam mégegyszer, az az eszközre vár, nem a fájl rendszerre. Viszont a rootdelay rögtön megoldotta :DDDD

* Én egy indián vagyok. Minden indián hazudik.

Furcsaság? Hiba? Mi ez?
A mostani állapotok szerint, a bebootolt rendszerben kiadom a "lilo -v" parancsot mindenféle hibaüzenetet kapok:


LILO version 22.8 (test mode), Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2006 John Coffman
Released 19-Feb-2007, and compiled at 13:53:23 on Dec 15 2010
Debian GNU/Linux

Reading boot sector from /dev/sda
Warning: LILO is compensating for a BIOS bug: (drive 0x80) heads > 255
Warning: Maximum number of heads = 256 (as specified)
   exceeds standard BIOS maximum of 255.
Warning: Maximum number of heads = 256 (as specified)
   exceeds standard BIOS maximum of 255.
Using MENU secondary loader
Calling map_insert_data

Boot image: /vmlinuz -> boot/vmlinuz-2.6.32-5-amd64
Warning: Maximum number of heads = 256 (as specified)
   exceeds standard BIOS maximum of 255.
Mapping RAM disk /initrd.img -> boot/initrd.img-2.6.32-5-amd64
Warning: Maximum number of heads = 256 (as specified)
   exceeds standard BIOS maximum of 255.
Added Linux *

Boot image: /vmlinuz -> boot/vmlinuz-2.6.32-5-amd64
Warning: Maximum number of heads = 256 (as specified)
   exceeds standard BIOS maximum of 255.
Mapping RAM disk /initrd.img -> boot/initrd.img-2.6.32-5-amd64
Warning: Maximum number of heads = 256 (as specified)
   exceeds standard BIOS maximum of 255.
Added Debug

Boot image: /netboot -> /boot/gpxe-1.0.1+-gpxe.lkrn
Warning: Maximum number of heads = 256 (as specified)
   exceeds standard BIOS maximum of 255.
Added gPXE

Skipping /vmlinuz.old
The boot sector and the map file have *NOT* been altered.
8 warnings were issued. 

Mindenféle "off line" módosításhoz, mentéshez és egyéb házmesteri feladathoz a RIP 12.3 verzióját használom (van frissebb is de onnan valamiért kispórolták a lilo -t). Ráadásul az amd64 -es image nem bootolható, leakad:( Így, a lilo.conf "appned="rootdaley" kiegészítést is a 32 bites rendszeren csináltam, ezzel továbbra is csont nélkül tudom használni a lilo -t.
Nem igazán értem, hogy miből ered ez a hiba/furcsaság.
(A Debian telepítőjében is mintha ezt ellehetne intézni a nano -val, de ott nem sikerült - elbénáztam - ezért használtam a RIP -et)

* Én egy indián vagyok. Minden indián hazudik.