GRUB hates me. How do I fix GRUB without having to reinstall?

cyclerider

Dabbler
Joined
Nov 7, 2013
Messages
26
I keep having an issues where I'll reboot the server and grub has decided it doesn't want to work and boot TrueNAS Scale. This has happened on two different servers and it has happened multiple times. Grub will say it can't find a device and list a UUID, which seems to be a filesystem UUID. And I can't for the life of me figure out where its getting this UUID or what UUID its looking for. I've tried putting different UUIDs into the grub.cfg file and it will still say it cannot find the device with the UUID I'm trying. I've used blkid, fdisk and lsblk to try different UUIDS and nothing seems to have worked.

I have no idea why this has happened so many times to me and I don't want to reinstall TrueNAS everytime this happens. So any insight would be appreciated.
 

cyclerider

Dabbler
Joined
Nov 7, 2013
Messages
26
i used ZFSBootMenu to get into my TrueNAS install and tried running grub-mkconfig and update-grub and I get /usr/sbin/grub-probe: error: compression algorithm inherit not supported.
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
Where do you have TrueNAS installed? Not a USB stick I hope.
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
A ZFS Mirror of two 120GB SATA SSDs
It sounds like one of the drives are going bad maybe. Since it's a mirror, if you set the boot device to be the other sibling drive in the mirror, would it boot? Then hopefully, you can resilver the bad one once you're booted.

I don't run SCALE, so I don't use GRUB, but it shouldn't be corrupting your boot environment every once in a while. Did you check the SSD's SMART data?
 

cyclerider

Dabbler
Joined
Nov 7, 2013
Messages
26
It sounds like one of the drives are going bad maybe. Since it's a mirror, if you set the boot device to be the other sibling drive in the mirror, would it boot? Then hopefully, you can resilver the bad one once you're booted.

I don't run SCALE, so I don't use GRUB, but it shouldn't be corrupting your boot environment every once in a while. Did you check the SSD's SMART data?

once i'm in truenas, it works fine. No errors in SMART or zfs. And I've had this issue on two separate sets of hardware, so its probably something with Scale.
 
Top