Grub启动Deepin ISO镜像:硬盘安装Deepin
作者:
孤逐王 | 来源:发表于
2016-01-13 10:28 被阅读2124次
- grub添加Deepin ISO镜像启动菜单
/etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Deepin Live 15 i386" {
set isofile="/deepin-15-i386.iso"
search --set -f $isofile
loopback loop (hd0,1)$isofile
linux (loop)/live/vmlinuz boot=live union=overlay live-config findiso=${isofile} locales=zh_CN.UTF-8 quiet splash nomodeset
initrd (loop)/live/initrd.lz
}
grub2-mkconfig -o /boot/grub/grub.cfg
update-grub
本文标题:Grub启动Deepin ISO镜像:硬盘安装Deepin
本文链接:https://www.haomeiwen.com/subject/tneckttx.html
网友评论