[other] 把ISO放在硬盘中通过loopback loop$isofile启动失败,求指导?
Tofloor
poster avatar
安如山
deepin
2023-12-08 01:08
Author

如题,我想把 Deepin live 的 ISO文件放在硬盘目录中,通过grub2引导启动,这样一来就可以像在 windows 中安装了 PE 一样,方便以后的维护。我是这样操作的:

我在 /etc/grub.d/40_custom 文件中加入以下代码,并且执行 sudo update-grub 和 sudo update-grub2 后,重启,选择该项目引导,当出现 Deepin live 的启动画面后,最终报错,说是 busybox ....... 失败。

我估计是下列代码中, linux 与 initrd 这两行代码写错了,请大家指导一下。

menuentry "Deepin live" {
set root=(hd1,gpt7)
set isofile="/myiso/deepinlive.iso"
loopback loop $isofile

set gfxpayload=keep
linux	(loop)/live/vmlinuz boot=live components quiet splash
initrd	(loop)/live/initrd.img

}

类似的,我在 UOS 中也想利用 UOS 的 live ISO 文件进行上述操作,也遭遇了同样的错误,加入的代码如下:

menuentry "UOS live" {
set root=(hd1,gpt7)
set isofile="/myiso/uoslive.iso"
loopback loop $isofile

set gfxpayload=keep
linux	(loop)/live/vmlinuz.efi boot=live union=overlay locales=zh_CN.UTF-8 console=tty splash --
initrd	(loop)/live/initrd.lz

}

真心请教大家。

Reply Favorite View the author
All Replies
兆兆嘟嘟嘟
deepin
2023-12-08 05:32
#1

用的live是哪个版本?

Reply View the author
安如山
deepin
2023-12-08 17:06
#2

image.png

Reply View the author
安如山
deepin
2023-12-08 17:08
#3
兆兆嘟嘟嘟

用的live是哪个版本?

image.png

Reply View the author
安如山
deepin
2023-12-08 17:11
#4
兆兆嘟嘟嘟

用的live是哪个版本?

这是UOS的LIVE ISO

image.png

Reply View the author
兆兆嘟嘟嘟
deepin
2023-12-09 06:25
#5
安如山

image.png

这个现在已经不能用了。

Reply View the author
兆兆嘟嘟嘟
deepin
2023-12-09 06:30
#6
安如山

这是UOS的LIVE ISO

image.png

这个应该可以用。我先研究一下gfdgd-xi已经制作好的live deb文件再来说。或者你可以直接用gfdgd-xi的live系统。后面的云盘链接里有deb包。

Reply View the author