![]() |
Now serving 104 guides. |
|
Update FreeBSD General Information This guide will walk a user through updating his source to follow FreeBSD's stable branch. Please make a full backup of the current system before following this guide.Requirements
Installation Login as root (or login as a user and su to root). Install cvsup and fastest_cvsup with either of the following methods.
/usr/src directory
/usr/src/UPDATING. This file will contain information that may be needed to properly update the FreeBSD source.Now it is time to compile this source. This is called building world.
Note: The GENERIC kernel, simply run the following command:[/code]
Note: To create a custom configuration file, go to Note: Installing the kernel and world in single-user mode is not required. It is only the safest method. If you wish, you can do the entire process from multi-user mode.
/usr/src directory.
GENERIC kernel, simply run the following command: directory.
mergemaster -p to compare only those files that are essential for the success of buildworld or installworld.
/var/tmp/temproot. Now install the new world.
Note: Unfortunately the mergemaster is the most complex and the least amount of help is provided. Understanding how mergemaster works will help. It compares the configuration files in use on the current system with the new configuration files from the newly compiles source. It uses diff to display both files at the same time. Lines that are new and will be added if the new configuration file is installed have a plus (+) sign by them. Lines that will be removed from the configuration file if you install the new one have a minus (-) sign by them. One tip is that if the changes are only to comment lines (comment lines begin with a pound (#) sign) it is usually safe to install the new configuration file. Another tip is that if there is a minus (-) sign next to something that needs to be kept, do not install the new file but either leave the file to be dealt with manually or merge the two files. Note: It is common to run mergemaster multiple times. Reboot the system.
Note: It is a good idea to update the ports tree after rebuilding from source. See the following guide for updating the ports tree. Author: Jared Barneck Find this guide useful?
Support the author: 1 Comment Posted by rhyous on December 19, 2006 at 4:05:56 am EET
As of 6.2-RC1 you may have to run mergemaster -p before you run 'make installworld'.
Really, /etc/group needs a new group called "audit". I haven't tried to just add the audit group to /etc/group without running 'mergmaster -p' but I assume that would be good enough. When 'mergemaster -p' comes to /etc/group, choose m to merge the new file with the current file. This will add the audit group. You probably don't have to run 'mergemaster -p' afterward installing world but you can if you want to or need to. |
Copyright 2003 - 2008 BSD Guides. All rights reserved. |
About | Terms of Use | Privacy | Contact |

