r/voidlinux • u/Full_Investigator750 • Oct 27 '26
solved Void Linux stopped booting randomly
I am currently running void Linux on my HDD with windows being on my SSD.
Yes I know windows sucks but i keep it as a backup if things like this happen.
For some reason when I tried to boot into void Linux through my boot menu, it just shows me a black screen
not even grub is showing
I tried different key binds to see if anything pops up like a tty or the grub config thing that you can edit temporarily.
It was almost a fresh install except of qtile mangowm and bspwm,
I have changed no configs other than those for the window managers and sxhkd for bspwm.
I have also not made any changes to the EFI partition which is on the HDD since for some reason my windows bootloader is also on there.
I do have SDDM and KDE installed as a backup just in case my window managers have any errors.
I am also relatively new to Linux
been using it for the past I think 2 years but still in the intermediate phase.
If you have any suggestions pls drop them in the replies :)
Thanks.
(PS: please dont mind my typing mistakes :).)
OMG THANKS TO ALL THE PEOPLE WHO HELPED
thank you all so much
the fix that worked for me was just chroot into the root directory and run update-grub and mkconfig from grub.
6
u/quirktheory Oct 27 '26
I'd suggest booting a live USB and checking out the disk. Ive had windows delete my boot entries randomly before. If this is the case you should see all your data intact but the boot stubs should be missing for the EFI partition. Once you confirm you can then chroot into the damaged install and reinstall grub. You can also point windows at grub via
bcdeditto mitigate the risk of it happening in the future.3
u/Wonderful-Movie-4648 Oct 28 '26
If you have a black screen and expect to see grub then something prevents grub from loading. The issue is likely how UEFI (tries) to load the bootloader.
Boot from a live ISO
run
sudo efibootmgr -vand see if any of the boot entries actually use your installed grub bootloader. This needs to be run on the device which has the problem because it accesses the NVRAM of your UEFI firmware of the board!Verify if a grub bootloader is installed (check the the folders on the EFI partition). The grub bootloader is just a very small .efi file.
Even if you didn't change anything my assumption would be that maybe(!) windows ran some update regarding UEFI or its own bootloader and somehow affected the Void Linux one too.
1
u/Training_Concert_171 Oct 27 '26
What works for me is to boot into a live image with chroot recue scan: https://github.com/BitJam/chroot-rescue
Then choose the voidlinux install and install grub:
grub-install /dev/sdaX
MX linux has this program in their image, but I built a custom void iso with this script installed.
This problem happens to me on void, any time I move my ssd from one system to another(only on uefi). But also when i update the bios/uefi.
1
u/furryfixer Oct 28 '26
For mechanical drives, there is often a BIOS setting for “HDD pre-delay” or similar. Set this higher, to a few seconds, to allow the drive to spin up and POST. This may help.
0
u/Simple_Hamster_4096 Oct 27 '26
Had you previously booted into Windows and run any Windows updates or made any modifications to Windows?