GRUB2的commandline:
set isofile="/deepin-15-alpha2-amd64.iso" search --file $isofile --set=root loopback loop $isofile linux (loop)/live/vmlinuz.efi boot=live union=overlay username=user quiet live-config findiso=$isofile locales=zh_CN.UTF-8 initrd (loop)/live/initrd.lz boot
grub4dos的 menu.lst 写法,需要先在iso的live目录下提取 vmlinuz 和 inirtd.lz :
title Deepin 2015 Live CD find --set-root /deepin-15-alpha2-amd64.iso kernel /vmlinuz boot=live union=overlay username=user quiet live-config findiso=/deepin-15-alpha2-amd64.iso locales=zh_CN.UTF-8 initrd /initrd.lz boot
相关参考: