os-prober skip message is misleading
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Opinion
|
Undecided
|
Unassigned |
Bug Description
os-prober appears not toe be executed when the string "osprober" is not found in /boot/grub/
While I am still on my way to understand what that means and if this is probably and error, because the string to search for should be "os-prober", one thing is clearly less than ideal:
The information message tells the use to check the "GRUB_DISABLE_
But the reason why ths steps is skipped in that code line, is because a greo command.
The outout should tell the user so!
(ubuntu-bug uploaded my slightly modified version that changes the behaviour, this description refers to the unmodified version!)
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: grub-common 2.06-2ubuntu7
ProcVersionSign
Uname: Linux 5.15.0-30-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sat May 14 22:08:19 2022
InstallationDate: Installed on 2020-04-12 (761 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
SourcePackage: grub2
UpgradeStatus: Upgraded to jammy on 2022-04-28 (15 days ago)
mtime.conffile.
The message is somewhat accurate though. The grub.cfg hack is the MVP to not regress existing users on grub updates, but it might not always stay that way, and it should not be considered, it's preferable to explicitly configure as the message says.