Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
GRUB2引导deepin-15.4-amd64.iso为livecd安装
Experiences and Insight
2466
views ·
2
replies ·
To
floor
Go
zengq
deepin
2017-04-21 20:09
Author
本帖最后由 zengq 于 2017-4-21 12:57 编辑
GRUB2菜单配置文件的写法:
if search --file /boot/deepin-15.4-amd64.iso; then
menuentry "install deepin-15.4-amd64.iso (livecd)" {
set isofile="
/boot/deepin-15.4-amd64.iso
"
set gfxpayload=keep
search --set -f $isofile
loopback loop $isofile
linux (loop)/live/vmlinuz.efi boot=live union=overlay username=user quiet live-config noprompt noeject nomodeset nosmp nosplash findiso=$isofile locales=zh_CN.UTF-8
initrd (loop)/live/initrd.lz
}
fi
1.在硬盘或U盘根目录建立boot文件夹(
请根据ISO实际路径修改$isofile参数
),把
deepin-15.4-amd64
.iso放进去
2.安装前可用 sudo umount -l /lib/live/mount/findiso 卸载掉
deepin-15.4-amd64
.iso所在的硬盘分区。
Reply
Like 0
Favorite
View the author
All Replies
jiuxian
deepin
2017-04-28 22:32
#1
请问:bios启动或者uefi启动的grub2,都能用这个配置吗?确定可行吗?
Reply
Like 0
View the author
zengq
deepin
2017-04-28 23:10
#2
是的,你试一下不就知道了。
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Four agent skills for laptop power, sleep, and honest bug reports
Installing qemu-user breaks deepin
Adding a Dancing Spectrum Bar to the Deepin Taskbar | deepin-spectrum
Popular Events
More
GRUB2菜单配置文件的写法:
if search --file /boot/deepin-15.4-amd64.iso; then
menuentry "install deepin-15.4-amd64.iso (livecd)" {
set isofile="/boot/deepin-15.4-amd64.iso"
set gfxpayload=keep
search --set -f $isofile
loopback loop $isofile
linux (loop)/live/vmlinuz.efi boot=live union=overlay username=user quiet live-config noprompt noeject nomodeset nosmp nosplash findiso=$isofile locales=zh_CN.UTF-8
initrd (loop)/live/initrd.lz
}
fi
1.在硬盘或U盘根目录建立boot文件夹(请根据ISO实际路径修改$isofile参数),把deepin-15.4-amd64.iso放进去
2.安装前可用 sudo umount -l /lib/live/mount/findiso 卸载掉deepin-15.4-amd64.iso所在的硬盘分区。