URL: https://www.overclockers.at/linux/kernel_problem_117979/page_1 - zur Vollversion wechseln!
Um gleich zur Sache zu kommen - Auf meinem Laptop (Gericom Webgine) ist derzeit Debian woody installier (Kernel 2.2.20) -> Installation hat nur mit dem boot prompt 'vanilla' funktioniert - kA wieso.
Nun ja, nachdem 2.2.20 schon recht alt ist, wollt ich selbst nen kernel backen - von kernel.org linux 2.6.4.tar.gz gesaugt, entpackt und nach längerem warten ein bzImage erstellt und alles in lilo eingetragen.
Nach einem reboot und versuch den neuen Kernel zu starten kommt es zu einem kernel panic mit folgenden Argumenten:
ZitatVFS: Cannot open root device "303" or unknown-block(3,3)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(3,3)
Code:1024mb -> Swap Partition -> Swap 200mb -> /boot -> /dev/hda2 -> ext2 ~300mb -> / -> /dev/hda3 -> ext2 8gb -> /home -> /dev/hda4 -> ext2
Zitatmake menuconfig -> make dep (Ausgabe = make dep is unnecesary now) -> make clean -> make bzImage -> make bzlilo

wie schaut deine bootmanager config aus (lilo.conf!?)?Zitat von TroyNach einem reboot und versuch den neuen Kernel zu starten kommt es zu einem kernel panic mit folgenden Argumenten:

Das /dev/hda3 musst du mit root= in /etc/lilo.conf eintragen.
zeig uns mal deine lilo und fstab config.
1. module-init-tools installiert? woody port bekommst du bei backports.org
2. bau den kernel nach debian art => channel.debian.de/faq
3. läuft der befehl "lilo" fehlerfrei durch?
das wichtigste (imho) hier:
lilo.conf
Zitat# Kernel command line options that apply to all installed images go
# here. See: The `boot-prompt-HOWO' and `kernel-parameters.txt' in
# the Linux kernel `Documentation' directory.
#
# append=""
# Boot up Linux by default.
#
default=Linux
image=/vmlinuz
label=Linux
root=/dev/hda3
read-only
# restricted
# alias=1
image=/vmlinuz.old
label=LinuxOLD
root=/dev/hda3
read-only
optional
# restricted
# alias=2
# If you have another OS on this machine to boot, you can uncomment the
# following lines, changing the device name on the `other' line to
# where your other OS' partition is.
#
# other=/dev/hda4
# label=HURD
# restricted
# alias=3
other=/dev/hda1
label="Other(hda1)"

Dieser Fehler kommt normalerweise wenn der initrd Eintrag fehlt.
Hier ein lilo.conf Eintrag direkt von einen meiner Server:
Zitatimage=/boot/vmlinuz-2.4.26-1-686
label=Debian
# root=/dev/hda3
initrd=/boot/initrd.img-2.4.26-1-686
read-only
append="panic=30"
overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2026