1 <!--#set var="title" value="DragonFly - Upgrading From FreeBSD 4" -->
2 <!--#include virtual="/includes/header.shtml" -->
4 <!-- $DragonFly: site/data/docs/upgrade-freebsd.shtml,v 1.1 2006/11/17 03:41:05 justin Exp $ -->
8 If you have a system running FreeBSD 4 (4.9 was the most recent release
9 at the time this document was written), it is possible to switch to DragonFly
10 "in-place" through downloading the DragonFly source and compiling it.
14 <LI> First, make sure you are running FreeBSD 4.9-RELEASE or later.
15 <code>uname -a</code> will tell you what version you are running.
16 Note: FreeBSD 5 versions will <b>not work</b> for this upgrade.
18 <LI> Remove any FreeBSD source files from your machine.
19 <I>All commands after this point should be run as root.</I>
27 <LI> If you do not have cvsup installed,
28 these commands will download and install it for you:
31 pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/cvsup-without-gui.tgz<BR>
35 <LI> Fetch a configuration file for cvsup and run cvsup using that file:
38 fetch http://www.dragonflybsd.org/community/dragonfly-cvs-supfile
41 Comment out the lines that say:
44 *default prefix=/home/dcvs<br>
48 and uncomment the lines that say:
51 #*default prefix=/usr<br>
52 #*default release=cvs tag=.
55 Run cvsup using that config file.
58 cvsup dragonfly-src-supfile
61 You now will have the DragonFly source files in /usr/src.
63 <I>Note: the newly created file <code>/usr/src/UPDATING</code> will have the
64 most up-to-date instructions on updating your system; double-check it
65 before proceeding.</I>
67 <LI> You will now want to compile the userland and the kernel.
75 <LI> Delete existing FreeBSD include files; having them available may cause
79 rm -rf /usr/include<BR>
83 <LI> Now, install the new DragonFly userland and kernel:
90 <LI> You will want to make sure your /etc directory is cleaned up:
96 <LI> You now can sync your disk and reboot your machine.
103 <LI> Congratulations! Your computer will boot into DragonFly!
104 Make sure to check <a href="/main/forums.cgi">the forums</a>
105 semi-regularly. If you have trouble booting, the bugs forum is
106 the first place to go.
108 You can repeat the cvsup/build/install steps on
109 this page to keep your system up to date with the changing
110 DragonFly codebase. (You will not have to repeat the
111 <code>make upgrade_etc</code> step.)
116 <!--#include virtual="/includes/footer.shtml" -->