LinuxQuestions.org
Register a domain and help support LQ
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 04-09-2002, 10:36 PM   #1
Rampage2884
Member
 
Registered: Mar 2002
Posts: 84

Rep: Reputation: 15
How to remove entries in the lilo boot menu?


I've updated the kernel but now lilo gives me 2 kernal options to boot from?

I removed the intries from the boot manager options in the control panel, but that didn't work.

Is there a way to remove these entries?
 
Old 04-09-2002, 11:23 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
edit your /etc/lilo.conf file accordingly..
 
Old 04-09-2002, 11:23 PM   #3
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
edit your /etc/lilo.conf file
you will see there sections such as
default=linux

image=/boot/vmlinuz-2.4.7-10
label=linux
initrd=/boot/initrd-2.4.7-10.img
read-only
root=/dev/hda1
append="hdc=ide-scsi hdd=ide-scsi mem=nopentium"

image=/boot/works_even_better
label=linux2.4.18
read-only
root=/dev/hda1
append="hdc=ide-scsi hdd=ide-scsi mem=nopentium"

Remove image= ....
so it will look like
default=linux2.4.18
image=/boot/works_even_better
label=linux2.4.18
read-only
root=/dev/hda1
append="hdc=ide-scsi hdd=ide-scsi mem=nopentium"

and rerun lilo
/sbin/lilo
that's all
Note: It is a snapshot of my lilo.conf yours will be different.

Last edited by neo77777; 04-09-2002 at 11:26 PM.
 
Old 04-09-2002, 11:29 PM   #4
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Try editing your /etc/lilo.conf file and remove the image section you don't want. Then run /sbin/lilo. If you have a ' default= ', then make sure the name that's listed matches the name in the ' label= ' line of the remaining image section. If it doesn't match, you'll get an ' image not found ' error.


I definitely have to work on my typing speed!

Last edited by linuxcool; 04-09-2002 at 11:32 PM.
 
Old 04-09-2002, 11:51 PM   #5
Rampage2884
Member
 
Registered: Mar 2002
Posts: 84

Original Poster
Rep: Reputation: 15
oh man, you guys are awesome, it worked perfectly.

Thanks again for the help
 
  


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
Can't see the LILO boot menu marc1978 Linux - General 5 11-06-2005 01:19 PM
GRUB entries in the boot-menu shankariyer Red Hat 7 12-10-2003 04:46 AM
how do you add/remove Gnome menu entries manually? randomx Linux - General 2 10-16-2003 11:06 PM
lilo and openmosix was just installed and was added to lilo boot menu but.. kublador Linux - Software 0 06-18-2003 02:59 AM
How could i remove lilo and boot the pc? whepin Linux - General 8 12-22-2001 09:36 AM


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

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration