How to remove GRUB selection?

I was trying to find /boot/grub/menu.lst OR /boot/grub/device.map as usual on Ubuntu Desktop or other versions to change the GRUB selection, but there is no file munu.lst or device.map in the grub directory. Where can I find GRUB's configuration file? to modify the grub selection


Solution 1:

The file you need is /etc/default/grub and run sudo update-grub after you've made your changes.

Solution 2:

You can also try GRUB Customizer if you'd like to work w/ a GUI.

Solution 3:

sidenote : Ubuntu 10.10 will keep grub-legacy if you upgrade from a previous ubuntu distribution but install by default grub2 otherwise. https://help.ubuntu.com/community/Grub2 has information about both upgrading grub-legacy -> grub2 and reverting grub2 -> grub-legacy if you happen to experience problems with the new approach.

otherwise, yeah. /etc/default/grub is the place where you now need to check. Note that the "automagic options" system has completely changed, too.

HTH.