summaryrefslogtreecommitdiff
path: root/distrib/notes/pc532/upgrade
blob: 9be75f81fdbd794e5451c44285b5f228f2c12ebc (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
The upgrade to OpenBSD 2.0 is a binary upgrade; it would be prohibitive
to make users upgrade by compiling and installing the 2.0 sources, and
it would be very difficult to even compile a set of instructions that
allowed them to do so.  

To do the upgrade, you must have at least base.tar.gz on disk and
a copy of the proper bsd.default.  It will require quite a bit
of disk space to do the upgrade.

Since upgrading involves replacing the kernel, and most of the system
binaries, it has the potential to cause data loss.  You are strongly
advised to BACK UP ANY IMPORTANT DATA ON YOUR DISK, whether on the
OpenBSD partition or on another operating system's partition, before
beginning the upgrade process.

To upgrade your system, follow the following instructions:

	Make sure your are root.  Just in case the new binaries don't
	run with the old kernel, make copies of several key binaries
	from /bin, /sbin and /usr/bin in some directory.  (Things like
	sh, cp, ls, rm, tar, halt, and others.)

	Extract the tar.gz files.  For example, to extract base.tar.gz:

		cd / 
		tar -xpzf /gz.files/base.tar.gz

	Extract all the tar.gz files you want.  You should carefully
	work at upgrading /etc.  There may be changes to file formats
	depending on what version of OpenBSD/pc532 you are running.

	BE CAREFUL IF YOU ARE NOT RUNNING WITH SECURITY.  The 
	2.0 distribution does contain support for password encription.
	It would be reasonable to save a copy of master.passwd and
	remove all passwords until after you upgrade. 

	Place bsd.default in / as the file bsd.

	Reboot.  (Remember, detbsd.default is a 9600 console line
	kernel.  Read the last part of the new installation part of
	these notes to find out how to change your default speed.)

	After reboot, you should make sure you check your new file systems.