|
本帖最后由 liuzhaoyzz 于 2024-12-26 10:00 编辑
用fromiso果然是可以!
加上 locales=zh_CN.UTF-8可以变成中文界面:
menuentry "/linux/deepin/deepin-live-cd-commiunty-1.3.0-full.iso" "/linux/deepin/deepin-live-cd-commiunty-1.3.0-full.iso" {
set gfxpayload=keep
search --no-floppy --set --file $2
loopback loop $2
linux (loop)/live/vmlinuz boot=live fromiso=$2 components quiet splash locales=zh_CN.UTF-8
initrd (loop)/live/initrd.lz
}
grub4dos也可以,前提是iso要经过碎片整理(复制粘贴重命名删除原文件)。
title /linux/deepin/deepin-live-cd-commiunty-1.3.0-full.iso
find --ignore-floppies --ignore-cd --set-root /linux/deepin/deepin-live-cd-commiunty-1.3.0-full.iso
map /linux/deepin/deepin-live-cd-commiunty-1.3.0-full.iso (hd32)
map --hook
kernel (hd32)/live/vmlinuz boot=live fromiso=/linux/deepin/deepin-live-cd-commiunty-1.3.0-full.iso components quiet splash locales=zh_CN.UTF-8
initrd (hd32)/live/initrd.lz
|
|