How do I mount another system's zfs root partition on new system?

Jim Ohlstein jim at
Sat Aug 27 13:44:11 UTC 2016


On 08/27/2016 06:50 AM, Magnus Ahriman wrote:
> Hi all,
> I've recently installed a new system due to disk- and other problems. Now I
> want to mount the old system's zfs root on my new system (under a different
> path/not as actual root).
> What are the actual steps/commands to mount the old zfsroot under a
> mountpoint in my new system?

# zpool import -o altroot=/mnt oldzpool

> The root partition was encrypted, will I be asked to enter password upon
> mounting it?

I would think so.

Jim Ohlstein

More information about the freebsd-questions mailing list