Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question
4  
I can't follow what exactly you are trying to remove, but you are using GRUB2, not GRUB. Its configuration file is /boot/grub/grub.cfg, but unless you provide more details, it's difficult to give you advise. –  htorque Feb 9 '11 at 10:00
add comment

4 Answers 4

up vote 3 down vote accepted

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

share|improve this answer
    
Or just /boot/grub/grub.cfg, that's the file that gets generated when you run update-grub. Anyway, your way indeed is better as otherwise your grub.cfg would be reset every time update-grub is used. –  RobinJ Jun 22 '11 at 16:48
add comment

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

share|improve this answer
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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