Ask Your Question
0

how do i change default boot to windows

asked 2017-08-24 11:33:38 -0500

akshay 26 gravatar image

hi currently i have installed fedora26 and windows10 on my laptop but i want to change default boot to windows10 not fedora26 can any help me to change to boot order?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2017-08-24 12:19:30 -0500

alextheoto gravatar image

updated 2017-08-24 12:23:57 -0500

su -
mv /etc/grub.d/30_os-prober /etc/grub.d/09_os-prober
grub2-mkconfig -o /boot/grub2/grub.cfg
# or
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg # if you are on uefi system

Use tabs for auto completion to watch if your paths are correct.

edit flag offensive delete link more

Comments

It just changes order in grub menu, so it will work only until the next kernel update. After that newest kernel will be at the top of the grub menu, at least until grub2-mkconfig is run again.

ozeszty gravatar imageozeszty ( 2017-08-24 14:22:44 -0500 )edit

thanks it is now working

akshay 26 gravatar imageakshay 26 ( 2017-08-25 03:06:30 -0500 )edit
0

answered 2017-08-24 12:06:08 -0500

alextheoto gravatar image

Rename /etc/grub.d/30os-prober into 09os-prober and run grub2-mkconfig -o /boot/grub2/grub.cfg

edit flag offensive delete link more

Comments

can you please tell me step by step process because i am to linux

akshay 26 gravatar imageakshay 26 ( 2017-08-24 12:10:50 -0500 )edit
0

answered 2017-08-24 14:31:44 -0500

ozeszty gravatar image

Hi, to set it up once and not have to worry about updating settings later, you have to save the desired boot entry as default one, follow instructions in Fedora wiki: https://fedoraproject.org/wiki/GRUB2#Settingdefault_entry

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-08-24 11:33:38 -0500

Seen: 1,256 times

Last updated: Aug 24 '17