New install on ZFS boots to Grub CLI

I did a fresh install of 22.04 to a PCI-E NVME drive, and I chose ‘Advanced’ in the disk setup and picked ZFS. I am using EFI.

When the system reboots, it goes directly into the Grub CLI. I can get the system to boot normally if I do:

set root=(hd0,gpt3)
linux /BOOT/ubuntu_vg4nyt/@/vmlinuz root=ZFS=rpool/ROOT/ubuntu_vg4nyt boot=zfs
initrd /BOOT/ubuntu_vg4nyt/@/initrd.img
boot

Once booted, how do I fix this?

I was able to fix it … once booted, I followed the official OpenZFS steps for Ubuntu 22.04, step 5, items 1-3, 5 and 6 here.

1 Like