Can't boot into Void Linux
If you can't boot into Void Linux, either post-installation or due to some other system modification, you can try to repair the bootloader to see if it helps.
First, you'll have to flash a USB with the Void Linux installation medium, the same way you presumably did to install Void originally; then boot into it.
Once inside the installation medium, mount your actual system to
/mnt, like:mount /dev/<ROOT_PART> /mnt mount /dev/<EFI_PART> /mnt/boot/efi- Replace
<ROOT_PART>with the partition containing your installation root. - Replace
<EFI_PART>with the partition containing your EFI files.
You can find the names of the partitions by running
fdisk -l.- Replace
Now chroot into it with:
xchroot /mntIf you think the partition may have had its contents modified, I recommend removing existing files from it first with:
rm -rf /boot/efi/*Finally, to re-install GRUB, simply run:
grub-installIf no errors ocurred, you can try booting again. If booting still fails despite the lack of GRUB errors, you can retry the procedure with the following command instead:
grub-install && grub-install --removableThis sets up GRUB the way it usually would for removable storage such as USB drives, which may allow it to start. If it works like this, leaving it this way shouldn't cause any issues.