LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   LILO on 2.6.0 KERNEL (https://www.linuxquestions.org/questions/linux-software-2/lilo-on-2-6-0-kernel-129855/)

kemplej 12-29-2003 03:28 PM

LILO on 2.6.0 KERNEL
 
Ok can someone paste examples of their /etc/lilo.conf on the 2.6.0 kernel. I compiled it fine but no matter what I put in I get VFS error Kernel Panic cant mount root on hda2.

trickykid 12-29-2003 05:08 PM

I don't know how my or any other lilo.conf files are going to help you since they can all differ from system to system.

But here is mine that is a working one on a Slackware system and my root partition is actually on hda3:

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
default = Linux
message = /boot/boot_message.txt
prompt
timeout = 100
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Normal VGA console
vga = normal
# Start Linux configuration
image = /boot/vmlinuz.old
root = /dev/hda3
label = Linux-2.4.22
read-only
# 2.6.0 Configuration
image = /boot/vmlinuz
root = /dev/hda3
label = Linux
read-only
# Linux bootable partition config end

jharris 12-30-2003 04:47 PM

My lilo.conf stayed exactly the same. Sounds to me like you are either not including support for you disk type, or file system.

cheers

Jamie...

samwwwblack 12-31-2003 10:55 AM

If you compiled your kernel incorrectly as jharris said it wont load - I ran into the same trouble as I'd compiled the Reiser-FS support as modules rather than into the kernel itself, creating the VFS error.

Recompile the kernel and check the file system support is correct for yours (eg resiserfs) and is built into the kernel ( which is designated by a * rather than an M in menuconfig ).

Best Regards,

Sam Black


All times are GMT -5. The time now is 12:55 AM.