[root@localhost ~]# cat grub/grub.cfg
set default="1"
loadfont unicode
insmod efi_gop
insmod efi_uga
insmod video_bochs
insmod video_cirrus
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
set timeout=60
menuentry 'Install CentOS Linux 8' {
linux /images/pxeboot/vmlinuz ---
initrd /images/pxeboot/initrd.img
}
submenu 'Troubleshooting -->' {
menuentry 'Install CentOS Linux 8 in basic graphics mode' {
linux /images/pxeboot/vmlinuz nomodeset ---
initrd /images/pxeboot/initrd.img
}
menuentry 'Rescue a CentOS Linux system' {
linux /images/pxeboot/vmlinuz inst.rescue ---
initrd /images/pxeboot/initrd.img
}
}
上面的grub配置哪里有问题?grub启动的时候报了一个"}"command not found 的错误,但是还是可以进入引导界面和操作系统。