|
本帖最后由 ziluopao 于 2018-5-15 17:05 编辑
输出完就是这个
再输出就是按任意键了,然后又返回启动界面
下面是grub.cfg命令
set timeout=10
insmod jpeg
if background_image ($root)/winly/background.jpg; then
true
else
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; then
clear
fi
fi
insmod gfxmenu
insmod png
set theme=($root)/winly/themes/winly/theme.txt
export theme
##########
##########
menuentry "【1】启动clover引导(如果有)" --class gnu-linux --class os {
search --no-floppy --file --set=root /efi/CLOVER/CLOVERX64.efi
chainloader /efi/CLOVER/CLOVERX64.efi
}
百度了一下grub2语法
https://blog.csdn.net/Lina_ACM/article/details/78226311
menuentry "启动EFI SHELL" {
echo "正在启动EFI SHELL,请等待...."
search --file /rdtobot/efi_file/boot/bootx64.efi --set=root
chainloader ($root)/rdtobot/efi_file/boot/bootx64.efi
} |
|