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
|
dnl $OpenBSD: prep,v 1.5 2004/02/07 14:28:32 miod Exp $
To be able to boot the OpenBSD/MACHINE installation program, you will
need to acquire some limited knowledge of OpenFirmware, the low-level
process that controls the microprocessor after hardware initialization
and diagnostics are performed but before control is handed to the
operating system.
dnl XXX Improve Pegasos-specific details
Important Open Firmware command examples:
boot cd:OFWBOOT /OSREV/MACHINE/bsd.rd (on Pegasos I)
boot cd OFWBOOT /OSREV/MACHINE/bsd.rd (on Pegasos II)
(boot from an appropriately prepared
OpenBSD CD in the CD/DVD drive)
boot net:ofwboot /bsd.rd (on Pegasos I)
boot net ofwboot /bsd.rd (on Pegasos II)
(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 /dev/pci/ide/disk@0,0:3,ofwboot /bsd /bsd
(After installation, boot /bsd from the primary
device on the first ATA bus. On Pegasos I, the /bsd
needs to be specified TWICE because openfirmware seems
to lose the first argument)
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)
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)
devalias hd /pci/ide/disk
Create a devalias so that booting is simplified
setenv boot-device hd:3,ofwboot
(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)
Autobooting OpenBSD/MACHINE
It is possible to automatically boot into OpenBSD
by setting up the following:
setenv auto-boot? true
setenv boot-device hd:3,ofwboot
These settings assume that the master of the first IDE bus has OpenBSD
installed on it, in MBR format. It is not necessary to specify '/bsd'
on the boot line or in the boot-device variable, since it is the
default.
Sharing a disk with MorphOS:
It is not currently possible to share a disk with MorphOS, Amiga labeled
disks are recognized, but can't be modified to define new partitions at the
moment.
OpenBSD/MACHINE is capable of booting from a dedicated disk using a
MBR partitioned disk, CD containing a ISO image or a firmware supported
ethernet card.
For dedicated disks, the MACHINE port boots off a boot program in
the FFS 'a' filesystem. This is set up by the install program
and no special setup is required.
|