SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hey, I just compiled and installed kernel 2.6.16-2 and when i went to reboot and start it up lilo just goes blank and nothing happens. Thats fair enough, i assumed i must have messed up something silly in my .config file so i decided i'd just reboot in my old 2.4 kernel and sort it out. I rebooted and when i selected my 2.4 kernel i got this
Code:
VFS: Cannot open root device "301" or unknown block (3,1)
Please apppend correct "root=" boot option
Kernel panic - not synching - VFS could not mount root fs on (3,1)
I assumed i'd screwed up my lilo.conf so i set it back to what it was before and re-ran lilo. Im still getting the same thing though and its a bit frustrating. Everything is now the exact same as it was before my attempted kernel upgrade. Here is my lilo.conf
Quote:
LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 100
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# 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
# End LILO global section
# Windows bootable partition config begins
other = /dev/hda3
label = Windows
table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz root = /dev/hda1
label = Linux
read-only
Quote:
Device Boot Start End Blocks Id System /dev/hda1 1 764 6136798+ 83 Linux
/dev/hda2 765 4728 31840830 5 Extended
/dev/hda3 * 4729 9728 40162500 7 HPFS/NTFS
/dev/hda5 765 904 1124518+ 82 Linux swap
/dev/hda6 905 4728 30716248+ 83 Linux
Why is /dev/hda1 not marked as being bootable? Also, can you actually boot Windows from LILO like it's configured now? What version of Windows are you booting?
I'm around 99% sure that this was caused by make install, which you did. It removed ide-2.4 line and added vmlinuz line after copying bzImage into /boot/vmlinuz. Then you added your 2.6 kernel normal way.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.