Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 2014 15:11:46 +0000
From:      krad <kraduk@gmail.com>
To:        Mike Clarke <jmc-freebsd2@milibyte.co.uk>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Root-on-ZFS upgrade question
Message-ID:  <CALfReye9buP2D74ihCrgYko4W1_tEz6fR3qEvBefYv4YuMwoKw@mail.gmail.com>
In-Reply-To: <4424214.PdRTGivWqz@curlew.lan>
References:  <545409E0.9030809@bluerosetech.com> <5454B500.5030501@infracaninophile.co.uk> <4424214.PdRTGivWqz@curlew.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
I would go old school and do a buildworld and kernel, then set the DESTDIR
variable when you do the install parts and mergmaster

Then activate and reboot.

finally tweak pkg.conf to point at 10 rather than 9, and then do a pkg
upgrade -f

On 1 November 2014 22:35, Mike Clarke <jmc-freebsd2@milibyte.co.uk> wrote:

> On Saturday 01 Nov 2014 10:25:04 Matthew Seaman wrote:
>
> > If your original system had been maintained via freebsd-update(8)
> > you could just use that to upgrade to 10.1-RELEASE in place -- when
> > it tells you to reboot, just run freebsd-update again.
>
> I think the second run of freebsd-update needs to be applied after
> booting into the new environment so do it after the beadm activate
> step.
>
> An alternative approach is to activate the new environment immediately
> after creating it and then reboot and upgrade the new environment to
> rev. 10 in the "conventional" way.
>
> The chroot approach means that you can sort out upgrading the OS and
> reinstalling all the ports at leisure without disrupting your working
> system until you're ready for the final switch over. I normally use
> this approach for major port upgrades and dot level system upgrades
> within the same release level but I had problems with upgrading from
> 9.1 to 10.0 due, I assune, to incompatibilities between the 10.0
> applications and the running 9.1 kernel.
>
> If you want to keep the option of reverting to your 9.x system after
> the upgrade then you need to make sure that all OS release level
> dependant directories like most of /usr and /usr/local are contained
> in the boot environment. On the other hand you can save disk space and
> download time by placing /usr/ports/distfiles outside of the boot
> environment. You will probably also want to keep /var/log, /var/mail
> and application databases, e.g. /var/db/mysql, outside of the boot
> environment.
>
> --
> Mike Clarke
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>



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