Hi.  Using dracut and systemd I am having a terrible time trying to boot
a system whose root file system is zfs, along with some other datasets I
have created in the pool.  the zfs module does load, but it cannot find
the pool.  It gets to the sysroot.mount service and dies.  I think the
problem seems to  have something to do with how I specify the root
parameter in the kernel command line.  The pool has a dataset called
root with the bootfs parameter.  I tried specifying root=rpool/root
rootfstype=zfs, but no joy.  I also tried root=ZFS=rpool/root but  that
didn't work either. I also tried root=ZFS:rpool/root but that didn't
work either.  I found those possibilities on the net, at least two of
them inthe various gentoo wikis.

Also, I want to be sure I am using the correct ffstab entry -- I have
rpool/root          /         zfs       defaults 0 0
and similar.

At the point where it dies, dracut has not imported the pool and
importing and mounting it works, but the boot will not continue.

I am using kernel 4.1.15 and 6.5.3 zfs components.

Thanks in advance for any suggestions.




-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         [email protected]

Reply via email to