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
|
dnl $OpenBSD: install,v 1.38 2009/05/12 21:06:50 miod Exp $
OpenBSDInstallPrelude
OpenBSDInstallPart2
Double-click on the BSD/Mac68k Booter icon on the desktop to
start the application. Go to the "Booting..." entry in the
"Options" menu, and make it point to the bsd.rd kernel on your
Mac OS filesystem. For the Quadra 605, LC 475, Performa 475 and
Performa 476 models it is also necessary to activate the video address
hack. Now boot the kernel.
OpenBSDInstallPart3(,"sd0")
OpenBSDInstallPart4
Next you will have to edit or create a disk label for the disk
OpenBSD is being installed on. You will first be given an
opportunity to run pdisk and create OpenBSD partitions.
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 creation of partitions for 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_Patches Patch Partition 512 @ 192
5: Apple_HFS untitled 61440 @ 704 ( 30.0M)
6: Apple_Free Extra 17711380 @ 62144 ( 8.4G)
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_Patches Patch Partition 512 @ 192
5: Apple_HFS untitled 61440 @ 704 ( 30.0M)
6: Apple_UNIX_SVR2 OpenBSD_Root 2097152 @ 62144 ( 1.0G) S0 RUFS k0 /
7: Apple_UNIX_SVR2 OpenBSD_Swap 262144 @ 2159296 (128.0M) S1 SFS k0 (swap)
8: Apple_UNIX_SVR2 OpenBSD_Usr 8388608 @ 2421440 ( 4.0G) S2 UFS k0 /usr
9: Apple_UNIX_SVR2 OpenBSD_Tmp 2097152 @ 10810048 ( 1.0G) S2 UFS k0
10: Apple_UNIX_SVR2 OpenBSD_Var 4866323 @ 12907200 ( 2.3G) S2 UFS k0
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. The pdisk
tool will automatically adjust the Apple_Free partition.
---
Command (? for help): c
First block: 62144
Length in blocks: 2097152
Name of partition: OpenBSD_Root
Available partition slices for Apple_UNIX_SVR2:
a root partition
b swap partition
c do not set any bzb bits
g user partition
Other lettered values will create user partitions
Select a slice for default bzb values: a
---
For the OpenBSD_Root slice, chose a bzb value of 'a', for
OpenBSD_Swap 'b'. For any other slice do not set any bzb value ('c')
except for OpenBSD_Usr, which can be set to 'g'.
OpenBSDInstallPart5
OpenBSD/MACHINE can share a disk with Mac OS by using
an HFS partitioned disk. For proper layout, the disk should be
partitioned with Mac OS first with unused space where OpenBSD can
be installed.
OpenBSDInstallPart6({:CD-ROM, NFS, -:})
OpenBSDFTPInstall
OpenBSDHTTPInstall
OpenBSDCDROMInstall
OpenBSDNFSInstall
dnl Not supported
dnl OpenBSDDISKInstall(,{:-only -:})
OpenBSDCommonInstall
OpenBSDTAPEInstall
OpenBSDInstallWrapup
Once the installation is complete, reboot into Mac OS, and start the
BSD/Mac68k Booter again. This time, point to the OpenBSD kernel location
on its own partition. You will have to change the kernel name to "bsd"
or "bsdsbc", depending which one you have installed. Be sure to check that
the SCSI ID is correct as well.
Note that by setting the BSD/Mac68k Booter to boot automatically
after starting, and by placing an alias to the booter in the "Startup Items"
folder, one can make the Mac68k autoload OpenBSD upon startup.
OpenBSDCongratulations
|