Grub启动Deepin ISO镜像:硬盘安装Deepin,


  • 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

相关内容

    暂无相关文章