Upgrading 13.2 → 14.0
Operating System
- # cd /usr/src/sys/arch/conf
- /usr/src/sys/arch/conf# diff GENERIC $KERNCONF > $KERNCONF.diff
- # cd /usr/src
- /usr/src# git checkout releng/14.0
- /usr/src# git pull
- Configure /usr/src/sys/arch/conf/$KERNCONF
- /usr/src# rm -rf /usr/obj
- /usr/src# make buildworld
- /usr/src# make buildkernel
- /usr/src# make installkernel
- /usr/src# reboot
- /usr/src# mergemaster -p
- /usr/src# make installworld
- /usr/src# mergemaster -iFU
- /usr/src# yes | make delete-old
- /etc/ssh/sshd_config: X11Forwarding
Mail System
- # cd /etc/mail
- mailer.conf (sendmail)
- /etc/mail# make install
- /etc/mail# newaliases
- /usr/src# reboot
Ports Collection / User Application
- /usr/local/lib/compat/pkg# (remove old libraries)
- # pkg bootstrap -f
- /usr/ports# make update
- # pkg update
- /usr/ports# portupgrade -anr
- /usr/ports# portupgrade -arc
- (# pkg delete ruby*)
- (ports-mgmt/portupgrade# make install)
- (textproc/rubygem-asciidoctor# make install)
- # portupgrade -afc (portupgrade -afcx package)
- Recompile user applications
Operating System
- cd /usr/src
- /usr/src# yes | make delete-old-libs
Miscellaneous
EDB/Java RMI
- cd /usr/local/etc/rc.d/
- cp /home/private/edbjavarmi/rc.d/edbjavarmi .
ZFS
- zpool upgrade -a
- (upgrade boot partitions: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1or2 device)
(1or2... determine freebsd-boot partition using "# gpart show")
- (update efi)
- # mount_msdosfs /dev/devicep1 /boot/efi
- # cp /boot/loader.efi /boot/efi/efi/boot/BOOTx64.efi
- # umount /boot/efi