r/voidlinux • u/Feeling-Drawer-9171 • Jun 24 '26
why is grub so faulty?
i have a thinkpad T14s gen 2 and i decided to try void linux. three unsuccessful attempts all because grub-install complaining something abt device.map. the weird thing is that grub always installed fine on other linux distros (arch, gentoo, etc). currently im using freebsd but just in case i give void a fourth try, how can i fix this problem? maybe switch to systemd-boot next time? thx
UPDATE: instead of USB 3.0 i used USB 2.0 and it magically worked I'm at loss of words. Thank you all
UPDATE AGAIN: it was etchdroid.. for the usb 2.0 i used dd, thats why it worked
9
u/MrHoboSquadron Jun 24 '26
I don't know anything about device.map, but you should probably post exactly what error you're getting. There's almost nothing to work with here.
3
u/no-name-user Jun 24 '26
A quick google for "grub device.map" shows threads from more than a decade ago saying that this feature is deprecated. What are you trying to do exactly?
2
u/[deleted] Jun 24 '26
During grub installation into efi or generating config file?
2
u/cgwhouse Jun 24 '26
I disagree with your framing - I don't think grub is faulty, it is much more likely to be something you're doing. That being said, if I were going to set up Void again from scratch, I would look at using ZFS and ZFSBootMenu, it's especially excellent on Void
1
u/whereismycow42 Jun 24 '26
Does your laptop use UEFI or legacy BIOS?
Do you want to use UEFI or legacy BIOS?
How did you setup grub? (Which commands [or installer] and settings )
you could fix it post install by using an alternative boot method like a live CD or live USB and then mount the target system and chroot into it. Then fix grub settings and run the necessary grub commands. Which ones depends on what is actually wrong.
Some searching hints that device.map is related to BIOS however your laptop should by default use UEFI so either you changed that or something fails to properly work with UEFI (erfivars not mounted?).
systemd-boot exists in void. Don't know how well it works.
1
u/tokita_idkman Jun 26 '26
I haven't read all the comments. But maybe it has nothing to do with USBs version and more with that ISO got corrupted on the first USB? Happened to me before. Not this error, but some random errors without explanation. Make sure to run sync in terminal and let it finish before pulling out the USB.
1
u/Quietus87 Jun 24 '26
Systemd-boot? In an anti-systemd distro? Sounds like heresy.
2
u/BadSlime Jun 24 '26
Never had this issue across several different Thinkpad models or umpcs. Every time I've had an issue with grub it's been operator error
1
u/Kooky_Fox_1085 Jun 24 '26
Un lsblk e un errore sarebbe d'aiuto 💪🏻 se provi void poi non la molli attenzione!
1
u/Canadiangamer068 Jun 24 '26
void installed on an x13 gen 4 intel and its perfectly fine, went completely smooth. has been stable for 6 months now.
1
u/LowKeyBrit36 Jun 24 '26
Whenever I fill out
/etc/crypttaband/etc/fstab, I always useUUID=[uuid]to fill out my definitions. I think that people tend to list them less explicitly and it fails due to that, but I have never had a single mount related issue when taking that approach. I don't enjoy typing it, but I don't enjoy troubleshooting grub even more lol. Especially if you have multiple drives being mounted, or if you use multiple drives, it can get wonky imo1
u/yyg-linux Jun 25 '26
its not faulty.
1
u/miller_99 Jun 25 '26
Just use limine. The best bootloader rn
1
u/Simple_Hamster_4096 Jun 25 '26
I found this tidbit to be interesting about that grub device.map error......
"This error usually stems from an incomplete
chrootsession..."