Time to update your system, the easy way.
Backup your important files, just incase.
1) Installing Cvsup.
#cd /usr/ports/net/cvsup-bin/
#make -D WITHOUT_X11 install clean
2) Cvsuping.
Change the host to your local cvsup server.
#ee /usr/share/examples/cvsup/stable-supfile
#/usr/local/bin/cvsup -g -L 2 /usr/share/examples/cvsup/stable-supfile
3) Deleting previous cvsup attempts.
# cd /usr/obj
# chflags -R noschg *
# rm -rf *
4) Compiling the new sources
# cd /usr/src
# make buildworld
5) Compile and installing your kernel
# cd /usr/src/sys/i386/conf
# /usr/sbin/config YOURKERNEL
# cd ../../compile/YOURKERNEL
# make depend
# make
# make install
If you have problems making your kernel, you can clean the source up by doing a "config -r YOURKERNEL".
6) Reboot to single user mode. This may not be necessary if you are running 4.x-Stable.
# shutdown now
# mount -u /
# mount -a -t ufs
# swapon -a
7) Make Installworld
# cd /usr/src
# make installworld
8) Now we come to the list of mergemaster "must-do's". If you have installed new features, mergemaster will try to add the new configuration files into /etc. This install has to be done for the new modules to work properly. Mergemaster will tell you the there is no previous version and do you want to install the new file. The only safe answer is to "i" insert the new file.
Updating /etc/:
# cp -Rp /etc /etc.old
# /usr/sbin/mergemaster -v -w 132
9) Update /dev/
# cd /dev
# ./MAKEDEV all
10) You can either "exit" or "reboot" back into Multi-User mode.
Article By: Whisky
whisky@gatewaybsd.au.com
cvsup and buildworld
|
|
|
|
[Home] [FBSD Articles] [Scripts Corner] [Contribute] [Search] [FBSD Links] [Files]
About Us
FreeBSD Articles
*Hardware
*Networking
*Security
*Software
*X Windows
Forums
Defcon1 Forum
Files / Scripts
Newbies Corner
Tech. Talk
Tips and Tricks
FreeBSD Links
Articles in other
Languages :
*French Articles
*Spanish Articles
Want to Help ?
Click Here
Email Users

This site cannot be duplicated without permission
© 1998 - 2008 Defcon1, www.defcon1.org , Copyrights for all materials on this web site are held by the individual authors, artists, photographers or creators. Materials may not be reproduced or otherwise distributed without permission
of www.defcon1.org and the content's original author.