Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-29-2003, 04:28 PM   #1
Registered: Dec 2003
Posts: 235

Rep: Reputation: 30
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.
Old 12-29-2003, 06:08 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
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
timeout = 100
# Override dangerous defaults that rewrite the partition table:
# Normal VGA console
vga = normal
# Start Linux configuration
image = /boot/vmlinuz.old
root = /dev/hda3
label = Linux-2.4.22
# 2.6.0 Configuration
image = /boot/vmlinuz
root = /dev/hda3
label = Linux
# Linux bootable partition config end
Old 12-30-2003, 05:47 PM   #3
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

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


Old 12-31-2003, 11:55 AM   #4
Registered: Apr 2003
Location: Midlands, UK
Distribution: Lapwing-Linux 2009.1
Posts: 64

Rep: Reputation: 15
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

Last edited by samwwwblack; 12-31-2003 at 11:56 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgraded kernel, lilo.conf, didn't run /sbin/lilo dtashima Linux - Newbie 4 10-18-2004 12:21 PM
Slackware 10, custom 2.6.7 kernel, lilo, loads kernel very slowly entropyv Slackware 3 08-19-2004 07:06 PM
lilo doesn't see my new kernel Wally68 Linux - General 4 01-08-2004 03:02 PM
No new kernel-option in LILO after editing lilo.conf corwax Debian 3 08-26-2003 09:55 PM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 05:50 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration