|
grubfm启动 iso:
目录结构:EFI分区根目录/boot/grubfm/config config不是目录 是文件
/boot/grubfm/grub.cfg
/boot/grubfm/grubfmx64.efi
config文件:
configfile (hd2,gpt1)/boot/grubfm/grub.cfg ##(hd2,gpt1)分区改成grubfm所在分区
grub.cfg文件:
loadfont ${prefix}/fonts/unicode.xz;
source ${prefix}/lang.sh;
set default=0
set timeout=30
menuentry "启动 iso-w1.iso" --class wim {
search -f /w1.iso -s root;
set grubfm_file=($root)/w1.iso
configfile ${prefix}/rules/iso/map.sh
}
|
|