summaryrefslogtreecommitdiff
path: root/distrib/notes/alpha/install
blob: 6608dddebe9e639532655673a8081aa3de3b33d0 (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
dnl	$OpenBSD: install,v 1.36 2011/08/08 20:03:03 miod Exp $
OpenBSDInstallPrelude

There are several ways to install OpenBSD onto a disk.  The easiest way is
to boot from the bootable CD-ROM mini image, then install from your favorite
source. You can also use one of the OpenBSD installation floppies, if your
machine has a floppy drive. Network booting is supported through means of
dhcpd(8) and tftpd(8).

Booting from Floppy Disk installation media:

	At the SRM console prompt, enter
		boot dva0
	You should see info about the primary and secondary boot
	and then the kernel should start to load.  It will take a
	while to load the kernel from the floppy, most likely more
	than a minute.  If some action doesn't eventually happen,
	or the spinning cursor has stopped and nothing further has
	happened, or the machine spontaneously reboots, then either
	you have a bad boot floppy (in which case you should try
	another) or your alpha is not currently supported by OpenBSD.

Booting from CD-ROM installation media:

	At the SRM console prompt, enter
		show device
	to find the device ID of your CD-ROM drive (the device ID is
	usually in the second column (``bootdev'') and should start
	with DKA for a SCSI CD-ROM drive).  If your drive shows up with
	a drive number with trailing zeros, you will want to ignore them
	(unless it is DKA0).  For example, if your CD-ROM drive is listed
	as DKA600, you want to use dka6 (device IDs are case
	insensitive).

	Insert the OpenBSD/MACHINE CD-ROM and enter
		boot DEVICE
	where DEVICE is the dka device name.

	You should see info about the primary and secondary boot
	and then the kernel should start to load.  If the kernel
	fails to load or the spinning cursor has stopped and nothing
	further has happened, you either have a hardware problem or
	your MACHINE is not currently supported by OpenBSD; try booting
	from a floppy instead if possible.

Booting from Network:

	In order to bootstrap via the network, you must provide a second
	system to act as a boot server. It is convenient if this is a second
	OpenBSD machine as the necessary services are already installed,
	although source code for such programs as dhcpd can be found in
	OpenBSD's source tree, and should be reasonably portable to other
	UN*X-like operating systems. More information on diskless booting
	can be found in the OpenBSD diskless(8) manual page.

	In this case, you will need to set up dhcpd on the server, which can
	serve bootp protocol requests.  Start by editing the /etc/dhcpd.conf
	on the bootserver, and declare an information block. Here is an
	example:

	subnet 10.0.0.0 netmask 255.0.0.0 {
		host piper {
			always-reply-rfc1048 "true";
			filename "netboot";
			option root-path "/alpha";
			hardware ethernet 00:02:56:00:73:31;
			fixed-address 10.42.42.42;
		}
	}

	Do not forget to enable dhcpd.

	You will also need to enable tftpd, for the MACHINE to download the
	"netboot" from the server in the /tftpboot directory.

	Next, you need to add an entry for your MACHINE in /etc/bootparams.
	For example:

		piper		root=myserver:/alpha

	Enable rpc.bootparamd either by turning it on in /etc/rc.conf and
	rebooting, or by running it manually.

	Only uncompressed kernels are supported for booting in this release.
	This means you have to execute the following command on your boot
	server before installing a new kernel for your MACHINE to boot:

	# gzip -dc bsd.rd > /alpha/bsd

	This assumes you have path /alpha exported via NFS.

	Once loaded, netboot will mount /alpha over NFS and load the kernel
	from there.

Installing using the Floppy, CD-ROM or Network procedure:

OpenBSDInstallPart2

	Boot your machine from the installation media as described above.

	It will take a while to load the miniroot image, especially from
	a slow network connection or a CD-ROM, most likely more than a
	minute.
	If some action doesn't eventually happen, or the spinning cursor
	has stopped and nothing further has happened, either your boot
	media is bad, your diskless setup is incorrect, or you may have
	a hardware or configuration problem.

OpenBSDInstallPart3

OpenBSDInstallPart4

OpenBSDInstallPart5

OpenBSDInstallPart6({:-CD-ROM, tape, -:})

OpenBSDURLInstall

OpenBSDCDROMInstall

OpenBSDDISKInstall({:-"wdN" or -:},{:-only -:})

OpenBSDCommonInstall

OpenBSDTAPEInstall

OpenBSDInstallWrapup

OpenBSDCongratulations