1dnl	$OpenBSD: prep,v 1.6 2020/05/17 17:04:28 deraadt Exp $
2The default configuration of the MACHINE systems comes with a Linux
3installation on the disk (either an IDE hard drive, or a CompactFlash
4card). At the moment, there is no known way to log in this installation
5as ``root'' or interrupt the boot process, and start an OpenBSD
6installation procedure.
7
8Because of this, the only way to boot the OpenBSD install is to copy
9the miniroot "miniroot{:--:}OSrev.img" image to the hard drive or CompactFlash
10(on the other hand, upgrades can be started by copying bsd.rd to the
11 OpenBSD disk and booting from it).
12
13As a result, you will need another machine to plug the machine's disk
14or CompactFlash in. Any machine type will do, as long as it supports
15ATA-compatible storage devices, regardless of the partition scheme
16it uses. Under OpenBSD, it will appear as a ``wd'' device, for example
17``wd1''.
18
19Use the dd(1) utility to copy the miniroot to the hard drive.
20The command would likely be, under OpenBSD:
21	dd if=miniroot{:--:}OSrev.img of=/dev/rwd1c
22Replace ``rwd1c'' with the appropriate device name for the raw device
23on the system used to do the copy.
24
25If the machine has a hard drive, and you had to change jumpers on it
26to change its ``master'' status, do not forget to configure it back
27to ``master'' or ``single drive'', as slave drives are not bootable.
28
29dnl I need to write a comprehensive text, also explaining that Rx/Tx
30dnl are swapped between the CF and HD models.
31In addition to the disk preparation, you will need to connect a serial
32port connector to the machine. Please refer to the OpenBSD/MACHINE
33page at
34	https://www.OpenBSD.org/MACHINE.html
35for more information.
36