CentOS GRUB2 修改開機預設
1.Switch to root and show options at booting $ su - $ awk -F\' '$1=="menuentry" {print $i++" : " $2}' /etc/grub2-efi.cfg or $ grep "^menuentry" /etc/grub2-efi.cfg | cut -d "'" -f2 (figure 1) 2. check saved entry at /etc/grub2.cfg $ grub2-editenv list 3. set default, the first index is 0, if you want to change to second core $ grub2-set-default 1 參考資料 https://wiki.centos.org/zh-tw/HowTos/Grub2