# boot zfs root filesystem on grub

from [here](https://askubuntu.com/questions/1225751/recovering-a-borked-grub-with-a-ubuntu-19-10-zfs-root-filesystem)

For some reason, grub was broken. I need to be able to boot my linux from GRUB shell

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

the `gptXXX` i need to search around for a file until I found the `/BOOT` directory
