### BUG REPORT ###

BUG DESCRIPTION
grub was recently upgraded to 2.04-19. Before the upgrade, os-prober would be 
enabled by default, without `GRUB_DISABLE_OS_PROBER` in `/etc/default/grub` 
file. Now it's disabled by default and I have to enable it manually, which in 
itself is no problem at all.
The problem is, that when disabled, the following is added to 
`/boot/grub/grub.cfg`:
```
### BEGIN /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_os-prober ###### BEGIN /etc/grub.d/30_os-prober ###
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.
### END /etc/grub.d/30_os-prober ###
```
The three lines in the middle are not commented out, which results in the 
following error screen at boot, instead of grub:
```
error: can't find command 'os-prober'.
error: can't find command 'Systems'.
error: can't find command 'Check'.
```
After which it counts down from 10 and proceeds to the default first boot entry.

STEPS TO REPRODUCE
- Upgrade grub
- Disable os-prober

EXPECTED BEHAVIOUR
- System booting into grub

ACTUAL BEHAVIOUR
- The error screen described above

SYSTEM INFORMATION
PC: Lenovo Legion Y530
OS: Manjaro Linux
Kernel: 5.11.2-1-MANJARO
grub version: 2.04-19
Disk setup: LUKS encrypted Manjaro installation on one partition, Windows 10 
installation on another (NVME). Linux home partition on seperate disk. `/boot/` 
not encrypted.

`/etc/default/grub` attached.
Output of `inxi -Fxxxzad --no-host` attached.
Public PGP key attached, in case you need additional (possibly sensitive) 
information.

Attachment: grub
Description: Binary data

Attachment: inxi
Description: Binary data

Attachment: pub.key
Description: application/vnd.apple.keynote

Reply via email to