PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : eigener Kernel, gleiche Einstellungen wie bei Knoppix -> kernel panix


knoppix hd-install
2003-10-07, 17:47:45
kmod: failed to exec /sbin/modprobe -s -k block-major-8 errno=2
VFS: Cannot open root device "811" or 08:11
Please append a correct "root=" boot option
kernel panic: VFS: unable to mount root from 08:11
Ich habe den unmodifizierten 2.4.22 genommen und einfach die .config von Knoppix (2.4.20-xfs) übernommen.
Meine lilo.conf: (Auszug)
boot=/dev/sda
map=/boot/map
append="apm=power-off nomce"
image=/boot/vmlinuz-2.4.20-xfs
label="Linux"
root=/dev/sdb1
initrd=/boot/initrd.gz
read-only
# restricted
# alias=1

image=/boot/vmlinuz-2.4.22
label="LinuxNEW"
root=/dev/sdb1
# initrd=/boot/initrd.gz
read-only
# restricted
# alias=3Linux geht, LinuxNEW nicht :(.

knoppix hd-install
2003-10-07, 17:52:46
Den Kernel habe ich nach folgender Anleitung installiert:<entpacken>
rm -f /usr/src/linux
ln -s linux-2.4.22 /usr/src/linux
cd /usr/src
make
dpkg -i kernel-image-2.4.22_10.00.Custom_i386.deb
dpkg -i kernel-headers-2.4.22_10.00.Custom_i386.deb


/vmlinuz -> /boot/vmlinuz-2.4.22
/vmlinuz.old -> /boot/vmlinuz-2.4.20-xfs
/boot/System.map -> /boot/System.map-2.4.22
/boot/vmlinuz -> /boot/vmlinuz-2.4.22

/boot/System.map-2.4.20-xfs und /boot/initrd.gz gibt es

Harleckin
2003-10-07, 17:53:42
Lass mich raten, du hast die Unterstützung des Dateisystem auf der Rootpartition ("/dev/sdb1") als Modul im Kernel?!
Folglich musst du mit 'mkinitrd' arbeiten und eine Image ("initrd.img") ersteller.
ODER du kompilierst die Unterstützung fest in den Kernel, was eigentlich logischer ist.

knoppix hd-install
2003-10-07, 18:11:47
Ext3. Ist wahrscheinlich ein Modul (Knoppix), ich wollte erst mal den Kernel antesten, bevor ich die Optionen ändere.
Muss ich jetzt einfach make xconfig und dann /usr/src/make... machen?

Vielmals Danke schonmal!

Harleckin
2003-10-07, 19:42:03
'cd /usr/src/linux'
'make menuconfig'
..anstelle von "M" -> "*" vor "ext3 Support" einstellen
'make dep clean bzImage modules modules_install'

usw., siehe FAQ - Kernel Kompilieren