Two kernels, two different panics
While experimenting with kernels and lilo, I got myself into the position of having two kernels panicking differently at boot.
The old 2.2.19 install kernel panics without me being able to see any strange line passing the screen:
VFS: Cannot open root device 00:00
Kernel panic: VFS: Unable to mount root fs on 00:00
The new 2.4.18 kernel panics giving some stranges lines before:
1) modprobe: Can't locate module *
2) [insmod:] Note: /etc/modules.conf is more recent
than /lib/modules/2.4.18-386/modules.dep
3) mount: /dev2/root is not a valid block device
4) warning: can't open /etc/mtab: No such file or directory
5) pivot_root: No such file or directory
6) /sbin/init: cannot open dev/console: no such file
7) Kernel panic: Attempted to kill init!
lines 2 and 3 appeared often. Lines 4,5,6 and 7 appear as direct sequence.
The first fail reboot occurred when got rid of commented lines in lilo, and start using compact and a different delay.
Using rescue and boot flops, I tried to regain lilo.conf and run it with chroot, but changes don't seem to have effect, since the 2.4.18 kernel is started at reboot. Also the results of lilo and the appearance of mtab seem to be dependent on the kernel I use.
Current lilo.conf:
lba32
boot=/dev/hda
install=/boot/boot.d
map=/boot/map
delay=20
vga=normal
default=LinuxOLD
image=/vmlinuz
initrd=/initrd.img
label=Linux
read-only
image=/vmlinuz.old
label=LinuxOLD
read-only
optional
I hope I have given enough info to make someone able to tell me what's going wrong here.
Gilion
|