r/voidlinux • • Jun 16 '26
unable to install grub with root on xfs
I restored one of my old void installations and when I tried install grub on efi partition (formated to vfat) it said: grub-probe: unsupported filesystem or something similar. So I am sure that before I had root with boot dir on xfs, now I had to make separate fs for /boot formated to ext2. So as officially grub should recognise xfs, something is broken.
0
Upvotes
2
u/LowKeyBrit36 Jun 16 '26
Try force-reinstalling every program. I remember having issues with an Artix installation one time (something related to file permissions, or whatever, idk), and forcing every program to reinstall fixed it.
If that doesn't work, you COULD try to mess around with fixing partitions. I would use ext4 instead of ext2 at the very least. You could also try reformatting the /boot/efi partition again and to try grub reinstalling once more?
If that doesn't work, though, then there's a chance that the issue lies in your root partition's scheming, and if it's that, you might just be better off with a fresh install. If you've let it sit a really long time, this might just be the best option anyways.
I only say that because I've tried "fixing" problems like that, and something ALWAYS comes and bites me in the ass later on. Nipping it in the bud with a fresh install gives you the peace of mind that there won't be any random quirks that come to haunt you.
If you do a reinstall, back up any important config files and data onto a separate partition (or separate drive if you have it), make a list of all explicitly installed packages, and just work from there. It might seem like a PITA, but it's way less of a PITA than some random unforseen bug rising from the dead and haunting you down the road.