pacman -S os-prober
nvim /etc/default/grub
取消该行注释
#GRUB_DISABLE_OS_PROBER=false
# 生成配置文件
sudo grub-mkconfig -o /boot/grub/grub.cfg
没有的话手动添加/etc/grub.d/40_custom
然后可以改默认启动顺序
pacman -S os-prober
nvim /etc/default/grub
取消该行注释
#GRUB_DISABLE_OS_PROBER=false
# 生成配置文件
sudo grub-mkconfig -o /boot/grub/grub.cfg
没有的话手动添加/etc/grub.d/40_custom
然后可以改默认启动顺序