【飞牛os0.9.9系统使用docker 挂载cgroup2异常问题】
异常描述
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.
Adding boot menu entry for UEFI Firmware Settings ...
doneBroadcast message from root@nas on pts/3 (Sat 2025-06-14 12:18:55 CST):
该警告表明 GRUB 引导程序未启用 os-prober 工具检测其他可引导系统(如 Windows 或 Linux 双系统),导致启动菜单缺失相关条目26。以下是完整解决方案:
🔧 修复步骤
1. 编辑 GRUB 配置文件
sudo vim /etc/default/grub
2.添加或取消注释以下行:
GRUB_DISABLE_OS_PROBER=false
此操作强制启用 os-prober 检测
3. 更新 GRUB 配置
sudo update-grub
正常输出应包含 os-prober will be executed to detect other bootable partitions7。
4. 检查 os-prober 是否安装
sudo apt install os-prober # Debian/Ubuntu
sudo pacman -S os-prober # ArchLinux
部分系统需手动安装该工具。