解决Ubuntu22.04 GRUB_DISABLE_OS_PROBER 提示

ubuntu22.04系统中grub默认关闭对其他操作系统的识别,系统会出现以下警告:

1
2
3
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.

解决方案

编辑/etc/default/grub文件,添加或注释掉GRUB_DISABLE_OS_PROBER=false行。然后执行

1
sudo update-grub
Licensed under CC BY-NC-SA 4.0