How to Change the boot order in grub2 RHEL / CentOS 7

14. January 2016 RHEL, SysAdmin 0

Issue

  • How to change the boot order in RHEL 7 / CentOS 7 / OEL 7
  • How to set default boot to windows on Dual boot on the above environments.

Solution

In boot menu, the number starts with 0, so the 3rd selection will have the number 2.

  • so to set the 3rd kernel in list as default, run the below command as root.

[sociallocker]grub2-set-default 2
[/sociallocker]

  • reboot the system, and the 3rd grub menu will be selected now by default
0 0 votes
Article Rating

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments