LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-03-2004, 05:09 AM   #1
nelsonnery
Member
 
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57

Rep: Reputation: 15
lilo vs grub


Hi there!

I have the following problem:

Whenever I have grub as boot loader, the system boots up fine, no problems
at all.
If I use lilo as the boot loader, it hangs when it says "Checking root
filesystem".

I don't think I need to post any details about my partitions, since all the information is in
config files which I send attached.

Any idea why it's behaving like this?

Many thanks,

NELSON



lilo.con

# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

boot=/dev/hda7
map=/boot/System.map
vga=normal
default="Windows_XP"
keytable=/boot/uk.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
other=/dev/hda1
label="Windows_XP"
table=/dev/hda
image=/boot/vmlinuz
label="linux"
root=/dev/hda7
initrd=/boot/initrd.img
append="devfs=mount acpi=ht resume=/dev/hda8 splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda7
initrd=/boot/initrd.img
append="devfs=mount splash=silent acpi=ht resume=/dev/hda8"
read-only
image=/boot/vmlinuz-2.6.3-7mdk
label="263-7"
root=/dev/hda7
initrd=/boot/initrd-2.6.3-7mdk.img
append="devfs=mount acpi=ht resume=/dev/hda8 splash=silent noauto"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda7
initrd=/boot/initrd.img
append="failsafe splash=silent acpi=ht resume=/dev/hda8
devfs=nomount"
read-only


grug menu.lst

timeout 10
color black/cyan yellow/cyan
default 0

title Windows XP
root (hd0,0)
chainloader +1

title Linux-2.6.3-7mdk
kernel (hd0,6)/boot/vmlinuz root=/dev/hda7 devfs=mount resume=/dev/hda8
psmouse.proto=imps splash=silent vga=788
initrd (hd0,6)/boot/initrd.img

title Linux-nonfb-2.6.3-7mdk
kernel (hd0,6)/boot/vmlinuz root=/dev/hda7 devfs=mount splash=silent
resume=/dev/hda8 psmouse.proto=imps
initrd (hd0,6)/boot/initrd.img

title failsafe
kernel (hd0,6)/boot/vmlinuz root=/dev/hda7 failsafe splash=silent
resume=/dev/hda8 devfs=nomount
initrd (hd0,6)/boot/initrd.img
 
Old 09-03-2004, 08:19 AM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
If you have lilo installed to the mbr should be boot=/dev/hda
 
Old 09-03-2004, 09:36 AM   #3
nelsonnery
Member
 
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57

Original Poster
Rep: Reputation: 15
I think I have it installed on th MBR.

When I installed it I did "/sbin/lilo /dev/hda"

I changed what you told me to and it still hangs in the same place.

It founds the init file and all that and it hangs when it says "Checking root filesystem".
I really don't understand what the problem may be, because with grub it starts up with no problems.

That's why I sent both config files, because the one from grub makes it work.

Any more ideas?

I thank you for your time and help.

NELSON
 
Old 09-03-2004, 10:49 AM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Looks like you have grub installed to the mbr and lilo to hda7 you need to pick one not mix and match.
 
Old 09-03-2004, 11:02 AM   #5
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
maybe , if you comment-out the 'nowarn' line in lilo.conf , you get an error-message
before it hangs.....

egag
 
Old 09-09-2004, 11:08 AM   #6
nelsonnery
Member
 
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57

Original Poster
Rep: Reputation: 15
Thanks everyone for all the help.

It was actually something related with my USB filesystem, but I got it sorted.

Everything's working now.

Cheers,

NELSON
 
  


Reply



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
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 09:37 PM
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 01:15 PM
LILO or GRUB linuxnoobhelp Linux - General 6 12-07-2004 01:01 AM
Lilo vs Grub - PROBLEM with lilo nelsonnery Linux - Software 2 09-09-2004 11:09 AM
Grub or Lilo better ? futurist Linux - Newbie 4 03-16-2003 10:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:39 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
Open Source Consulting | Domain Registration