After several attempts and paying extreme attention to what was happening I have come up with the following directions to upgrade from FreeBSD 9.0 to FreeBSD 9.1 on a Rackspace Cloud Server.
Note: If these directions are not followed exactly than you may end up with a still running FreeBSD 9.0 kernel, see “uname -a” to check, or a non-booting system due to the ZFS error, “The kernel fails to mount a ZFS root filesystem with error 2.”
- Login as root
- cd /root
- cp /usr/src/sys/amd64/conf/XENHVM /root/XENHVM
- ftp ftp.freebsd.org://pub/FreeBSD/releases/amd64/amd64/9.0-RELEASE/src.txz
- tar -C / -xvzf src.txz
- /usr/sbin/freebsd-update -r 9.1-RELEASE upgrade
- /usr/sbin/freebsd-update install
- cp /root/XENHVM /usr/src/sys/amd64/conf/XENHVM
- cd /usr/src
- make buildkernel KERNCONF=XENHVM
- make installkernel KERNCONF=XENHVM
- shutdown -r now
- Login as root
- cd /root
- /usr/sbin/freebsd-update install
- cp /root/XENHVM /usr/src/sys/amd64/conf/XENHVM
- cd /usr/src
- make buildkernel KERNCONF=XENHVM
- make installkernel KERNCONF=XENHVM
- shutdown -r now
- Hard Reboot
To download a copy of the instructions click on: Rackspace FreeBSD Upgrade
Need direct help? Contact us at Sequential Logic.