[problem help] 安装deepinv23后deepin自带的引导没有原先windows的启动项。
Tofloor
poster avatar
耐思
deepin
2023-07-28 00:03
Author

rt,没有原电脑windows系统的启动项,然后我有重新下载了refind去加载启动项,解决了我上述的问题,但是当我v23系统进行

内测更新之后,开机直接加载deepin的引导界面,refind失效了,还是没有原先windows的启动项。我安装deepinv23时给v23系统efi文件独立的划分了一个区。是不是和这有关。

Reply Favorite View the author
All Replies
安洛
deepin
2023-07-28 00:21
#1

是的。

可以参考:

https://wiki.archlinuxcn.org/wiki/GRUB?rdfrom=https%3A%2F%2Fwiki.archlinux.org%2Findex.php%3Ftitle%3DGRUB_%28%25E7%25AE%2580%25E4%25BD%2593%25E4%25B8%25AD%25E6%2596%2587%29%26redirect%3Dno#%E6%8E%A2%E6%B5%8B%E5%85%B6%E4%BB%96%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F

扫描其它启动分区。

这里的运行grub-mkconfig替换为运行 sudo update-grub

Reply View the author
a19881224
deepin
2023-07-28 01:29
#2

我也是这个情况,怎么搞都搞不好,每次切换系统只能进bios改启动顺序,头疼😣

Reply View the author
耐思
deepin
2023-07-28 02:02
#3
安洛

是的。

可以参考:

https://wiki.archlinuxcn.org/wiki/GRUB?rdfrom=https%3A%2F%2Fwiki.archlinux.org%2Findex.php%3Ftitle%3DGRUB_%28%25E7%25AE%2580%25E4%25BD%2593%25E4%25B8%25AD%25E6%2596%2587%29%26redirect%3Dno#%E6%8E%A2%E6%B5%8B%E5%85%B6%E4%BB%96%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F

扫描其它启动分区。

这里的运行grub-mkconfig替换为运行 sudo update-grub

是运行os_prober包吗

Reply View the author
耐思
deepin
2023-07-28 02:15
#4
安洛

是的。

可以参考:

https://wiki.archlinuxcn.org/wiki/GRUB?rdfrom=https%3A%2F%2Fwiki.archlinux.org%2Findex.php%3Ftitle%3DGRUB_%28%25E7%25AE%2580%25E4%25BD%2593%25E4%25B8%25AD%25E6%2596%2587%29%26redirect%3Dno#%E6%8E%A2%E6%B5%8B%E5%85%B6%E4%BB%96%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F

扫描其它启动分区。

这里的运行grub-mkconfig替换为运行 sudo update-grub

挂载到那个文件夹都行吗

Reply View the author
耐思
deepin
2023-07-28 02:20
#5
安洛

是的。

可以参考:

https://wiki.archlinuxcn.org/wiki/GRUB?rdfrom=https%3A%2F%2Fwiki.archlinux.org%2Findex.php%3Ftitle%3DGRUB_%28%25E7%25AE%2580%25E4%25BD%2593%25E4%25B8%25AD%25E6%2596%2587%29%26redirect%3Dno#%E6%8E%A2%E6%B5%8B%E5%85%B6%E4%BB%96%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F

扫描其它启动分区。

这里的运行grub-mkconfig替换为运行 sudo update-grub

Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
/usr/bin/os-prober: 2: exec: /usr/lib/os-prober/newns: not found
Adding boot menu entry for UEFI Firmware Settings ...
done

我加了

GRUB_DISABLE_OS_PROBER=false

为什么还出现这个警告,然后重启的话还是没有windows的启动项。

Reply View the author
耐思
deepin
2023-07-28 02:21
#6
a19881224

我也是这个情况,怎么搞都搞不好,每次切换系统只能进bios改启动顺序,头疼😣

你要不使用refind来加载引导

这个能找到不同分区不同磁盘的启动项

Reply View the author
安洛
deepin
2023-07-28 04:40
#7
It has been deleted!
安洛
deepin
2023-07-28 04:45
#8
耐思

Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
/usr/bin/os-prober: 2: exec: /usr/lib/os-prober/newns: not found
Adding boot menu entry for UEFI Firmware Settings ...
done

我加了

GRUB_DISABLE_OS_PROBER=false

为什么还出现这个警告,然后重启的话还是没有windows的启动项。

你的警告不是那一个,内容是完全相反的。

你这个是os-prober有问题。你看看你的/usr/lib/os-prober下有什么文件,有没有这个newns。

Reply View the author
a19881224
deepin
2023-07-28 05:26
#9
耐思

你要不使用refind来加载引导

这个能找到不同分区不同磁盘的启动项

完美解决了,非常感谢

Reply View the author
耐思
deepin
2023-07-31 02:12
#10
安洛

你的警告不是那一个,内容是完全相反的。

你这个是os-prober有问题。你看看你的/usr/lib/os-prober下有什么文件,有没有这个newns。

有这个文件好像是个二进制文件。

Reply View the author
耐思
deepin
2023-07-31 02:13
#11
a19881224

完美解决了,非常感谢

我目前也是用refind凑活用吧

Reply View the author
安洛
deepin
2023-07-31 03:55
#12
耐思

有这个文件好像是个二进制文件。

那应该不会有问题才对呀?这里报找不到这个文件。

你现在再运行一遍 sudo update-grub试试?

Reply View the author
a19881224
deepin
2023-07-31 08:34
#13
耐思

我目前也是用refind凑活用吧

要是支持触摸就好了

Reply View the author