FreeBSD ZFS on root. Access zroot from a live CD
<-----69------------------------------------------------------------>
I managed to access my zroot partition from a live CD by Following
the steps below.
Boot into Live CD
run zpool import to get name of zpool (probably zroot)
# zpool import
create a mountpoint for zpool:
# mkdir -p /tmp/zroot
import zpool:
# zpool import -fR /tmp/zroot zroot
create a mountpoint for zfs /:
# mkdir /tmp/root
mount /:
# mount -t zfs zroot/ROOT/default /tmp/root
the directories will now be available in /tmp/root
make changes or save your stuff as needed
export zpool:
# zpool export zroot
boot normally
thanks to Datapanic
https://forums.freebsd.org/threads/how-to-mount-a-zfs-partition.61112/