Subject: Re: Upgrading from a 1.0 system ?
To: Tim Liddelow <tim@shoebox.cst.labtam.OZ.AU>
From: Alistair G. Crooks <agc@uts.amdahl.com>
List: netbsd-help
Date: 05/09/1995 00:30:38
> 	I have a NetBSD 1.0 system and have seen on the mailing lists various
> 	ways of updating to 1.0A.  I wish to upgrade, but want to know of
> 	any pitfalls and the _easiest_ way to upgrade.  I have access to sup.

The instructions below should help you to upgrade from 1.0 to 1.0a. 
I've taken into account last week's move of config to config.old, and
config.new to config, but note that you'll need to do some manual
stuff with flex this week.  The details were given out on
current-users, to which you should be subscribed if you're running
-current.

[Remember to make yourself a new config (not config.old) kernel config file.]
[Make sure you have COMPAT_10 as part of your kernel config options.]
[This assumes that the -current source is in /usr/src]

(cd /usr/src/usr.sbin/config ; make && make install && make cleandir)
# if you don't do this, config of your kernel config file will
# fail with errors in files.i386

(cd /usr/src/gnu/usr.bin/gas ; make && make install && make cleandir)
# if you don't do this, you won't be able to build locore.s, with
# errors about cpuid instruction not found

(cd /sys/arch/i386/conf ; config MYKERNEL)
(cd /sys/arch/i386/compile/MYKERNEL ; make depend && make)
# copy  new kernel to /, and boot off it

(cd /usr/src/share/mk ; make install)
# if you don't do this, you'll get errors building gcc, when it
# doesn't know how to make the manual pages (don't know how to make gcc.0)

(cd /usr/src/gnu/usr.bin/gcc2 ; make && make install && make cleandir)

# it was at this stage that I got REALLY fed up with the
# sh: warning: running as root with dot in PATH
(cd /usr/src/bin/sh ; make && make install &&  make cleandir)

(cd /usr/src/include ; make && make install)
(cd /usr/src/gnu/usr.bin/ld ; make && make install && make cleandir)
(cd /usr/src/lib ; make && make install && make cleandir)

# and now back to the beginning and make the world
(cd /usr/src/bin ; make && make install && make cleandir)
(cd /usr/src/sbin ; make && make install && make cleandir)

mkdir /usr/share/doc/usd/13.viref
# otherwise "make install" in /usr/src/usr.bin will fail because
# the destination directory doesn't exist - from Tom Thai

(cd /usr/src/usr.bin ; make && make install && make cleandir)
(cd /usr/src/usr.sbin ; make && make install && make cleandir)
(cd /usr/src/libexec ; make && make install && make cleandir)
(cd /usr/src/gnu ; make && make install && make cleandir)
(cd /usr/src/share ; make && make install && make cleandir)
(cd /usr/src/games ; make && make install && make cleandir)

Cheers,
Alistair
--
Alistair G. Crooks (agc@uts.amdahl.com)			   +44 125 234 6377
Amdahl European HQ, Dogmersfield Park, Hartley Wintney, Hants RG27 8TE, UK.
[These are only my opinions, and certainly not those of Amdahl Corporation]