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
4 Answers
The file you need is /etc/default/grub
and run sudo update-grub
after you've made your changes.
-
Or just
/boot/grub/grub.cfg
, that's the file that gets generated when you runupdate-grub
. Anyway, your way indeed is better as otherwise yourgrub.cfg
would be reset every timeupdate-grub
is used.– RobinJJun 22, 2011 at 16:48
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.
Spy on this, please: Grub-Customizer (How to fix your dual-boot in case you miss the right boot option)
/boot/grub/grub.cfg
, but unless you provide more details, it's difficult to give you advise.