Link to home
Start Free TrialLog in
Avatar of sthay
sthayFlag for Cambodia

asked on

How to get rid of LILO menu?

Dear Experts,

RedHat 8.0 is one of my dual boot OS in addition to Win9x, and W2KPro.

NT Boot Loader is installed on my MBR while LILO was installed oh /dev/hda2. When my NTLDR starts, I could select any OS to boot as usual. Now, suppose that I select to load RH8.0, as soon as selected the menu, the LILO starts and brought up another LILO menu.

Does anybody know how to get rid of the LILO menu? I mean, as soon as I select RH8.0 to boot, I should be able to boot directly into RH without seeing any LILO menu?

Looking forward to hear back from your advice. Thanks very much in advance.

Rgds,
Sot
Avatar of lloco_lloco
lloco_lloco

Try setting timeout of lilo configuration to zero:

Edit /etc/lilo.conf and set timeout=0. Then run /sbin/lilo
That should do it.

you need a boot manager so you can load, so just edit the lino.conf and change the timeout to zero, or 1, that will do.
kinda repeated me there.
Anyway, if you set the timeout to zero, you can not use linux single anymore. So don't forget your root password.
Avatar of sthay

ASKER

Thanks for the advises. I set the timeout to zero but still it did not help. The LILO menu still appeared there await for a user to select for about 10 seconds. Any ideas?

Thanks once again.

Rgds,
Sot
did you run /sbin/lilo ?
did you run /sbin/lilo ?
did you run /sbin/lilo after configuring lilo.conf?
Avatar of sthay

ASKER

Oh yeah! I did it but it seemed not to help. After selecting to boot Linux from NTLDR menu, the LILO menu appeared for about 10 second await for user action.

Thanks.
In order to check suggestion of lloco_lloco I think you
need to read boot sector of your second partition
/dev/hda2 to some lilo.bin file and update your boot.ini
to load linux through this lilo.bin.

To read boot sector you can use WinHex disk editor:
http://www.sf-soft.de/
Avatar of sthay

ASKER

Hello Experts again. Dimitry just has contributed his advise but frankly speaking I would not make it happen unless there is a step and procedure provided. Let me attach my /etc/lilo.conf file with this email so you can see how my configuration looks like.

prompt
timeout=0
boot=/dev/hda2
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinuz-2.4.18-14
     label=linux
     initrd=/boot/initrd-2.4.18-14.img
     read-only
     append="root=LABEL=/"

other=/dev/hda1
     optional
     label=DOS


Thanks again.

Rgds,
Sot
You can set NTLDR to boot all of your operating systems. Search the PAQ's at EE because it has been posted a lot. After you have done this, you can fdisk /mbr. That will delete LILO. If NTLDR does not start, put in your XP CD and select recovery console. It will ask you what installation you want to connect to. Select your XP installation. It will then ask for an administrator pass. Put it in. Run fixmbr. Reboot.
Oops, I thought you said XP, disreguard the post above. I'm sorry all
sthay:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is to:

Be PAQ'd/Points No Refunded

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Paul
EE Cleanup Volunteer
ASKER CERTIFIED SOLUTION
Avatar of YensidMod
YensidMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial