Change boot order in Grub 2 Dual boot Fedora 20

In Past we have shown how to change boot order in dual boot OS scenario where Windows 7 and Fedora 18 are used. grub2 is  latest default boot manager in case of Fedora 20. To change and make Windows 7 your default OS in boot sequence, follow below steps.

This Guide applies to Fedora 20

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 menu entry in Grub. Run below command

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

3. Update grub configuration – 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.

  • egido03

    Good….!!
    I have sucess this way.
    my case …
    grub2-set-default 2
    grub2-mkconfig -o /boot/grub2/grub.cfg
    third is windows7 and type 2 (grub2-set-default 2)
    and reboot
    thank you….