Re: poudriere-image(8): Cannot boot from a zrawdisk image type

From: Muhammad Moinur Rahman <bofh_at_freebsd.org>
Date: Tue, 24 May 2022 07:25:08 UTC
https://cgit.freebsd.org/src/commit/stand/libsa/zfs/zfs.c?id=1309bed8397f547fb94c529ff071a28b675c86a6

:D

Kind Regards,
Moin (bofh)

> On 23 May 2022, at 22:16, Faraz Vahedi <kfv@kfv.io> wrote:
> 
> Greetings hackers,
> 
> I am trying to boot from an image produced the following way:
> 
>    poudriere image -j dev -h test -n test -w 4g -s 20g -t zrawdisk
> 
> But I am getting into:
> 
>    Trying to mount root from zfs:testroot/ROOT/default []...
>    Mounting from zfs:testroot/ROOT/default failed with error 45; retrying for 3 more seconds
>    Mounting from zfs:testroot/ROOT/default failed with error 45.
> 
>    Loader variables:
>      vfs.root.mountfrom=zfs:testroot/ROOT/default
> 
>    Manual root filesystem specification:
>      <fstype>:<device> [options]
>          Mount <device> using filesystem <fstype>
>          and with the specified (optional) option list.
> 
>        eg. ufs:/dev/da0s1a
>            zfs:zroot/ROOT/default
>            cd9660:/dev/cd0 ro
>              (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)
> 
>      ?               List valid disk boot devices
>      .               Yield 1 second (for background tasks)
>      <empty line>    Abort manual input
> 
>    mountroot>
> 
> Any idea? I appreciate any help.
> 
> Cheers,
> Faraz