美文网首页Linux学习|Gentoo/Arch/FreeBSD
Grub启动Deepin ISO镜像:硬盘安装Deepin

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
}
  • 更新grub配置文件
  • gentoo
grub2-mkconfig -o /boot/grub/grub.cfg
  • deepin
update-grub

相关文章

网友评论

    本文标题:Grub启动Deepin ISO镜像:硬盘安装Deepin

    本文链接:https://www.haomeiwen.com/subject/tneckttx.html