Re: ZFS boot devices specification

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Sat, 07 Sep 2024 14:20:37 UTC
Karl Vogel <vogelke@pobox.com> writes:
> Ludovit Koren <ludovit.koren@gmail.com> writes:
> > I already had in /boot/loader.conf.  So these kernel variable
> > settings do not solve the problem.
> No, it's the "mountfrom=" line.

You shouldn't need to specify `mountfrom` manually.  The loader will
check the `bootfs` property of all available pools, so just make sure
your root pool has `bootfs` set correctly.  But I don't think that's
Ludovit's problem, anyway.  It sounds like the kernel is somehow trying
to mount the root filesystem before the disks are available (which
shouldn't happen; the last thing the kernel does before mounting root is
wait for all buses to settle), or maybe the pool can't be imported
because it wasn't exported cleanly.  We need more information, ideally a
complete boot log.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org