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
|
dnl $OpenBSD: install,v 1.5 2008/03/10 21:38:28 miod Exp $
OpenBSDInstallPrelude
There are several ways to install OpenBSD onto a disk. The easiest way
in terms of preliminary setup is to use the OpenBSD ramdisk kernel, bsd.rd,
which can be booted from tape, or an existing Mach partition.
Booting from the Installation Media:
Prior to attempting an installation, everything of value on the target
system should be backed up. While installing OpenBSD does not necessarily
wipe out all the partitions on the hard disk, errors during the install
process can have unforeseen consequences and will probably leave the system
unbootable if the installation process is not completed. Availability
of the installation media for the prior installation, such as a Luna-88K
Mach tape, is always a good insurance, should it be necessary to "go back"
for some reason.
After taking care of all that, the system should be brought down gracefully
using the shutdown(8) and/or halt(8) commands, which will eventually go
back to the PROM prompt. Remember that the leftmost switch from the front
panel DIP switch #1 must be down to access the PROM prompt.
Booting from an installation tape:
The internal tape drive is usually configured as SCSI ID #4. At the
prompt, enter
b st(0,0,0)
to boot the first file from the tape. If your tape drive uses a
different SCSI ID, replace the middle number with the appropriate number
from the following table:
tape drive SCSI ID: 0 1 2 3 4 5 6
middle number for st(): 4 3 2 1 0 6 5
If the tape drive is connected to the external SCSI controller, add 10 to
the middle number. For example, to boot from a tape drive with ID #5
connected to the external controller, enter:
b st(0,16,0)
Booting from an existing partition:
At the prompt, enter
b sd(0,n,p) bsd.rd
to boot bsd.rd from the specified disk and partition. Replace 'p' with
the partition number (usually 0, for the 'a' partition), and 'n' with
the appropriate number from the following table:
disk drive SCSI ID: 0 1 2 3 4 5 6
value of 'n': 6 5 4 3 2 1 0
If the disk drive is connected to the external SCSI controller, add 10 to
this number. For example, to boot from a disk drive with ID #0 connected
to the external controller, enter:
b sd(0,16,0) bsd.rd
Installing the system:
OpenBSDInstallPart2
Boot your machine from the installation media as described above.
It will take a while to load the kernel especially from a slow
network connection, 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 isn't correct, or you may have a hardware or
configuration problem.
OpenBSDBootMsgs(,"sd0")
You will next be asked for your terminal type. If you are
installing from a non-serial console, the default of "vt220"
is correct. If you are installing from a serial console
you should choose the terminal type from amongst those listed.
(If your terminal type is xterm, just use vt220.)
OpenBSDInstallPart3
OpenBSDInstallPart4
OpenBSDInstallPart5(sd0)
OpenBSDInstallNet({:-CD-ROM, NFS, -:})
OpenBSDFTPInstall
OpenBSDHTTPInstall
OpenBSDTAPEInstall(1)
OpenBSDCDROMInstall
OpenBSDNFSInstall
OpenBSDDISKInstall(,{:-only -:})
OpenBSDCommonFS(NFS)
OpenBSDCommonURL
OpenBSDCongratulations
|