Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bootfähiger USB-Stick mit Minimalsystem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4  
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Deutsche Dokumentation
View previous topic :: View next topic  
Author Message
AROK
Guru
Guru


Joined: 31 Jul 2006
Posts: 442
Location: D und CH

PostPosted: Sun Jul 27, 2008 9:51 am    Post subject: Reply with quote

Hallo,

versuche mich auch gerade an dem USB-Stick-Linux.

Ich habe aber das Problem:
Code:
VFS: Cannot open root device "sda1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)


Quote:

Lösung: Nach dem Laden des USB-Treibers (EHCI, OHCI oder UHCI) dauert es einen Moment, bis der USB-Stick als Gerät initialisiert wird. Leider versucht der Kernel schon vorher das rootfs zu mounten Deswegen starten wir über eine Initial-Ramdisk (initrd) - die wir für den Bootsplash sowieso benötigen - und warten mit der Hilfe von usleep so lange (bei mir reichen 2 Sekunden), bis /dev/scsi/host1/bus0/target0/lun0/part1 angelegt wird.


Das mit der Ramdisk funktioniert bei mir irgendwie nicht (sehe die Ausgaben aus dem Skript auch nicht). Wenn ich es ohne Angabe einer Ramdisk mache fragt mich der Kernel nach einer Diskette. Wenn ich warte bis der USB-Stick erkannt wurde un Enter drücke kommt trozdem obiger Fehler, obwohl er mir in der Liste der möglichen Partitionen die Partitionen des Sticks (sda1 und sda2) anzeigt.

als Bootoption habe ich sowohl /dev/scsi/host1/bus0/target0/lun0/part als auch /dev/sda1 probiert.

Als Kernel verwende ich Vanilla 2.6.26.

Habt ihr eine Idee? Grüße
AROK
_________________
"Linux ist ein Krebsgeschwür, das in Bezug auf geistiges Eigentum alles befällt, was es berührt." Steve Ballmer, Microsoft
Also überlegt, wen ihr unterstützt wenn ihr das Zeugs verwendet!
Back to top
View user's profile Send private message
AROK
Guru
Guru


Joined: 31 Jul 2006
Posts: 442
Location: D und CH

PostPosted: Sun Jul 27, 2008 12:23 pm    Post subject: Reply with quote

Die Ramdisk funktioniert doch. Gibt nur den Text nicht aus.
Mit einer Knoppix Initrd bootet mein Kernel vom Stick. Scheint wohl, dass ich meine Ramsdik noch irgendwie erweitern muss.
_________________
"Linux ist ein Krebsgeschwür, das in Bezug auf geistiges Eigentum alles befällt, was es berührt." Steve Ballmer, Microsoft
Also überlegt, wen ihr unterstützt wenn ihr das Zeugs verwendet!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Deutsche Dokumentation All times are GMT
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum