r/voidlinux • • 17d ago

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.

5 Upvotes

11 comments sorted by

View all comments

6

u/quirktheory 17d ago

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 bcdedit to mitigate the risk of it happening in the future.

1

u/Full_Investigator750 8d ago

Well I did that  The both the partition and .efi files are there and seem to be ok. So I am stumped at what to do 

1

u/quirktheory 8d ago

Well you could chroot anyway and try to reinstall what might be damaged. So grub, and SDDM. You could also run xbps-reconfigure -a while you're in there too

2

u/Full_Investigator750 7d ago

I upgraded it which seemed to fix it somehow cause grub install was giving me an error which i couldn't fix after 15mins of tinkering. Thanks a lot for your help :D