u盘grub4dos引导deepin linux iso 20版本成功,分享方法
Tofloor
poster avatar
dash3lh
deepin
2020-04-18 01:16
Author
本帖最后由 dash3lh 于 2020-4-17 17:21 编辑

一。U盘引导
1.使用 FbinstTool 更新最新的grub4dos (grub4dos-0.4.6a-2020-02-29)下载地址百度搜索官方的。
最新grub4dos下载地址:http://dl.grub4dos.chenall.net/grub4dos-0.4.6a-2020-02-29.7z


2.使用 FbinstTool编辑U盘的grub/menu.lst文件,添加代码:
  1. title  deepin live
  2. find --set-root --ignore-floppies --ignore-cd /deepin-20Beta-desktop-amd64.iso
  3. map /deepin-20Beta-desktop-amd64.iso (hd32)
  4. map --hook
  5. kernel (hd32)/live/vmlinuz.efi  boot=live union=overlay username=user   live-config noprompt noeject findiso=/deepin-20Beta-desktop-amd64.iso locales=zh_CN.UTF-8
  6. initrd (hd32)/live/initrd.lz
  7. boot
Copy the Code
以上deepin-20Beta-desktop-amd64.iso部分替换你下载的deepin linux 光盘名称。
其中deepin-20Beta-desktop-amd64.iso放在D盘ntfs分区根目录。

二.linux系统硬盘引导deepin linux 镜像。

修改 /boot/grub/grub.cfg 文件grub.cfg
在menuentry 尾部增加如下:
  1. menuentry 'deepin install' {
  2.     search --label --set=root soft
  3.     set isofile="/deepin-15.11-amd64.iso"
  4.     loopback loop $isofile
  5.     linux (loop)/live/vmlinuz.efi  boot=live union=overlay username=user quiet  live-config noprompt noeject findiso=$isofile locales=zh_CN.UTF-8
  6.     initrd (loop)/live/initrd.lz
  7. }
Copy the Code
其中soft为你D盘的名称,deepin-15.11-amd64.iso改为你iso镜像的名称。
重启后grub2菜单有启动项


目前两种方法都成功安装deepin linux iso镜像到硬盘。

Reply Favorite View the author
All Replies
avatar
丶邪帝丨
deepin
2020-04-18 01:35
#1
ventoy它不香吗
Reply View the author
avatar
herdde
deepin
2020-04-18 01:41
#2

这个不需要U盘
Reply View the author