geckolinux / geckolinux-project

GeckoLinux bug tracker and documentation
https://geckolinux.github.io
209 stars 17 forks source link

dual boot: post install update causes the other Linux not to be listed anymore in grub #299

Closed tuxayo closed 2 years ago

tuxayo commented 2 years ago

iso: GeckoLinux_ROLLING_XFCE.x86_64-999.210526.0

tuxayo commented 2 years ago

The "Probe foreign OS" option in YaST->System->Boot Loader->Boot Loader Option is disabled.

Maybe having GRUB_DISABLE_OS_PROBER=false in /etc/default/grub on install would fix it?

geckolinux commented 2 years ago

Thank you for this report, you're right that the latest version of GRUB changed its behavior and no longer probes for other OS versions by default.

Maybe having GRUB_DISABLE_OS_PROBER=false in /etc/default/grub on install would fix it?

Yes exactly, this will be included in the upcoming updates to GeckoLinux.

ghost commented 2 years ago

I'm wondering if this is a problem with OpenSUSE as well or a GeckoLinux issue only?

geckolinux commented 2 years ago

It's an intentional change and feature regression in upstream GRUB due to (in my opinion) paranoid and unrealistic security concerns.

https://www.gnu.org/software/grub/manual/grub/html_node/Simple-configuration.html

GRUB_DISABLE_OS_PROBER

It is disabled by default since automatic and silent execution of os-prober, and creating boot entries based on that data, is a potential attack vector. Set this option to false to enable this feature in the grub-mkconfig command

https://wiki.archlinux.org/title/GRUB#Detecting_other_operating_systems

If you get the following output: Warning: os-prober will not be executed to detect other bootable partitions then edit /etc/default/grub and add/uncomment:

GRUB_DISABLE_OS_PROBER=false

geckolinux commented 2 years ago

Fix implemented in upcoming ROLLING and STATIC releases.