So I’ve really gone off the deep end here and I’ve tried to install Gentoo on my old netbook thing and I have everything working, except the import of the root pool on boot (which is basically everything). The thing that really confuses me is that when I try to boot, it drops me into a busybody recovery shell and I can manually import the pool, exit the shell, and everything boots fine. For some context, I use Gentoo on my desktop and server, but in a non-ZFS capacity. I’ve only used ZFS on my FreeNas box and that’s mostly through the web UI.
Whenever I try to boot with GRUB and I hit ‘e’ to edit, I can see the Linux line says
linux /vmlinuz-5.4.38-FC.01 root=ZFS=tank/gentoo/ROOT to dozfs real_root=ZFS=tank. I’ve tried different permuations of tank vs tank/gentoo vs tank/gentoo/ROOT for root and real_root, but to no avail. However, after I get to the recovery shell,
zpool import -R /mnt/root tank imports everything correctly to the /mnt/root directory. Then I can type exit and it boots fine. What gives?
Also, if you need more information please don’t hesitate to ask. As I said before, I don’t know where to look for these kind of issues so I don’t mind doing some digging.