I have win 7 and linux mint 14 installed. Is it possible to modify the
GRUB Menu to show
Windows as the first option instead of
Linux, which it currently does. Mainly so that during boot it starts Windows by default.
If the order of your boot menu is important (and not just that Windows boots by default), and you don't have anything bootable besides Linux Mint and Windows (like OSX, BSD) you can do:
as the alphabetical order of the files in
If you just want to have Windows boot you can also change
There is third alternative you might want to consider, and which I myself prefer. This is to to change your
¹ I tended to forget the name of the
It is pretty simple , first you have to locate the grub.cfg file, in Ubuntu it will be under /boot/grub/grub.cfg, make sure you take a back up of this file before editing.
Open the file with any text editor of your choice in sudo mode, eg sudo vi path/grug.cfg
In this file there will be menu entries , which represents each item in the boot menu. Find the menu entry corresponding to windows - note a menu entry is a set of lines.
Find a line called GRUB_DEFAULT. Now there are two ways of doing this. 1)change the value of GRUB_DEFAULT to corresponding position of windows menu item like 0 , 1 or what ever it is. 2)or cut paste the windows menu item to the corresponding position of the current value in grub_default.
CAUTION : Don't corrupt this file, if something goes wrong , replace this file with the backup.