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
|
TopPart
cd{:--:}OSrev.fs The standard MACHINE boot and installation
CD image; see below.
OpenBSDdistsets
OpenBSDbsd
There are several ways to boot a supported PowerPC Macintosh system into
the OpenBSD installer. Unfortunately they all currently require some
limited knowledge of Open Firmware, the low-level process that controls
the microprocessor after hardware initialization and diagnostics are
performed but before control is handed to the operating system.
To access Open Firmware you should simultaneously hold down the
Command, Option, O and F keys immediately upon booting. You will
be presented with information and a ">" prompt that will look something
like this (example taken from a Power Macintosh G4):
Apple PowerMac3,1 2.4f1 BootROM built on 02/18/00 at 09:44:35
Copyright 1994-2000 Apple Computer, Inc.
All Rights Reserved
Welcome to Open Firmware
To continue booting, type "mac-boot" and press return
To shut down, type "shut-down" and press return
ok
0 >
Important Open Firmware command examples:
-----------------------------------------
boot cd:,ofwboot /OSREV/MACHINE/bsd.rd
(boot from an appropriately prepared
OpenBSD CD in the CD/DVD drive)
boot enet:,ofwboot /bsd.rd
(netboot from a pre-configured bootp/tftp/nfs
server containing the "ofwboot" and "bsd.rd"
files at the root directory of the tftp server)
boot ide1:,ofwboot /bsd
(After installation, boot /bsd from the slave
device on the second ATA bus)
mac-boot (boot into MacOS)
reset-all (reboot the machine)
shut-down (halt the machine; shutdown)
printenv (print current machine variables)
setenv (set a machine variable)
devalias (list device aliases; useful for locating other
devices in the machine such as hard drives etc)
As seen above, device aliases typically take the form of "ide", "cd"
etc. To boot to an alternative device you may substitute them
with entries from this list (example devices taken from a Power
Macintosh G4):
ultra0 = hd = master device, primary ATA bus (factory-installed drive)
ultra1 = slave device, primary ATA bus
ide0 = cd = master device, secondary ATA bus (CD/DVD drive)
ide1 = slave device, secondary ATA bus (Zip drive, if installed)
enet = motherboard ethernet device
Other Open Firmware command examples:
-------------------------------------
setenv auto-boot false
(force the machine to wait at Open Firmware
for user input at next reboot; options are true/false)
setenv boot-device ide:,ofwboot /bsd
(force the machine to boot into OpenBSD
automatically at next reboot)
dev / (change to root level of the device tree)
pwd (show current location in the device tree)
ls (show items at current location in the device tree)
words (show methods of items at current location in the device tree)
.properties (show properties of items at current location in the device tree)
NOTES:
The powerpc port does not currently support sharing the disk with MacOS
This is an important fact on the iMac which does not support more than
one disk.
The powerpc port does not currently support booting from the Zip drive,
if installed.
To reset a Power Macintosh to the factory-configure Open Firmware
settings, simultaneously hold down the Command, Option, P, R keys
immediately upon booting. Typically the machine will then attempt to
load Mac OS, if available.
DistributionDescription
OpenBSDbase(23.8M,71.4M)
OpenBSDcomp(19.1M,65.5M)
OpenBSDetc(1.0M,3.3M)
OpenBSDgame(2.7M,6.3M)
OpenBSDman(5.2M,19.5M)
OpenBSDmisc(5.6M,5.6M)
OpenBSDxbase(4.4M,12.1M)
OpenBSDxshare(1.5M,8.1M)
OpenBSDxfont(6.2M,7.3M)
OpenBSDxserv(2.1M,5.4M)
|