Sunday, January 27, 2013

FreeBSD upgrade

I just finished upgrading host pdp from FreeBSD 9.0 to 9.1. There are few commands to get job done but lots of effort involved.

Four steps to upgrade from 9.0 to 9.1:
  1. to gather information necessary for the upgrade
    freebsd-update -r 9.1-RELEASE upgrade
  2. committing the upgrade
    freebsd-update install
  3. rebooting the system
    shutdown -r now
  4. committing the second phase installation
    freebsd-update install
Most effort was paid to upgrade installed packages/applications. A brute-force rebuild of all installed packages was done with:

portupgrade -af

which takes long hours. With the help from screen, it ran smoothly, thought taking more than 1 day.

No comments:

Post a Comment