LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-29-2003, 03:28 PM   #1
kemplej
Member
 
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, 05:08 PM   #2
trickykid
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
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
 
Old 12-30-2003, 04:47 PM   #3
jharris
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.

cheers

Jamie...
 
Old 12-31-2003, 10:55 AM   #4
samwwwblack
Member
 
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 10:56 AM.
 
  


Reply


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 11:21 AM
Slackware 10, custom 2.6.7 kernel, lilo, loads kernel very slowly entropyv Slackware 3 08-19-2004 06:06 PM
lilo doesn't see my new kernel Wally68 Linux - General 4 01-08-2004 02:02 PM
No new kernel-option in LILO after editing lilo.conf corwax Debian 3 08-26-2003 08:55 PM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 04:50 PM


All times are GMT -5. The time now is 02:29 PM.

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