Ubuntu 22.04 GRUB开启os-prober多系统检测

安装os-prober

sudo apt install os-prober

设置GRUB,编辑/etc/default/grub

sudo vi /etc/default/grub

添加如下行,完成后保存运行sudo update-grub即可。

GRUB_DISABLE_OS_PROBER=false