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? |
edit your /etc/lilo.conf file accordingly..
|
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. |
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! :D |
oh man, you guys are awesome, it worked perfectly.
Thanks again for the help :) :) :) |
All times are GMT -5. The time now is 12:54 AM. |