menuentry 'Windows PE' {
set root='(hd0,msdos1)'
echo 'Loading Memdisk...'
linux16 /boot/memdisk iso raw
echo 'Loading ISO...'
initrd16 /isos/Win7PE.iso
}
menuentry "Ubuntu-14.04.1-desktop-i386" --unrestricted {
loopback loop0 (hd0,1)/isos/Ubuntu-14.04.1-desktop-i386.iso
set root=(loop0)
linux /casper/vmlinuz boot=casper iso-scan/filename=/isos/Ubuntu-14.04.1-desktop-i386.iso ro locale=zh_CN.UTF-8
initrd /casper/initrd.lz
}
作者: 1813221475 时间: 2015-7-17 22:53
来个高手,帮帮忙!作者: 2012列兵 时间: 2015-7-23 17:58
if [ -e ($root)/UsbZL_v2.1.iso ]; then
menuentry "load UsbZL_v2.1.iso" {
linux16 /memdisk.gz iso raw ;
initrd16 /UsbZL_v2.1.iso
}
fi作者: yuqiaopeng 时间: 2018-11-23 21:55
链接失效了,能发一下我邮箱2313222378@qq.com,谢谢!