summaryrefslogtreecommitdiff
path: root/distrib/notes/landisk/prep
blob: 7eea1b4e32418b4d3e4c3cc807f95cd819d09e4c (plain)
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
dnl	$OpenBSD: prep,v 1.3 2007/02/28 22:30:05 miod Exp $
The default configuration of the MACHINE systems comes with a Linux
installation on the disk (either an IDE hard drive, or a CompactFlash
card). At the moment, there is no known way to log in this installation
as ``root'' or interrupt the boot process, and start an OpenBSD
installation procedure.

Because of this, the only way to boot the OpenBSD install is to copy
the miniroot "miniroot{:--:}OSrev.fs" image to the hard drive or CompactFlash
(on the other hand, upgrades can be started by copying bsd.rd to the
 OpenBSD disk and booting from it).

As a result, you will need another machine to plug the machine's disk
or CompactFlash in. Any machine type will do, as long as it supports
ATA-compatible storage devices, regardless of the partition scheme
it uses. Under OpenBSD, it will appear as a ``wd'' device, for example
``wd1''.

Use the dd(1) utility to copy the miniroot to the hard drive.
The command would likely be, under OpenBSD:
	dd if=miniroot{:--:}OSrev.fs of=/dev/rwd1c
Replace ``rwd1c'' with the appropriate device name for the raw device
on the system used to do the copy.

If the machine has a hard drive, and you had to change jumpers on it
to change its ``master'' status, do not forget to configure it back
to ``master'' or ``single drive'', as slave drives are not bootable.


dnl I need to write a comprehensive text, also explaining that Rx/Tx
dnl are swapped between the CF and HD models.
In addition to the disk preparation, you will need to connect a serial
port connector to the machine. Please refer to the OpenBSD/MACHINE
page at
	http://www.OpenBSD.org/MACHINE.html
for more information.