Hello, everytime I update my Ubuntu kernel, another entry is created on GRUB. How should I go about removing some entries? I think I can edit the menu.lst file and remove them, but I want to make sure I do it right.
## ## End Default Options ##
title Ubuntu, kernel 2.6.15-26-686
root (hd0,2)
kernel /boot/vmlinuz-2.6.15-26-686 root=/dev/sda3 ro quiet splash
initrd /boot/initrd.img-2.6.15-26-686
savedefault
boot
title Ubuntu, kernel 2.6.15-26-686 (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.15-26-686 root=/dev/sda3 ro single
initrd /boot/initrd.img-2.6.15-26-686
boot
title Ubuntu, kernel 2.6.15-26-386
root (hd0,2)
kernel /boot/vmlinuz-2.6.15-26-386 root=/dev/sda3 ro quiet splash
initrd /boot/initrd.img-2.6.15-26-386
savedefault
boot
title Ubuntu, kernel 2.6.15-26-386 (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.15-26-386 root=/dev/sda3 ro single
initrd /boot/initrd.img-2.6.15-26-386
boot
title Ubuntu, kernel 2.6.15-23-386
root (hd0,2)
kernel /boot/vmlinuz-2.6.15-23-386 root=/dev/sda3 ro quiet splash
initrd /boot/initrd.img-2.6.15-23-386
savedefault
boot
title Ubuntu, kernel 2.6.15-23-386 (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.15-23-386 root=/dev/sda3 ro single
initrd /boot/initrd.img-2.6.15-23-386
boot
title Ubuntu, memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
I want to remove the 386 ones, leaving 686 and memtest.
Page 1 of 1
Removing GRUB Entries
#2
Posted 20 July 2006 - 04:40 AM
In Ubuntu, you can manually remove the Grub entriee, but this still leaves the actual older kernel-image instact on your system. Best to follow the suggestions noted on [url=http://www.linuxquestions.org/questions/showthread.php?t=457013] this thread] to do so.
But, make sure that your current (new) kernel is working properly first!
The older kernel entries are left there for a reson, if the new kernel fails for some reason, you have a fallback.
If you want to still manually edit the menu.lst file, I think the correct terminal command would be;
gksudo gedit /boot/grub/menu.lst as root user.
But, make sure that your current (new) kernel is working properly first!
The older kernel entries are left there for a reson, if the new kernel fails for some reason, you have a fallback.
If you want to still manually edit the menu.lst file, I think the correct terminal command would be;
gksudo gedit /boot/grub/menu.lst as root user.
#3
Posted 20 July 2006 - 07:49 AM
Does uninstalling the kernel from Synaptic remove the entry from GRUB as well?
[Edited by DetroitBaseball on 2006-07-20 02:07:02]
[Edited by DetroitBaseball on 2006-07-20 02:07:02]
Share this topic:
Page 1 of 1

Help










