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
|
dnl $OpenBSD: install,v 1.8 2009/05/13 18:38:29 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.
OpenBSDInstallPart3(,"sd0")
OpenBSDInstallPart4
OpenBSDInstallPart5
OpenBSDInstallPart6({:-CD-ROM, NFS, -:})
OpenBSDURLInstall
OpenBSDCDROMInstall
OpenBSDNFSInstall
OpenBSDDISKInstall(,{:-only -:})
OpenBSDCommonInstall
OpenBSDTAPEInstall(1)
OpenBSDInstallWrapup
OpenBSDCongratulations
|