Change boot order in Fedora 18

In continuation to our articles we tried to analyse dual boot OS scenario where Windows 7 and Fedora 18 are used. Similar to Fedora 17 here also Fedora is default OS. grub2 is default boot manager in case of Fedora 18 also. To change and make Windows 7 your default OS in boot sequence, follow below steps.

This Guide applies to Fedora 18

1. Run below command to locate menu entry for Windows OS. Open terminal log in to root and run
cat /boot/grub2/grub.cfg |grep Windows
Output of this command will be
menuentry “Windows 7 (loader) (on /dev/sda1)” ………………………………………………

2. Make Windows as default menuentry. Run below command

grub2-set-default “Windows 7 (loader) (on /dev/sda1)”


3. Update grub.cfg. Run command
grub2-mkconfig -o /boot/grub2/grub.cfg

4. Reboot your PC. type

init 6

Now you will boot into Windows which is your default OS.

  • jammin

    I get the following error msg: “no such file or directory” after Step 1. Run below command to locate menu entry for Windows OS. Open terminal log in to root and run

    cat /boot/grub2/grub.cfg |grep Windows

  • infojinx

    At time of booting up when grub menu for OS selection is presented how is you windows OS referred to ?