head	1.4;
access;
symbols
	perseant-exfatfs-base-20261102:1.4
	perseant-exfatfs-base-20250801:1.4
	perseant-exfatfs-base-20240630:1.4
	perseant-exfatfs:1.4.0.48
	perseant-exfatfs-base:1.4
	cjep_sun2x:1.4.0.46
	cjep_sun2x-base:1.4
	cjep_staticlib_x-base1:1.4
	cjep_staticlib_x:1.4.0.44
	cjep_staticlib_x-base:1.4
	phil-wifi-20200421:1.4
	phil-wifi-20200411:1.4
	phil-wifi-20200406:1.4
	pgoyette-compat-merge-20190127:1.4
	pgoyette-compat-20190127:1.4
	pgoyette-compat-20190118:1.4
	pgoyette-compat-1226:1.4
	pgoyette-compat-1126:1.4
	pgoyette-compat-1020:1.4
	pgoyette-compat-0930:1.4
	pgoyette-compat-0906:1.4
	pgoyette-compat-0728:1.4
	pgoyette-compat-0625:1.4
	pgoyette-compat-0521:1.4
	pgoyette-compat-0502:1.4
	pgoyette-compat-0422:1.4
	pgoyette-compat-0415:1.4
	pgoyette-compat-0407:1.4
	pgoyette-compat-0330:1.4
	pgoyette-compat-0322:1.4
	pgoyette-compat-0315:1.4
	pgoyette-compat:1.4.0.42
	pgoyette-compat-base:1.4
	perseant-stdc-iso10646:1.4.0.40
	perseant-stdc-iso10646-base:1.4
	prg-localcount2-base3:1.4
	prg-localcount2-base2:1.4
	prg-localcount2-base1:1.4
	prg-localcount2:1.4.0.38
	prg-localcount2-base:1.4
	pgoyette-localcount-20170426:1.4
	bouyer-socketcan-base1:1.4
	pgoyette-localcount-20170320:1.4
	bouyer-socketcan:1.4.0.36
	bouyer-socketcan-base:1.4
	pgoyette-localcount-20170107:1.4
	pgoyette-localcount-20161104:1.4
	localcount-20160914:1.4
	pgoyette-localcount-20160806:1.4
	pgoyette-localcount-20160726:1.4
	pgoyette-localcount:1.4.0.34
	pgoyette-localcount-base:1.4
	netbsd-5-2-3-RELEASE:1.4
	netbsd-5-1-5-RELEASE:1.4
	yamt-pagecache-base9:1.4
	yamt-pagecache-tag8:1.4
	tls-earlyentropy:1.4.0.30
	tls-earlyentropy-base:1.4
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.4
	riastradh-drm2-base3:1.4
	netbsd-5-2-2-RELEASE:1.4
	netbsd-5-1-4-RELEASE:1.4
	netbsd-5-2-1-RELEASE:1.4
	netbsd-5-1-3-RELEASE:1.4
	agc-symver:1.4.0.32
	agc-symver-base:1.4
	tls-maxphys-base:1.4
	yamt-pagecache-base8:1.4
	netbsd-5-2:1.4.0.28
	yamt-pagecache-base7:1.4
	netbsd-5-2-RELEASE:1.4
	netbsd-5-2-RC1:1.4
	yamt-pagecache-base6:1.4
	yamt-pagecache-base5:1.4
	yamt-pagecache-base4:1.4
	netbsd-5-1-2-RELEASE:1.4
	netbsd-5-1-1-RELEASE:1.4
	yamt-pagecache-base3:1.4
	yamt-pagecache-base2:1.4
	yamt-pagecache:1.4.0.26
	yamt-pagecache-base:1.4
	bouyer-quota2-nbase:1.4
	bouyer-quota2:1.4.0.24
	bouyer-quota2-base:1.4
	matt-nb5-pq3:1.4.0.22
	matt-nb5-pq3-base:1.4
	netbsd-5-1:1.4.0.20
	netbsd-5-1-RELEASE:1.4
	netbsd-5-1-RC4:1.4
	netbsd-5-1-RC3:1.4
	netbsd-5-1-RC2:1.4
	netbsd-5-1-RC1:1.4
	netbsd-5-0-2-RELEASE:1.4
	netbsd-5-0-1-RELEASE:1.4
	jym-xensuspend-nbase:1.4
	netbsd-5-0:1.4.0.18
	netbsd-5-0-RELEASE:1.4
	netbsd-5-0-RC4:1.4
	netbsd-5-0-RC3:1.4
	netbsd-5-0-RC2:1.4
	jym-xensuspend:1.4.0.16
	jym-xensuspend-base:1.4
	netbsd-5-0-RC1:1.4
	netbsd-5:1.4.0.14
	netbsd-5-base:1.4
	yamt-pf42-base4:1.4
	yamt-pf42-base3:1.4
	hpcarm-cleanup-nbase:1.4
	yamt-pf42-base2:1.4
	yamt-pf42:1.4.0.12
	yamt-pf42-base:1.4
	mjf-devfs2:1.4.0.10
	mjf-devfs2-base:1.4
	keiichi-mipv6:1.4.0.8
	keiichi-mipv6-base:1.4
	mjf-devfs:1.4.0.6
	mjf-devfs-base:1.4
	cube-autoconf:1.4.0.4
	cube-autoconf-base:1.4
	hpcarm-cleanup:1.4.0.2
	hpcarm-cleanup-base:1.4
	netbsd-1-4-PATCH003:1.3
	netbsd-1-4-PATCH002:1.3
	netbsd-1-4-PATCH001:1.3
	netbsd-1-4-RELEASE:1.3
	netbsd-1-4:1.3.0.2
	netbsd-1-4-base:1.3
	netbsd-1-3-PATCH003:1.1.1.1.2.2
	netbsd-1-3-PATCH003-CANDIDATE2:1.1.1.1.2.2
	netbsd-1-3-PATCH003-CANDIDATE1:1.1.1.1.2.2
	netbsd-1-3-PATCH003-CANDIDATE0:1.1.1.1.2.2
	netbsd-1-3-PATCH002:1.1.1.1.2.2
	netbsd-1-3-PATCH001:1.1.1.1.2.2
	netbsd-1-3-RELEASE:1.1.1.1.2.2
	netbsd-1-3:1.1.1.1.0.2
	INITIAL:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.4
date	99.05.19.04.28.58;	author gwr;	state dead;
branches;
next	1.3;

1.3
date	99.01.13.07.30.09;	author ross;	state Exp;
branches;
next	1.2;

1.2
date	98.01.09.18.47.46;	author perry;	state Exp;
branches;
next	1.1;

1.1
date	97.12.25.06.37.13;	author jeremy;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.12.25.06.37.13;	author jeremy;	state Exp;
branches
	1.1.1.1.2.1;
next	;

1.1.1.1.2.1
date	97.12.25.06.37.13;	author perry;	state dead;
branches;
next	1.1.1.1.2.2;

1.1.1.1.2.2
date	97.12.25.20.22.58;	author perry;	state Exp;
branches;
next	;


desc
@@


1.4
log
@obsolete
@
text
@.\"	$NetBSD: upgrade,v 1.3 1999/01/13 07:30:09 ross Exp $	
.\"
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\"    must display the following acknowledgement:
.\"        This product includes software developed by the NetBSD
.\"        Foundation, Inc. and its contributors.
.\" 4. Neither the name of The NetBSD Foundation nor the names of its
.\"    contributors may be used to endorse or promote products derived
.\"    from this software without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.
.Nx \*V
is the first release in which NetBSD/sun3x is available.
Therefore, there is no official upgrade path. However, there may
be some who have installed a snapshot of the port while it was still
in development. These notes are included for them.

The miniroot image contains an upgrade program which was originally copied
from the NetBSD/sun3 distribution. However, it cannot be used with
NetBSD/sun3x because it expects a NetBSD/sun3 1.2 setup.
.
.so ../sun3/upgrade
@


1.3
log
@Markup for -mdoc and -mdoc2html.
@
text
@d1 1
a1 1
.\"	$NetBSD: upgrade,v 1.2 1998/01/09 18:47:46 perry Exp $	
@


1.2
log
@RCS Id Police.
@
text
@d1 37
a37 4
	$NetBSD$	

NetBSD _VER is the first release in which NetBSD/sun3x is available.
Therefore, there is no official upgrade path.  However, there may
d39 1
a39 1
in development.  These notes are included for them.
d42 1
a42 1
from the NetBSD/sun3 distribution.  However, it cannot be used with
d44 2
a45 66

However, while using the miniroot's upgrade program is the preferred method
of upgrading your system, it is still possible to upgrade your system
manually.  To do this, follow the following procedure:

	* Place _at least_ the `base' binary set in a filesystem
	  accessible to the target machine.  A local filesystem
	  is preferred, since the NFS subsystem in the NetBSD _VER
	  kernel may be incompatible with your old binaries.

	* Back up your pre-existing kernel and copy the _VER
	  kernel into your root partition.

	* Reboot with the _VER kernel into single-user mode.
	  (Otherwise you can not install the boot block.)

	* Check all filesystems:

		/sbin/fsck -pf

	* Mount all local filesystems:

		/sbin/mount -a -t nonfs

	* If you keep /usr or /usr/share on an NFS server, you
	  will want to mount those filesystems as well.  To do
	  this, you will need to enable the network:

		sh /etc/netstart

	* Run the update(8) daemon, to ensure that new programs
	  are actually stored on disk.

		update

	* Make sure you are in the root filesystem and extract
	  the `base' binary set:

		cd /
		tar --unlink -zxvpf /path/to/base.tar.gz

	  NOTE: the `--unlink' option is _very_ important!

	* Install a new boot block:
	  (assuming root is on /dev/rsd0a)

		cd /usr/mdec
		cp -p ./ufsboot /mnt/ufsboot
		sync ; sleep 1 ; sync
		./installboot -v /ufsboot bootxx /dev/rsd0a

	* Sync the filesystems:

		sync

	* At this point you may extract any other binary sets
	  you may have placed on local filesystems, or you may
	  wish to extract additional sets at a later time.
	  To extract these sets, use the following commands:

		cd /
		tar --unlink -zxvpf <path to set>

NOTE: you SHOULD NOT extract the `etc' set if upgrading.  Instead, you
should extract that set into another area and carefully merge the changes
by hand.
@


1.1
log
@Initial revision
@
text
@d1 2
@


1.1.1.1
log
@Initial import
@
text
@@


1.1.1.1.2.1
log
@file upgrade was added on branch netbsd-1-3 on 1997-12-25 20:22:58 +0000
@
text
@d1 74
@


1.1.1.1.2.2
log
@pullup from trunk (jeremy)
@
text
@a0 74
NetBSD _VER is the first release in which NetBSD/sun3x is available.
Therefore, there is no official upgrade path.  However, there may
be some who have installed a snapshot of the port while it was still
in development.  These notes are included for them.

The miniroot image contains an upgrade program which was originally copied
from the NetBSD/sun3 distribution.  However, it cannot be used with
NetBSD/sun3x because it expects a NetBSD/sun3 1.2 setup.

However, while using the miniroot's upgrade program is the preferred method
of upgrading your system, it is still possible to upgrade your system
manually.  To do this, follow the following procedure:

	* Place _at least_ the `base' binary set in a filesystem
	  accessible to the target machine.  A local filesystem
	  is preferred, since the NFS subsystem in the NetBSD _VER
	  kernel may be incompatible with your old binaries.

	* Back up your pre-existing kernel and copy the _VER
	  kernel into your root partition.

	* Reboot with the _VER kernel into single-user mode.
	  (Otherwise you can not install the boot block.)

	* Check all filesystems:

		/sbin/fsck -pf

	* Mount all local filesystems:

		/sbin/mount -a -t nonfs

	* If you keep /usr or /usr/share on an NFS server, you
	  will want to mount those filesystems as well.  To do
	  this, you will need to enable the network:

		sh /etc/netstart

	* Run the update(8) daemon, to ensure that new programs
	  are actually stored on disk.

		update

	* Make sure you are in the root filesystem and extract
	  the `base' binary set:

		cd /
		tar --unlink -zxvpf /path/to/base.tar.gz

	  NOTE: the `--unlink' option is _very_ important!

	* Install a new boot block:
	  (assuming root is on /dev/rsd0a)

		cd /usr/mdec
		cp -p ./ufsboot /mnt/ufsboot
		sync ; sleep 1 ; sync
		./installboot -v /ufsboot bootxx /dev/rsd0a

	* Sync the filesystems:

		sync

	* At this point you may extract any other binary sets
	  you may have placed on local filesystems, or you may
	  wish to extract additional sets at a later time.
	  To extract these sets, use the following commands:

		cd /
		tar --unlink -zxvpf <path to set>

NOTE: you SHOULD NOT extract the `etc' set if upgrading.  Instead, you
should extract that set into another area and carefully merge the changes
by hand.
@
