I'm having some trouble trying to compile the 2.6.8.1 kernel on my slackware box, it seems to compile ok etc. then i copy the image to the /boot ,then appropriate changes to my lilo.conf...
anyway when I try to boot with the new kernel i get the following error:
Quote:
Cannot open root device "342" or unknown -block (3,66)
please append a correct "root=" boot option
Kernel panic :VFS: Unable to mount root fs on unknown -block (3,66)
|
I thought it might be a problem with my bootloader (lilo) and I added the line append = "root=/dev/hdb" to my lilo.conf, my lilo.conf currently looks like this:
Code:
# Start LILO global section
boot = /dev/hda
#compact # faster, but won't work on all systems.
prompt
timeout = 300
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Windows bootable partition config begins
other = /dev/hda1
label = Windows
table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz.old
root = /dev/hdb2
label = Slackware
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
#linux bootable partition config begins
image = /boot/vmlinuz
append = "root=/dev/hdb"
root = /dev/hdb2
label = Slack-2.6.8.1
read-only
#end config
I was told that it could be a problem with line 468 of my Makefile, which is commented by default, that doesn't seem to be the problem though.
Code:
export INSTALL_PATH=/boot
Does anybody know how to fix this problem, thanks
edit: I forgot to mention, i'm upgrading from the 2.4.26 kernel