添加grub2引导命令进deepin_12.06_zh-hans_i386.iso的livecd
Tofloor
poster avatar
drc1234
deepin
2012-07-22 18:48
Author
deepin_12.06_zh-hans_i386.iso拷贝到硬盘某分区上,如D E F G 或ext分区,不要放到文件夹中

打开终端,grub.cfg文件是只读属性,如果你要修改它,需要权限。

sudo chmod +w /boot/grub/grub.cfg
sudo gedit /boot/grub/grub.cfg 在最末尾加上以下代码:

menuentry “Linux Deepin 12.06” –class os{
search –set -f /deepin_12.06_zh-hans_i386.iso
loopback loop ($root)/deepin_12.06_zh-hans_i386.iso

linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/deepin_12.06_zh-hans_i386.iso locale=zh_CN.UTF-8 noprompt noeject splash
initrd (loop)/casper/initrd.lz
}
Reply Favorite View the author
All Replies
tuhaihe
deepin
2012-07-24 17:30
#1
赞。
Reply View the author
cxbii
deepin
2012-07-24 21:43
#2
硬盘安装,好吧,我们不太推荐哦!但支持楼主的贡献
Reply View the author