summaryrefslogtreecommitdiff
path: root/distrib/notes/alpha/install
blob: 9d9c7ab52ccc6ec0fc3576d1423d8da784c8958a (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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
dnl	$OpenBSD: install,v 1.42 2020/04/28 13:02:10 benno 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. Network booting is supported through means of
dhcpd(8) and tftpd(8).

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 the network 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
	Unix-like operating systems. More information on diskless booting
	can be found in the OpenBSD diskless(8) manual page.

	Alpha systems can download their boot code over the network either
	using the old DEC MOP protocol, or the common bootp protocol.

	Older systems, such as the DEC 3000 systems, can only use the MOP
	protocol.

	Booting from a bootp or dhcp server:

	    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 08:00:2b:3d:28:2a;
			fixed-address 10.42.42.42;
		}
	    }

	    Do not forget to start dhcpd.

	    You will also need to start tftpd, for the system to download
	    the "netboot" file from the server in the /tftpboot directory.

	Booting from a MOP server:

	    You will need to copy netboot.mop into
	    /tftpboot/mop/1a2b3c4d5e6f.SYS, where "1a2b3c4d5e6f" represents
	    the six octets of your Ethernet address, which can be obtained
	    with ``show dev'' at the SRM prompt.  For example, the filename
	    for the machine in the dhcp example above would be
	    "08002b3d282a.SYS".  Note that the MAC portion of the filename
	    must be lower case, but the "SYS" extension must be upper case.

	    Do not forget to start mopd.

	Common netboot steps:

	    A few more services need to be enabled on the boot server.

	    First, add the Ethernet address to /etc/ethers file, as in:

		08:00:2b:3d:28:2a	piper

	    and start rarpd.

	    Second, you will need to export a directory for your new machine
	    to mount over NFS, in order to get its kernel. This is
	    accomplished by adding an entry to /etc/exports such as:

		/alpha	piper

	    The NFS server (which may be a different machine than the
	    MOP or dhcp server) will need to run nfsd, mountd, and the
	    rpc portmapper.  See the exports(5) manpage for more
	    information.

	    Last, you will need to add an entry for your system in
	    /etc/bootparams, to point to the NFS server.  For example:

		piper		root=myserver:/alpha

	    and start bootparamd.

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

Installing using the CD-ROM or Network procedure:

OpenBSDInstallPart2

	Boot your machine from the installation media as described above.

	It will take a while to load the installation kernel, 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, -:})

OpenBSDURLInstall

OpenBSDCDROMInstall

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

OpenBSDCommonInstall

OpenBSDInstallWrapup

OpenBSDCongratulations



OpenBSDUnattendedInstallation