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
|
dnl $OpenBSD: install,v 1.10 2002/04/02 05:00:57 drahn Exp $
OpenBSDInstallShortPrelude
Before you begin, you should decide if OpenBSD is to be installed
on the whole disk or share the disk with MacOS.
For stand-alone (No MacOS 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 MacOS, a partition must be preallocated
by the MacOS partition editor and MacOS 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 MacOS.
OpenBSDInstallPart2
At this time, the system can be installed from the supplied
CD boot image, by network loading the bootloader or loading
the bootloader and kernel from a HFS partition.
Once the bootloader is installed on the local hard drive, the
system can boot from it. OpenBSD may share a drive with MacOS
if the process is followed carefully. Currently it is
necessary to use OpenFirmware 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 MacOS is desired, choose it using
the firmware boot selector by holding down the <option> key
during reboot and selecting the MacOS 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 disklabel 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.
Currently OpenBSD will not share a disk with any other operating
system, so care should be taken not to overwrite any data on other
disks in the system and that no data is on the disk to be used
for OpenBSD/MACHINE.
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(sd0)
OpenBSDInstallNet
OpenBSDInstallNet2({:-CD-ROM, -:})
OpenBSDFTPInstall
OpenBSDHTTPInstall
OpenBSDTAPEInstall
OpenBSDCDROMInstall
OpenBSDDISKInstall(,,{:- or MS-DOS-:})
OpenBSDCommonFS
OpenBSDCommonURL
OpenBSDCongratulations
|