*BSD News Article 27475


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!EU.net!ieunet!news.ieunet.ie!jkh
From: jkh@whisker.hubbard.ie (Jordan K. Hubbard)
Newsgroups: comp.os.386bsd.development
Subject: Going from FreeBSD 1.0.2 to FreeBSD-current
Date: 17 Feb 1994 05:57:27 GMT
Organization: Jordan Hubbard
Lines: 68
Distribution: world
Message-ID: <JKH.94Feb17055727@whisker.hubbard.ie>
NNTP-Posting-Host: whisker.hubbard.ie

I've had a lot of folks ask what the best way of going about this
is, so here's a short synopsis that Terry L. and I have put together.

This still assumes that you know a bit about what you are doing and
all my earlier comments about who should and who should not run
-current still apply!

This also assumes that /usr/src/ contains a _FULL_ FreeBSD-current
source tree and ftp'd or sup'd from freebsd.cdrom.com (or one of our
mirror sites):

BUILD SEQUENCE:

cd /usr/src/share/mk
make install
cd /usr/src/include
make install
cd /usr/src/usr.sbin/config
make all install
cd /usr/src/sbin/mount_procfs
make all install

Now add the following to your /etc/fstab file:

proc            /proc           procfs  rw 0 0

And continue with the kernel:

cd /usr/src/sys/i386/conf
# If a recent update, you will have to edit the config to change the fd
* controller from fd0 to fdc0...

config <configname>			# ie: "config GENERICAH"
cd ../../compiler/<configname>
vi Makefile
<add -D__FreeBSD__ to the CFLAGS line - this is transitional only>
<change the -Z in the Makefile SYSTEM_LD line to a -z - transitional only>

make depend
make
# Assuming it works...
mv /386bsd /386bsd.old
mv 386bsd /386bsd
sync
sync
sync
reboot

...THEN you can make your "bootstrapld" target, followed by a make world.

Before rebooting again (after the make world completes successfully)
remake your password database by doing a `vipw' and just touching the
file so that it gets rebuild (delete a character and add it back
again, or something).  The database format has changed slightly and it
is necessary to remake the database so that all the tools see the new
format (or you won't be able to log in again when you reboot! :-).
Now reboot to get all the new system binaries running.  Congrats,
you're running freebsd-current (~1.1 BETA)!

You should now be able to configure/build kernels or sources in pretty
much any order and without editing.  The steps marked "transitional"
above were truly that, transitional.

				Jordan

--
Jordan K. Hubbard	FreeBSD core team	Electric Bivalves Anonymous
On the net, no one can hear you scream.