Closed issue by UsernameRandomlyGenerated on void-packages repository https://github.com/void-linux/void-packages/issues/33192 Description: ### System * xuname: Void 5.14.8_1 x86_64-musl AuthenticAMD uptodate rFF * package: grub-x86_64-efi-2.06_2 ### Expected behavior After switching from UEFI to Legacy and back to UEFI again in bios config, Void Linux grub shows up. ### Actual behavior When I switch back to UEFI, Void Linux install disappears and I have to boot from USB drive, chroot into my install and reinstall grub again. ### Steps to reproduce the behavior So I have an external MBR HDD with Debian + Windows 10 on it. When I want to use it, I switch my bios settings from UEFI only to Legacy+UEFI. After the work is done, I go to settings again and switch back to UEFI only mode, but then Void Linux grub is not there anymore, so it shows the standard "no system found". To fix that, I need to boot from USB stick, chroot and use "grub-install" command again. I've installed Void Linux manually, according to official docs for full disk encryption (so I have dev/sda1 for /boot/efi and /dev/sda2 for root, home and swap in lvm). Couple things that I found out: -I don't even need to boot that MBR HDD to make void linux grub disappear, simply toggling Legacy Mode in BIOS, rebooting and toggling back UEFI only will result in disappearance after reboot. -Before Void Linux, I've used Fedora, Pop!OS and Debian, all with disk encryption but I never saw that problem there, I could freely switch between Legacy and UEFI mode in bios without my main system disappearing.