|
本帖最后由 fanlu 于 2018-9-10 10:49 编辑
新手GRUB2求助大神
set timeout=90
set default=0
debug 0
set menu_color_normal=yellow/blue
set menu_color_highlight=yellow/red
menuentry "[01] UEFI Rescue Windows 8.1 Environment X64 >" --hotkey=1 {chainloader /efi/boot/WinPEx64.efi}
menuentry "[02] UEFI PassMark MemTest86 v5.0 X64 >" --hotkey=2 {chainloader /efi/boot/memtestx64.efi}
menuentry "[03] UEFI Symantec Ghost For Linux X64 >" --hotkey=3 {chainloader /efi/boot/gparted.efi ghost}
menuentry "[04] UEFI SliTaz Linux X64 >" --hotkey=4 {chainloader /efi/boot/minilinux.efi}
menuentry "[05] UEFI Grub2-FileManager X64 >" --hotkey=5 {chainloader /efi/grub2-filemanager/grubfmx64.efi}
menuentry "[06] UEFI Acronis True Image X64 >" --hotkey=6 {chainloader /efi/boot/Recovery.efi}
if [ ${grub_platform} = efi ] ;then
if [ ${grub_cpu} = x86_64 ] ;then
menuentry "[07] UEFI Microsoft Windows X64 >" --hotkey=7 {chainloader /efi/boot/bmgr64.efi}
else
menuentry "[07] UEFI Microsoft Windows X86 >" --hotkey=7 {chainloader /efi/boot/bmgr32.efi}
fi
else
menuentry "[07] MBR Microsoft Windows BIOS >" --hotkey=7 {ntldr /bootmgr}
fi
菜单如上所示 菜单01 和07 用EFI启动 默认启动的都是efi\MICROSOFT\BOOT\BCD这个文件
有没有办法可以隔开 分2个不同的BCD 启动EFI. |
|