|
本帖最后由 parsons 于 2017-1-12 14:20 编辑
grub2的ISO启动菜单因 [grub2.efi 生成選項] [品牌] [ISO放的位置] 而不一
grub2.efi 生成選項 mod 都內置:
menuentry "Ubuntu efi" {
set isofile="/casper/ubuntu-16.04-desktop-amd64.iso"
loopback loop $isofile
linux (loop)/vmlinuz.efi boot=casper iso-scan/filename=$isofile liveimg noprompt noeject quiet splash --
initrd (loop)/initrd.lz
}
menuentry "Windows efi" --class windows --class os {
search --no-floppy --set=root -f /EFI/Microsoft/boot/bootmgfw.efi
chainloader (${root})/EFI/Microsoft/boot/bootmgfw.efi
}
menuentry "Fatdog efi" {
loopback loop0 (hd0,msdos1)/Fatdog64-710.iso
linux (loop0)/vmlinuz
initrd (loop0)/initrd
}
|
|