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