Skip to content

Instantly share code, notes, and snippets.

@TypedLambda
Created January 31, 2018 08:16
Show Gist options
  • Save TypedLambda/0da7ae3bebdf4c9e7c51d4cb2ef403f9 to your computer and use it in GitHub Desktop.
Save TypedLambda/0da7ae3bebdf4c9e7c51d4cb2ef403f9 to your computer and use it in GitHub Desktop.
Abridged upgrading work VM from FreeBSD 11.0-RELEASE to FreeBSD 11.1-RELEASE with Boot Environments
bil@fbsd-bil:~ %>su -
Password:
root@fbsd-bil:~ # beadm create 11.1-RELEASE
Created successfully
root@fbsd-bil:~ # beadm mount 11.1-RELEASE /mnt
Mounted successfully on '/mnt'
root@fbsd-bil:~ # freebsd-update upgrade -b /mnt -r 11.1-RELEASE
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 11.0-RELEASE from update6.freebsd.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.
[-- SNIP! Lots of stuff here we don't care about seeing--]
/boot/kernel/acl_posix1e.ko
/boot/kernel/acpi_asus.ko
To install the downloaded upgrades, run "/usr/sbin/freebsd-update install".
root@fbsd-bil:~ # freebsd-update install -b /mnt
src component not installed, skipped
Installing updates...
Kernel updates have been installed. Please reboot and run
"/usr/sbin/freebsd-update install" again to finish installing updates.
root@fbsd-bil:~ # freebsd-update install -b /mnt
src component not installed, skipped
Installing updates...
Completing this upgrade requires removing old shared object files.
Please rebuild all installed 3rd party software (e.g., programs
installed from the ports tree) and then run "/usr/sbin/freebsd-update install"
again to finish installing updates.
root@fbsd-bil:~ # freebsd-update install -b /mnt
src component not installed, skipped
Installing updates... done.
root@fbsd-bil:~ # beadm umount 11.1-RELEASE
Unmounted successfully
root@fbsd-bil:~ # beadm activate 11.1-RELEASE
Activated successfully
root@fbsd-bil:~ # reboot
bil@fbsd-bil:~ %>freebsd-version -ku
11.1-RELEASE
11.1-RELEASE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment