Quantcast
Channel: Server Support Forum
Viewing all articles
Browse latest Browse all 7443

buildroot: kernel panic in virtueller Maschine

$
0
0
Hallo,

ich bin aktuell ein wenig Ratlos. Ich versuche seit mehreren Tagen ein mit buildroot erstelltes Mini-Linux-System bootbar auf eine virtuelle Festplatte zu kriegen. Es scheitert aber danach beim Starten - siehe angehängte Screenshot:
Zitat:

end kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Was ich bisher getan habe:
  1. System mit buildroot compiliert
  2. MBR auf /dev/sdb geschrieben
  3. Partition /dev/sdb1 mit ext4 erstellt (ist bootable)
  4. Partition /dev/sdb1 gemountet und /boot-Ordner erstellt
  5. extlinux nach /mnt/sdb1/boot/ installiert
  6. extlinux.conf nach /mnt/sdb1/boot/ kopiert
  7. Von der virtuellen Festplatte gebootet
  8. ...kernel panic...

Die extlinux.conf sieht aktuell so aus:
Code:

default linux
timeout 0
prompt 0

DEFAULT linux
LABEL linux
    root (hd0,0)
    KERNEL /boot/bzImage

Probiert habe ich auch:
Code:

default linux
timeout 0
prompt 0

DEFAULT linux
LABEL linux
    KERNEL /boot/bzImage
    APPEND root=/dev/sda1

und:
Code:

default linux
timeout 0
prompt 0

DEFAULT linux
LABEL linux
    KERNEL /boot/bzImage
    APPEND hd0 0

und:
Code:

default linux
timeout 0
prompt 0

DEFAULT linux
LABEL linux
    KERNEL /boot/bzImage
    APPEND mbr:0xDISK_IDENTIFIER

Keine Besserung. Meine Vermutung wäre, dass der Fehler an der extlinux.conf liegt, wo das Mounten des RootFS fehlschlägt. Die ext4-Partition scheint zu funktionieren, da der Kernel geladen werden kann und sich alles auf nur einer Partition befindet. Oder befinde ich mich damit eher am Holzweg?

Bin für jegliche Hilfe dankbar!

Viele Grüße,
Patrik

Miniaturansicht angehängter Grafiken
Klicke auf die Grafik für eine größere Ansicht

Name:	815919644_141175_13110563832828567245.jpg
Hits:	-
Größe:	30,3 KB
ID:	5688  

Viewing all articles
Browse latest Browse all 7443