Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Aug 2016 17:54:38 +0700
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        "Kevin P. Neal" <kpn@neutralgood.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Root on ZFS, LiveCD and BE
Message-ID:  <20160820105438.GA59960@admin.sibptus.transneft.ru>
In-Reply-To: <20160815231414.GA84125@neutralgood.org>
References:  <20160815145419.GA3619@admin.sibptus.transneft.ru> <20160815231414.GA84125@neutralgood.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kevin P. Neal wrote:
> > 
> > Which is the appropriate maillist to ask questions about Root-on-ZFS
> > systems? Like the ones below:
> 
> It's a reasonable place to start. Folks around here will point you in the
> right direction if the answer requires more expertise.

Folks, please do :-)

> > 2. Sometimes it's necessary to mount a system's root from another >
> > system (LiveCD, mfsBSD or similar). To do that, you have to import a >
> > ystem's zroot pool on another system. Is it safe? Is it not going to >
> > render the *original* system unbootable?
> 
> You can use the altroot property to be certain that anything automatically
> mounted gets mounted underneath the directory specified by that property.
> Give the zpool import command the "-o altroot=/some/path" option, and make
> sure that /some/path already exists.
> 
> You can also import with the "-N" option to prevent automatic mounting of
> datasets in the imported pool.
> 
> But, really, take a look at the mountpoint property for the root filesystem

Kevin, this is all good advice how not to screw up the second (fixit) system
into which the zroot of the first (original) one is being temporarily imported.
However, I am more concerned about not screwing up the first,
*original* system whose zroot is temporarily mounted to another fixit
system and then again used as a bootable root pool. 

What would you say about that? After I import a pool into a fixit
system, it won't become unbootable or something?

And I had another question, which was also important. I'll repeat
it in case it got missed somehow:

Boot environment selection from the loader menu does not work on
10.3-RELEASE, or it seems like it. I have submitted a PR
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211835
but maybe it's me doing something wrong? Could someone reproduce   
please?

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov@sibptus.tomsk.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160820105438.GA59960>