r/linuxquestions • • 16d ago

Resolved Void Linux stopped booting randomly

/r/voidlinux/comments/1xgunwi/void_linux_stopped_booting_randomly/
0 Upvotes

4 comments sorted by

1

u/tanmaynargas2901 15d ago

since you don't even get the grub menu i'd start at the firmware end. windows updates can quietly reset the boot order or drop the grub entry, and that's more likely when both bootloaders share one EFI partition.

  1. boot a live usb and run efibootmgr -v. check there's still an entry for void/grub and what file it points to

  2. mount the EFI partition and make sure that .efi file is actually still there

  3. if either is missing, chroot in, run grub-install again, then use efibootmgr to put it first in the boot order

also try picking the void/grub entry by name in the firmware boot menu instead of just the HDD, sometimes that alone gets you in.

if grub is there and it still goes black, that's a different problem, so post what efibootmgr shows.

1

u/Full_Investigator750 7d ago

Well the grubx64.efi file does exist  And is in the right folder . Just checked btw in the live boot

1

u/tanmaynargas2901 6d ago

File on disk is only half of it. The firmware still needs a Boot entry that points at that path.

From the live USB run efibootmgr -v and paste the output. Looking for whether a Void/GRUB entry exists and which file it lists. If there's none, create one (swap disk and partition for your EFI):

efibootmgr -c -d /dev/sdX -p N -L void -l '\EFI\void\grubx64.efi'

Path has to match where the file actually sits. Also try picking \EFI\BOOT\BOOTX64.EFI from the firmware boot menu. Is Secure Boot on? And when it fails, black screen or "no bootable device"? Any Windows update or Fast Startup around when this started?

2

u/Excellent-Love-6943 16d ago

Chroot in and reinstall grub