Upgrading FreeBSD 9.2 to 10.0-RC4 on Rackpsace’s instance
In reality it turned out to be a fairly straightforward procedure:
- This is crucial. You must save XENHVM config before the upgrade otherwise you won’t be able to re-build the kernel which is required to bring the network up.
# cp /usr/src/sys/amd64/conf/XENHVM /root/amd64_XENHVM # cp /usr/src/sys/i386/conf/XENHVM /root/i386_XENHVM
# freebsd-update -r 10.0-RC4 upgrade Looking up update.FreeBSD.org mirrors... 5 mirrors found. Fetching metadata signature for 9.2-RELEASE from update5.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. WARNING: This system is running a "xenhvm" kernel, which is not a kernel configuration distributed as part of FreeBSD 9.2-RELEASE. This kernel will not be updated: you MUST update the kernel manually before running "/usr/sbin/freebsd-update install". ... Skipped for brevity ... To install the downloaded upgrades, run "/usr/sbin/freebsd-update install".
# cd /usr/src # cp /root/amd64_XENHVM /usr/src/sys/amd64/conf/XENHVM # cp /root/i386_XENHVM /usr/src/sys/i386/conf/XENHVM # make buildkernel KERNCONF=XENHVM # make installkernel KERNCONF=XENHVM # shutdown -r now
# freebsd-version 10.0-RC4
on November 18, 2014 at 9:55 pm
·