Upgrading 14.0 → 14.1

Operating System

  1. # cd /usr/src/sys/arch/conf
  2. /usr/src/sys/arch/conf# diff GENERIC $KERNCONF > $KERNCONF.diff
  3. # cd /usr/src
  4. /usr/src# git checkout releng/14.1
  5. /usr/src# git pull
  6. Configure /usr/src/sys/arch/conf/$KERNCONF
  7. /usr/src# rm -rf /usr/obj
  8. /usr/src# make buildworld
  9. /usr/src# make buildkernel
  10. /usr/src# make installkernel
  11. /usr/src# reboot
  12. /usr/src# mergemaster -p
  13. /usr/src# make installworld
  14. /usr/src# mergemaster -iFU
  15. /usr/src# yes | make delete-old
  16. /etc/ssh/sshd_config: X11Forwarding

Mail System

  1. # cd /etc/mail
  2. mailer.conf (sendmail)
  3. /etc/mail# make install
  4. /etc/mail# newaliases
  5. /usr/src# reboot

Ports Collection / User Application

  1. /usr/local/lib/compat/pkg# (remove old libraries)
  2. # pkg bootstrap -f
  3. /usr/ports# make update
  4. # pkg update
  5. /usr/ports# portupgrade -anr
  6. /usr/ports# portupgrade -arc
  7. (# pkg delete ruby*)
  8. (ports-mgmt/portupgrade# make install)
  9. (textproc/rubygem-asciidoctor# make install)
  10. # portupgrade -afc       (portupgrade -afcx package)
  11. Recompile user applications

Operating System

  1. cd /usr/src
  2. /usr/src# yes | make delete-old-libs

Miscellaneous

EDB/Java RMI

  1. cd /usr/local/etc/rc.d/
  2. cp /home/private/edbjavarmi/rc.d/edbjavarmi .

ZFS

  1. zpool upgrade -a
  2. (upgrade boot partitions: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1or2 device)
    (1or2... determine freebsd-boot partition using "# gpart show")
  3. (update efi)
    • # mount_msdosfs /dev/devicep1 /boot/efi
    • # cp /boot/loader.efi /boot/efi/efi/boot/BOOTx64.efi
    • # umount /boot/efi