LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   lilo vs grub (https://www.linuxquestions.org/questions/linux-newbie-8/lilo-vs-grub-226061/)

nelsonnery 09-03-2004 05:09 AM

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

comprookie2000 09-03-2004 08:19 AM

If you have lilo installed to the mbr should be boot=/dev/hda

nelsonnery 09-03-2004 09:36 AM

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

comprookie2000 09-03-2004 10:49 AM

Looks like you have grub installed to the mbr and lilo to hda7 you need to pick one not mix and match.

egag 09-03-2004 11:02 AM

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

egag

nelsonnery 09-09-2004 11:08 AM

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


All times are GMT -5. The time now is 03:04 PM.