|
if [ "${grub_platform}" == "efi" ]; then
if [ "${grub_cpu}" == "x86_64" ]; then
menuentry "WinPE UEFI x64" {
......
}
fi
if [ "${grub_cpu}" == "i386" ]; then
menuentry "WinPE UEFI x64" {
......
}
fi
else
if [ "${grub_platform}" == "pc" ]; then
if [ "${grub_cpu}" == "i386" ]; then
menuentry "WinPE UEFI x64" {
......
}
fi
else
echo "unknown platform!"
fi
fi
BCD文件改名不知道可不可以,Linux命令是 cp bcd64 bcd 、cp bcd32 bcd 或者
你可以两个pe放在不同文件夹,每个文件夹文件为:bcd、bootmgfw.efi、winpe.wim (因为bootmgfw.efi有就近原则,当前目录有bcd就读取当前目录,否则查找/EFI/microsoft/boot/bcd) |
|