Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2011 09:09:20 +0000
From:      krad <kraduk@gmail.com>
To:        Carl Chave <carl@chave.us>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: ZFS + GPT with root on memory stick and mirrored SATA drives
Message-ID:  <AANLkTikSjidOwHGSJ1U7P%2Ba7ycJeuDrxfoMBN8V4BJt3@mail.gmail.com>
In-Reply-To: <AANLkTimd5rSnEn61SgMcBShjnhqGVoGkxfAOqKCtwtiy@mail.gmail.com>
References:  <AANLkTi=veX-%2BS5sPXJXAHzcgTOBqsg-m8sf23LO%2B9b3_@mail.gmail.com> <AANLkTikcMscZHaC7DDR5PsZrUG4JtPtjwmkSd=MySfOi@mail.gmail.com> <AANLkTimd5rSnEn61SgMcBShjnhqGVoGkxfAOqKCtwtiy@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10 January 2011 21:46, Carl Chave <carl@chave.us> wrote:

> <snip>
> > echo -en "\n\nNow run these two commands to make the changes live, and
> > reboot
> >  zfs set mountpoint=legacy $zpool/be/$nroot
> >  zpool set bootfs=$zpool/be/$nroot $zpool\n\n"
>
> Thanks for the input krad.  It would be nice to easily switch back and
> forth but aren't you still stuck if everything blows up on that first
> reboot?  In order to switch back to the known working dataset you've
> got to get to a fixit prompt to set the correct bootfs property right?
>


unfortunatly at the moment yes, but all you have to do is reset the bootfs
property. It would be nice id you could do something from within the boot
loader similar to variables you can pass in grub with opensolaris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikSjidOwHGSJ1U7P%2Ba7ycJeuDrxfoMBN8V4BJt3>