How do I remove unwanted entries in linux mint boot loader?

link|improve this question

68% accept rate
Which version of Mint are you using and which version of the grub boot loader? – Pulse Jul 2 '10 at 7:50
linux mint 9. And the default boot loader for it. I installed it through wubi – soul Jul 2 '10 at 11:35
feedback

2 Answers

The proper way is to modify the /etc/default/grub configuration. The cheap way is to modify grub.cfg but it will be overwritten at some arbitrary future package upgrade or install and the entries you don't want will magically reappear.

link|improve this answer
feedback

If your unwanted entries are for older versions of the Linux kernel, after new ones have been installed by the package update, you can manually remove the packages for those old versions.

For example, after an upgrade to 2.6.28-18, my machine still had a pair of references to 2.6.28-11 in the boot loader. I removed them by executing:

sudo aptitude remove linux-image-2.6.28-11-generic

Other entries will have to be removed by hand from the grub configuration files.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.