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
150
|
dnl $OpenBSD: install,v 1.23 2004/05/24 15:47:00 tom Exp $
OpenBSDInstallShortPrelude
Before you begin, you should decide if OpenBSD is to be installed
on the whole disk or share the disk with Mac OS.
For stand-alone (No Mac OS installed) or dedicated disks, the MBR
installation method should be chosen and no additional prep is necessary.
If the disk is to be shared with Mac OS, a partition must be preallocated
by the Mac OS partition editor and Mac OS installed to the proper partition.
This expects that the HFS partition will be the first partition on
the disk, and then the OpenBSD partition will follow.
This may require the disk be reformatted using the "Drive Setup" application
and reinstalled under Mac OS.
OpenBSDInstallPart2
At this time, the system can be installed from the supplied
CD-ROM boot image, by network loading the bootloader, or loading
the bootloader and kernel from an HFS partition.
Once the bootloader is installed on the local hard drive, the
system can boot from it. OpenBSD may share a drive with Mac OS
if the process is followed carefully. Currently it is
necessary to use Open Firmware commands to dual boot between
OS's, or multiple drives may be used with each OS owning drive(s).
It is also possible on some newer models to set up the system
to auto boot OpenBSD and if Mac OS is desired, choose it using
the firmware boot selector by holding down the <option> key
during reboot and selecting the Mac OS Disk icon.
(Refer to "Preparing your System for OpenBSD Installation" above
for information on how to access and boot from Open Firmware.)
OpenBSDBootMsgs
You will next be asked for your terminal type. You should just
hit return to select the default (vt220).
OpenBSDInstallPart3({:- or "wd0" for IDE/ATA drives-:})
Next you will have to edit or create a disk label for the disk
OpenBSD is being installed on. If there are any existing
partitions defined (for any operating system), and a disk label
is not found, you will first be given an opportunity to run
fdisk (MBR partitioned disk) or pdisk (HFS partitioned disk)
and create an OpenBSD partition.
If pdisk is being invoked, you will be issued a command prompt
allowing you to modify the partition table. The most common
operation, and the example presented here, deals with the
conversion of an existing partition into one usable by OpenBSD.
Before editing, the partition table may look like the following:
#: type name length base ( size )
1: Apple_partition_map Apple 63 @ 1
2: Apple_Driver43*Macintosh 54 @ 64
3: Apple_Driver43*Macintosh 74 @ 118
4: Apple_Driver_ATA*Macintosh 54 @ 192
5: Apple_Driver_ATA*Macintosh 74 @ 246
6: Apple_FWDriver Macintosh 200 @ 320
7: Apple_Driver_IOKit Macintosh 512 @ 520
8: Apple_Patches Patch Partition 512 @ 1032
9: Apple_HFS untitled 2142310 @ 1544 ( 1.0G)
10: Apple_HFS untitled 2 4120589 @ 2143854 ( 2.0G)
11: Unused untitled 3 6330517 @ 6264443 ( 3.0G)
After editing the table, it should look like:
#: type name length base ( size )
1: Apple_partition_map Apple 63 @ 1
2: Apple_Driver43*Macintosh 54 @ 64
3: Apple_Driver43*Macintosh 74 @ 118
4: Apple_Driver_ATA*Macintosh 54 @ 192
5: Apple_Driver_ATA*Macintosh 74 @ 246
6: Apple_FWDriver Macintosh 200 @ 320
7: Apple_Driver_IOKit Macintosh 512 @ 520
8: Apple_Patches Patch Partition 512 @ 1032
9: Apple_HFS untitled 2142310 @ 1544 ( 1.0G)
10: Apple_HFS untitled 2 4120589 @ 2143854 ( 2.0G)
11: OpenBSD OpenBSD 6330517 @ 6264443 ( 3.0G)
This will likely be different based on the number of partitions
created on the disk by the Apple partition editor.
It is _VERY_ important to not change the start, sizes, or types of
partitions other than the ones that are to be used by OpenBSD,
including the Apple_Driver.* and Apple_partition_map.
---
Command (? for help): p
<output is in the before example above>
Command (? for help): t
Partition number: 11
Existing partition type ``Unused''.
New type of partition: OpenBSD
Command (? for help): p
<output is in the after example above>
---
If fdisk is being invoked, it will start by
displaying the current partitions defined and then allow you
to modify this information, add new partitions, and change
which partition to boot from by default. If you make a mistake,
you will be allowed to repeat this procedure as necessary to
correct this. Note that you should make OpenBSD be the active
partition at least until the install has been completed.
OpenBSDInstallPart4({:- If you have DOS or Linux
partitions defined on the disk, these will usually show up as
partition 'h', 'i' and so on.
OpenBSD/MACHINE can share a disk with Mac OS or Mac OS X by using
an HFS partitioned disk. For proper layout, the disk should be
partitioned with Mac OS or Mac OS X first with unused space or a
spare partition where OpenBSD can be installed. No low disk
boundaries exist on MACHINE. MACHINE is unable to install the
bootloader into the HFS(+) partition to boot OpenBSD so it is
necessary to copy 'ofwboot' from the installation media into
the first HFS(+) partition using Mac OS or Mac OS X.
If the disk is partitioned using MBR, the bootloader is
automatically installed. However because fdisk is not LBA
knowledgeable it may be necessary to run the 'b' command in
disklabel to allow OpenBSD to use the entire disk.
Note that all OpenBSD partitions in the disk label must have an
offset that makes it start within the OpenBSD part of the disk,
and a size that keeps it inside of that portion of the disk. This
is within the bounds of the 'c' partition.-:})
OpenBSDInstallPart5(wd0)
OpenBSDInstallNet({:-CD-ROM, -:})
OpenBSDFTPInstall
OpenBSDHTTPInstall
OpenBSDTAPEInstall
OpenBSDCDROMInstall
OpenBSDDISKInstall(,,{:- or MS-DOS-:})
OpenBSDCommonFS
OpenBSDCommonURL
OpenBSDCongratulations
|