Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Aug 2016 09:44:04 -0400
From:      Jim Ohlstein <jim@ohlste.in>
To:        Magnus Ahriman <magnus.ahriman@gmail.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: How do I mount another system's zfs root partition on new system?
Message-ID:  <3cf460d4-9ebc-c473-a369-5b30f498176d@ohlste.in>
In-Reply-To: <CAM4nNt8Aivpauh5ZtChBYLAo1R_2aMiQrOJq6o82-sPpCXS-2g@mail.gmail.com>
References:  <CAM4nNt8Aivpauh5ZtChBYLAo1R_2aMiQrOJq6o82-sPpCXS-2g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3cf460d4-9ebc-c473-a369-5b30f498176d>