upgrade from 8.2 to 9.0

Mike Clarke jmc-freebsd2 at milibyte.co.uk
Sat Jan 14 16:04:09 UTC 2012


On Saturday 14 January 2012, Dick Hoogendijk wrote:

> I had not heard of this project before. Sounds very nice if it works.
> Manging BE's is one of the main things I miss in the FreeBSD ZFS
> support. Coming from (open)Solaris this was quite a disappointment.
> BE's rock!

Yes, it's working fine here.

You can even upgrade a new environment while you continue working with 
the current one with

   manageBE create -n <newBE> -s <sourceBE> -p <pool>
   manageBE freebsd-upgrade -n <newBE> -p <pool> -r <release>
   manageBE activate -n <newBE> -p <pool>

Then reboot into the new BE and complete the upgrade with the 
final "freebsd-update install" step. But I needed to 
change "chroot /${bootfs}" near the end of the script 
to "chroot /${pool}/ROOT/${bootfs}" to get "manageBE freebsd-upgrade" 
command to work.

Along similar lines, if you need to do a massive ports upgrade which you 
suspect might go pear shaped then you can do it in a new BE without 
upsetting your working system:

   chroot /tank/ROOT/newBE mount -t devfs devfs /dev
   chroot /tank/ROOT/newBE portmaster -a
   chroot /tank/ROOT/newBE umount /dev

... then, if all went well,  activate the new BE and reboot.

-- 
Mike Clarke


More information about the freebsd-questions mailing list