Staying STABLE
Home ] Up ]


These are the steps that I followed to get my system up to STABLE!

  • First, you have to get the sources on your machine up to date.  You can do this by running:
    • pkg_add -f
  • Once that is complete, you will be presented with an 'All Finished' message that includes the following command, which can be used to keep your sources up-to-date, by either running the command from cron or /etc/daily.local:
    • /usr/local/bin/cvsup -g -L 2 /etc/cvsupfile
  • Reboot the system
  • Interrupt the boot process by hitting the spacebar before the 10 second timeout.
  • At the prompt, enter:
    • boot -as
  • At the "mountroot>" prompt, enter:
    • mountroot> ufs:/dev/ad0s2a
  • Hit return to accept the /bin/sh shell
  • Run the following command:
    • #fsck -y
  • Run the following command:
    • #mount -t ufs -a
  • Run the following command:
    • #swapon -a
  • Change to the /usr/src directory:
    • #cd /usr/src
  • Run the following command:
    • #make -j4 buildworld
  • Run the following command:
    • #make installworld
  • Run the following command:
    • #make buildkernel
  • Run the following command:
    • #make installkernel
  • Run the following command:
    • #mergemaster -vi
      • When you run mergemaster, you will be presented with a lot of file differences that you will have to manually reconcile.  When presented with the choices of what to do, I would chose 'm' to merge the files.  This will kick off 'sdiff', which will present you with choices of how to reconcile the differences.  I then chose 'e b' to edit the differences.  Once the editing is complete, you will be returned to the mergemaster menu where you can chose 'i' to install the new file.  This was always the part of the process that worried me, because there is so much chance for error.  I just happened to get it right this time, so I figured that I would document the exact process that I followed since I will surely forget.
  • Change to the /dev/ directory and remake all devices:
    • #cd /dev && /bin/sh MAKEDEV all
  • Change to the /usr/src/release/sysinstall directory and rebuild sysinstall:
    • #cd /usr/src/release/sysinstall && make all install
  • Run fastboot to reboot the machine.



My name is Michael Oliver, and I can be contacted by email here.
The current time is Monday, 19-Feb-2018 09:38:18 UTC.
This page was last modified on Friday, 11-Mar-2011 21:01:58 UTC.
This page has received 289 hits since April 02 2010.