upgrade revision 1.7 1 1.7 ross $NetBSD: upgrade,v 1.7 1998/05/13 19:07:46 ross Exp $
2 1.3 perry
3 1.4 ross The upgrade to NetBSD _VER is a binary upgrade; it can be quite difficult
4 1.4 ross to advance to a later version by recompiling from source due primarily
5 1.6 ross to interdependencies in the various components.
6 1.1 cjs
7 1.1 cjs Since upgrading involves replacing the boot blocks on your NetBSD
8 1.1 cjs partition, the kernel, and most of the system binaries, it has the
9 1.1 cjs potential to cause data loss. You are strongly advised to BACK UP ANY
10 1.1 cjs IMPORTANT DATA ON YOUR DISK, whether on the NetBSD partition or on
11 1.1 cjs another operating system's partition, before beginning the upgrade
12 1.1 cjs process.
13 1.1 cjs
14 1.7 ross The upgrade is mainly a simple matter of unpacking the distribution
15 1.7 ross tar archives on top of the previous distribution. You will need
16 1.7 ross first to boot the new boot floppy or INSTALL kernel and use
17 1.7 ross /usr/mdec/installboot to install new boot blocks. Then you may
18 1.7 ross extract a new kernel and the distribution sets as described in
19 1.7 ross section 4 of the installation instructions.
20 1.1 cjs
21 1.1 cjs After this point your machine is a complete NetBSD _VER system.
22 1.7 ross However, that doesn't mean that you are finished with the upgrade
23 1.1 cjs process. You will probably want to update the set of device nodes
24 1.1 cjs you have in /dev. If you've changed the contents of /dev by hand,
25 1.1 cjs you will need to be careful about this, but if not, you can just
26 1.2 cjs cd into /dev, and run the command "sh ./MAKEDEV all".
27 1.1 cjs
28 1.1 cjs You must also deal with certain changes in the formats of some of
29 1.1 cjs the configuration files. The most notable change is that we now
30 1.1 cjs have an /etc/rc.conf file which describes most configuration options,
31 1.1 cjs but also the "options" given to many of the file systems in /etc/fstab
32 1.1 cjs or by hand have changed, and some of the file systems have changed
33 1.1 cjs names. To find out what the new options are, it's suggested that
34 1.1 cjs you read the manual page for the file systems' mount commands, for
35 1.1 cjs example mount_nfs(8) for NFS.
36 1.1 cjs
37 1.1 cjs Finally, you will want to delete old binaries that were part of
38 1.1 cjs the version of NetBSD that you upgraded from and have since been
39 1.7 ross removed from the NetBSD distribution. IMPORTANT NOTE: if you
40 1.7 ross use NFS, remove /sbin/nfsd and /sbin/nfsiod; the new versions
41 1.1 cjs of these programs are in /usr/sbin.
42