View previous topic :: View next topic |
Author |
Message |
MindCrawler n00b
Joined: 05 Oct 2004 Posts: 13 Location: Vienna
|
Posted: Thu Oct 07, 2004 8:11 am Post subject: Boot von einer externen HDD (USB) / Grub Kernel Panic |
|
|
Hallo,
ich habe eine externe HDD welche über USB angeschlossen wird und drauf Gentoo installiert (/dev/sda1 ext2 /boot; /dev/sda3 ext3 / )
Kernel: 2.6.8.1
Hab bis jetzte mehrere Möglichkeiten ausprobiert und auch suchen im Forum / Google hat mich nicht wirklich weitergebracht
Genkernel
Code: | Block device /dev/sda3 is not a valid boot device. The root block device is unspecified or not detected. |
wo ich danach die "richtige" root Partition angeben muss (/dev/sda3 bzw. /dev/sdb3 funktionieren nicht)
Grub ->
Code: | root (hd0,0)
kernel (hd0,0)/kernel root=/dev/ram0 real_root=/dev/sda3 ramdisk=8912 init=/linuxrc vga=795
initrd (hd0,0)/initrd |
Ohne dem /dev/ram0 bekomme ich die Fehlermeldung
Code: | /linuxrc has to be run as the init process as the one with a PID 1. Try adding...
VFS: Cannot open root device "sda" 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) |
Grub ->
Code: | root (hd0,0)
kernel (hd0,0)/kernel root=/dev/sda3 init=/linuxrc vga=795
initrd (hd0,0)/initrd |
Ohne dem initrd komme ich nichtmal so weit... Fehlermeldung habe ich allerdings gerade nicht zur Hand
Mit Customkernel und eigenem initrd bekomme ich die Meldung Code: | Attached scsi generic sg1 at scsi2 |
aber weiter passiert nichts (die Meldung kommt nach dem sleep (siehe unten)).
Grub ->
Code: | root (hd0,0)
kernel (hd0,0)/kernel root=/dev/sda3 splash=0 vga=795 acpi=off
initrd (hd0,0)/initrd |
linuxrc ->
Code: | #!/bin/nash
mount -t proc /proc /proc
/bin/sleep 50000
mkdevices /dev
mkrootdev /dev/root
/bin/sfdisk -R /dev/sda
echo 0x0100 > /proc/sys/kernel/real-root-dev
mount -o defaults --ro -t ext3 /dev/root /sysroot
pivot_root /sysroot /sysroot/initrd
umount /initrd/proc |
Keine Ahnung was ich noch versuchen kann... es geht einfach nicht weiter.
Vielleicht weis hier einer Rat.
fstab ->
Code: | /dev/sda1 /boot ext2 noauto,noatime 1 2
/dev/sda2 none swap sw 0 0
/dev/sda3 / ext3 noatime 0 1
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,user 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
none /proc/bus/usb usbfs defaults 0 0 |
Danke,
mC |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
|
Back to top |
|
|
MindCrawler n00b
Joined: 05 Oct 2004 Posts: 13 Location: Vienna
|
Posted: Thu Oct 07, 2004 12:36 pm Post subject: |
|
|
Danke für die Antwort. Hilft leider auch nicht.
Hab auch schon den Thread mit dem Booten vom USB Stick gelesen (Lösung dort war der Sleep Befehl)... hilft auch nicht.
Falls irgendwelche Dateien / Auszüge gebraucht werden, ist alles vorhanden.
PS: Hab auch schon den Sata Controller im Bios deaktiviert -> selbe Fehlermeldung (sowohl bei /dev/sda3, als auch bei /dev/sdb3), nämlich unknown...
LG
mC |
|
Back to top |
|
|
MindCrawler n00b
Joined: 05 Oct 2004 Posts: 13 Location: Vienna
|
Posted: Mon Oct 11, 2004 2:41 pm Post subject: |
|
|
Bin nun einen Schritt weiter bzw. zurück.
Bekomme jetzt beim booten den Fehler mount: error 16 mounting /proc und erst dann bleibt Grub nach der Meldung "attached scsi generic..." stehen. |
|
Back to top |
|
|
|
|
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
|
|