|
本帖最后由 sunyu4506 于 2017-10-12 18:46 编辑
也不知道是不是生成文件的代码有问题
grub-mkimage.exe -d x86_64-efi -c x86_64-efi.cfg -p /boot/grub -o Bootx64.efi -O x86_64-efi part_gpt part_msdos disk fat exfat ext2 ntfs xfs appleldr hfs iso9660 normal reiserfs font search 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 all_video
x86_64-efi.cfg文件
- search.file /boot/grub/grub.cfg root
- set prefix=($root)/boot/grub
- configfile ($root)/boot/grub/grub.cfg
复制代码
代码
|
|