grub问题
Tofloor
poster avatar
mercilessly
deepin
2020-05-14 05:07
Author
uefi+gpt    之前装过ubuntu,删除ubuntu后引导一直删不掉,这次手贱用diskgenus把esp中ubuntu文件夹强制删除了,导致我的deepin开机grub(之前引导没问题),出现的是ubuntu的grub,set root prefix insmod noramal等等之后就能跳转到deepin的grub图形界面,然后就可以正常启动系统。用系统修复工具修复也没用。从ubuntu的grub跳转到deepin的grub才能启动系统。磁盘中找ubuntu的grub就是找不到,开个机麻烦的,还要输一些命令。求解
Reply Favorite View the author
All Replies
avatar
SamLukeYes
deepin
2020-05-14 05:21
#1
好像deepin会在efi分区里放个ubuntu文件夹,用来通过 secure boot
Reply View the author
avatar
Vimvi2233
deepin
2020-05-14 05:46
#2
It has been deleted!
avatar
deepin
2020-05-14 07:27
#3
EFI分区就放ubuntu文件夹,下面就gurb.cfg和grubx64.efi就能启动,grub.cfg用uuid搜,一般是
search.fs_uuid xxxxxxxxxxx root hdx,gpty
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

x y 根据自己分区定,也可以用文件搜索,不用uuid,搜索的细节可以百度grub2手册

bios里设置一个deepin启动项,指向/efi/ubuntu/grubx64.efi即可,bios设不了可以用win下的bootice,uefi启动顺序里编辑设置。这个ubuntu不能改名字
Reply View the author
avatar
enforcee
deepin
2020-05-14 17:12
#4
https://bbs.deepin.org/post/194217
好像deepin会在efi分区里放个ubuntu文件夹,用来通过 secure boot

所以一更新就刷没我隔壁mint的引导
Reply View the author
avatar
mercilessly
deepin
2020-05-14 17:29
#5
https://bbs.deepin.org/post/194217
所以一更新就刷没我隔壁mint的引导

我在efi下创建ubuntu然后把的deepin中的东西拷过去就没问题了,但多了一个引导项,deepin和ubuntu都可以启动deepin
Reply View the author
avatar
enforcee
deepin
2020-05-14 17:56
#6
https://bbs.deepin.org/post/194217
我在efi下创建ubuntu然后把的deepin中的东西拷过去就没问题了,但多了一个引导项,deepin和ubuntu都可以 ...

我主要用mint 所以就每次都去mint那里update-grub
Reply View the author
avatar
mercilessly
deepin
2020-05-14 18:08
#7
感谢各位,问题已经解决了。现在我又用rEFInd作为引导
Reply View the author
avatar
fexlou
deepin
2020-05-14 23:00
#8
It has been deleted!