You are not logged in.

#1 2016-09-27 17:44:22

RankoKohime
Member
Registered: 2014-01-08
Posts: 87
Website

Fixing Grub on a ZFS install

I've built an arch install on top of a ZFS root, which has worked for a while, but now I'm having some issues booting.  This started when I added

net.ifnames=0

to /etc/default/grub, and then ran grub-mkconfig.  I cannot remember now whether I got errors at that stage, but upon rebooting I'm greeted with the following:

GRUB loading...
Welcome to GRUB!

error: no such device: 34a210a061e85c2c
error: unknown filesystem.
Entering rescue mode
grub rescure>

From the live environment, I rolled back to a previous snapshot, such that my entire /boot directory was consistent with it's state a week ago.  This produced the same results.

I also tried re-installing Grub.  grub-install finishes without error, but mkconfig produces the follow results:

[root@archiso /]# grub-mkconfig -o /boot/grub/grub.cfg 
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image(s) in /boot: initramfs-linux.img
Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.
squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on sda1
squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on sdb1
squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on sdc1
squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on sdd1
squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on sde1
squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on sdf1
grub-probe: error: cannot find a GRUB drive for /dev/sdg1.  Check your device.map.
done

It should be noted that I am NOT using lvm, ZFS is handling sda-sdf.  sdg is the live USB.

Offline

#2 2016-09-27 18:08:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Fixing Grub on a ZFS install

Not an Installation issue, moving to Apps and DEs...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB