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