[deepin exploration] deepin怎么添加windows的引导
Tofloor
poster avatar
小贝同学
deepin
2026-06-01 23:35
Author

我安装双系统,误操作把windows引导搞没有了,在deepin下怎么才能重新添加回来

windows的efi 与系统分区均无损坏,目前grub菜单中无windows的启动项

尝试在/etc/default/grub中启用os-prober并更新GRUB没有用

在/boot/grub/grub.cfg 添加windows的引导项,也没有成功,感觉此文件一刷新就恢复原状了

Reply Favorite View the author
All Replies
avatar
jjcui8595
deepin
2026-06-02 06:04
#1

不要手动编辑boot/grub/grub.cfg。建议使用efibootmgr添加引导项,也可以Windows PE 引导后修复引导

Reply View the author
avatar
罐子
Moderator
2026-06-02 08:35
#2

grub-update

Reply View the author
avatar
罐子
Moderator
2026-06-02 08:36
#3

一个命令就能处理

Reply View the author
avatar
小贝同学
deepin
2026-06-02 08:59
#4
罐子

一个命令就能处理

update-grub与update-grub2 尝试过多次不行,应该是损坏比较严重不能自动修复,需要手动重新添加

Reply View the author
avatar
BigFish
deepin
2026-06-02 09:40
#5

做一个PE启动U盘 ,启动到PE系统,使用dism++来修复Windows引导。记得先备份一下efi分区的文件。

image.png

Reply View the author
avatar
小贝同学
deepin
2026-06-02 11:38
#6
BigFish

做一个PE启动U盘 ,启动到PE系统,使用dism++来修复Windows引导。记得先备份一下efi分区的文件。

image.png

老师这个方法可以👍 ,折腾几天终于搞定,感谢!

Reply View the author