change default boot target with grub2 in centos7 Posted on September 4, 2014 by bentoslack grep ^menuentry /boot/grub2/grub.cfg | cut -d "'" -f2 grub2-set-default grub2-editenv list grub2-mkconfig -o /boot/grub2/grub.cfg