LinuxQuestions.org
Visit Jeremy's Blog.
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 04-09-2002, 09: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, 10:23 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

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

Rep: Reputation: 56
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 10:26 PM.
 
Old 04-09-2002, 10: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 10:32 PM.
 
Old 04-09-2002, 10: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



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

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

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