Remove grub2 menu entries

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Remove grub2 menu entries

Postby ionmich on Sat Aug 18, 2012 5:42 am

Linux Mint 13 64bit KDE

The starting grub2 boot ḿenu presents me with several choices that are no longer usable. The /boot/grub/grub.cfg file tells me "DO NOT EDIT THIS FILE". kde-config-grub2 does not offer a "remove" option. Is there a way I can delete the confusing entries?

Thanks.
Linux Mint 13 64bit KDE
ionmich
Level 1
Level 1
 
Posts: 5
Joined: Tue May 18, 2010 4:33 pm

Linux Mint is funded by ads and donations.
 

Re: Remove grub2 menu entries

Postby cwsnyder on Sat Aug 18, 2012 6:15 am

All GRUB entries which exist after an update-grub command has been executed are there because there is still a copy of at least the boot files for that entry somewhere on your computer.

You can remove old versions of the kernel (which you can verify by looking in /boot) with Synaptic by searching for the kernel version, then doing a remove. Ubuntu Tweak used to have (and may still have) a way to remove old, unused kernels, also. I can't verify as I use LMDE.
LMDE Mate 64-bit, LM16 Mate 64-bit
Debian Xfce 64-bit, Xubuntu 13.10 64-bit, Xubuntu Trusty Tahr 64-bit, Antergos Xfce 64-bit, PCLinuxOS LXDE 64-bit
cwsnyder
Level 6
Level 6
 
Posts: 1039
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: Remove grub2 menu entries

Postby TimeMint on Mon Oct 14, 2013 6:37 pm

Thank you!

My computer doesn't have UEFI, but for some reason Grub2 on Linux Mint 15 set the default linux entry to be the ".efi.signed" image (which doesn't work at all). I've been searching all over these forums (and read Grub2 tutorials) but when it comes to UEFI everyone has the opposite problem of me, and the tutorials only tell me how to add new entries or change the ordering. Just moving efi.signed kernel out of the way and re-running update-grub seems to have done it. Finally!
TimeMint
Level 1
Level 1
 
Posts: 2
Joined: Mon Jun 18, 2012 9:09 am


Return to Installation & Boot

Who is online

Users browsing this forum: BenTrabetere and 20 guests