重新制作 grub.efi
UEFI 启动环境的制作
compile.cfg 文件内容如下:
==================================
search.file /grub/grub.cfg root
set prefix=($root)/grub
configfile ($root)/grub/grub.cfg
==================================
# grub-mkimage -c compile.cfg \
-p /grub -o Grubx64.efi \
-O x86_64-efi \
part_gpt part_msdos disk \
fat exfat ext2 ntfs iso9660 \
normal search_fs_file configfile \
linux linux16 chain loopback \
echo efi_gop efi_uga \
video_bochs \
video_cirrus \
file \
gfxmenu gfxterm gfxterm_background gfxterm_menu \
halt reboot help \
jpeg ls png \
true test search