I recently did a fresh hard install of Void Linux ( x86-64, musl), on its own, on an old 2Tb hdd. I wanted it as an isolated testbed for virt-manager networking.
While it was there, I decided to let Void install grub on that disk… just to see how Void goes controlling grub.
The disk has its own EFI partition so I did
I did some research on the issues you ran into.
I might be interested in installing Void myself one day because it seems to be one of the most stable rolling release distros.
I think I may try it as a virtual machine first.
So, Void Linux is shipping GRUB 2.12 (with _2 meaning the second revision of Void’s packaging).
GRUB 2.12 seems to be pretty recent (released in December 2023) and contains many changes compared to the older 2.06 that most distros still use.
One of the key changes (which matters most in your case): Secure Boot / shim lock support was reworked and is now enabled more aggressively by default. That’s why you suddenly needed to use grub-install --disable-shim-lock --efi-directory=/boot/efi .
Your analysis seems perfect, Neville.
Void used a very new version of grub
Void sets some different default grub parameters: Their GRUB package is built with shim_lock enabled by default
It may be Void specific, or it may be going to happen with all distros soon: very possible indeed.
Thanks for the post, Neville.
It may be interesting to other Void users as well.
Hi Rosika,
My main grub on my SSD is controlled by MX which has grub 2.06… it gives no trouble at the moment.
So I think you are right… other users are going to have this problem soon
Regards
Neville