summaryrefslogtreecommitdiff
path: root/distrib/notes/sun3/upgrade
blob: b2c1c28a92896da8436f578902dc5f6c4f297a58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68

There is no automated upgrade program in this release.
(This is the first official release for the Sun3 anyway.)
However, it is possible to upgrade your system manually.

Manual upgrade procedure:

	* Place _at least_ the `base' binary set in a filesystem
	  accessible to the target machine.  A local filesystem
	  is preferred, since there may be incompatibilities
	  between the OpenBSD 2.0 kernel and older route(8)
	  binaries.

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

	* Reboot with the 2.0 kernel into single-user mode.

	* Check all filesystems:

		/sbin/fsck -p

	* 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

	  NOTE: the route(8) commands may fail due to potential
	  incompatibilities between route(8) and the OpenBSD 2.0
	  kernel.  Once you have enabled the network, mount the
	  NFS filesystems.  If you use amd(8), you may or may not
	  have to mount these filesystems manually.  Your mileage
	  may vary.

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

		cd /
		tar -xzvpf /path/to/base20.tar.gz

	* Install a new boot block:

		cd /usr/mdec
		cp -p ./ufsboot /mnt/ufsboot
		sync ; sleep 1 ; sync
		./installboot /mnt/ufsboot bootxx /dev/rsd0a
		# Substitute your root partition here -^

	* 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 -xzvpf <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.