grub2-mkconfig -o /boot/grub2/grub.cfg
#vim /boot/grub2/grub.cfg
menuentry 'Red Hat Enterprise Linux Server, with Linux 0-rescue-34786823d5874692b83de2451c506780' --class red --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-34786823d5874692b83de2451c506780-advanced-0ab9721b-0a35-47a0-894e-20a82df30ab2' {
load_video
insmod gzio
insmod part_msdos
insmod xfs
set root='hd0,msdos9'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9 --hint='hd0,msdos9' 1cbbd1bc-1f5b-4fde-bc01-fc5a207ceab6
else
search --no-floppy --fs-uuid --set=root 1cbbd1bc-1f5b-4fde-bc01-fc5a207ceab6
fi
linux16 /vmlinuz-0-rescue-34786823d5874692b83de2451c506780 root=UUID=0ab9721b-0a35-47a0-894e-20a82df30ab2 ro rd.lvm.lv=rhel/root crashkernel=auto rd.lvm.lv=rhel/swap vconsole.font=latarcyrheb-sun16 vconsole.keymap=us rhgb quiet
initrd16 /initramfs-0-rescue-34786823d5874692b83de2451c506780.img
}
加入下面這些
}
<span style=\"\\"color:\">