Annotation of www/22.html, Revision 1.42
1.38 bentley 1: <!doctype html>
2: <html lang=en id=release>
3: <meta charset=utf-8>
4:
1.27 deraadt 5: <title>OpenBSD 2.2</title>
1.36 tb 6: <meta name="description" content="OpenBSD 2.2">
7: <meta name="viewport" content="width=device-width, initial-scale=1">
8: <link rel="stylesheet" type="text/css" href="openbsd.css">
1.37 tb 9: <link rel="canonical" href="https://www.openbsd.org/22.html">
1.38 bentley 10: <style>
11: #release #OpenBSD + table td {
12: vertical-align: middle;
13: }
14: </style>
1.1 deraadt 15:
1.38 bentley 16: <h2 id=OpenBSD>
1.36 tb 17: <a href="index.html">
1.38 bentley 18: <i>Open</i><b>BSD</b></a>
19: 2.2
1.36 tb 20: </h2>
1.1 deraadt 21:
1.38 bentley 22: <table>
23: <tr>
24: <td>
1.27 deraadt 25: <a href=images/openbsd22_cover.gif>
1.38 bentley 26: <img src=images/cd22-s.gif alt="CD 2.2"></a>
27: <td>
1.1 deraadt 28: Released sometime around December 1, 1997.<br>
1.27 deraadt 29: Copyright 1997, Theo de Raadt.<br>
1.38 bentley 30: <cite class=isbn>ISBN 0-9683637-0-9</cite>.
1.40 bentley 31:
1.1 deraadt 32: <ul>
1.42 ! deraadt 33: <li>See the information on <a href="ftp.html">the FTP page</a> for
! 34: a list of mirror machines
1.38 bentley 35: <li>Go to the <code class=reldir>pub/OpenBSD/2.2/</code> directory on
1.42 ! deraadt 36: one of the mirror sites
1.40 bentley 37: <li>Have a look at <a href="errata22.html">The 2.2 Errata page</a> for a list
1.42 ! deraadt 38: of bugs and workarounds.
1.1 deraadt 39: </ul>
1.27 deraadt 40: <p>
1.36 tb 41: All applicable copyrights and credits are in the src.tar.gz,
42: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
1.41 deraadt 43: files fetched via <code>ports.tar.gz</code>.
1.38 bentley 44: </table>
1.1 deraadt 45:
1.36 tb 46: <hr>
1.38 bentley 47:
48: <section id=install>
49: <h3>How to install</h3>
1.1 deraadt 50: <p>
51: Following this are the instructions if you had purchased a CDROM set
1.3 deraadt 52: instead of attempting to do
1.1 deraadt 53: an alternate form of install. The instructions for doing an ftp (or
54: other style of) install are very similar; the CDROM instructions are
55: left intact so that you can see how much easier it would have been if
56: you had purchased a CDROM instead.
1.40 bentley 57: <hr>
1.1 deraadt 58: <p>
1.40 bentley 59: Please refer to the following files on the two CDROMs for extensive
1.1 deraadt 60: details on how to install OpenBSD 2.2 on your machine:
1.38 bentley 61: <ul>
1.39 deraadt 62: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/2.2/i386/INSTALL.i386">
63: .../OpenBSD/2.2/i386/INSTALL.i386 (on CD1)</a>
64: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/2.2/arc/INSTALL.arc">
65: .../OpenBSD/2.2/arc/INSTALL.arc (on CD1)</a>
66: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/2.2/mac68k/INSTALL.mac68k">
67: .../OpenBSD/2.2/mac68k/INSTALL.mac68k (on CD1)</a>
68: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/2.2/pmax/INSTALL.pmax">
69: .../OpenBSD/2.2/pmax/INSTALL.pmax (on CD1)</a>
70: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/2.2/sparc/INSTALL.sparc">
71: .../OpenBSD/2.2/sparc/INSTALL.sparc (on CD1)</a>
72: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/2.2/mvme68k/INSTALL.mvme68k">
73: .../OpenBSD/2.2/mvme68k/INSTALL.mvme68k (on CD1)</a>
74: <p>
75: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/2.2/amiga/INSTALL.amiga">
76: .../OpenBSD/2.2/amiga/INSTALL.amiga (on CD2)</a>
77: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/2.2/hp300/INSTALL.hp300">
78: .../OpenBSD/2.2/hp300/INSTALL.hp300 (on CD2)</a>
79: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/2.2/alpha/INSTALL.alpha">
80: .../OpenBSD/2.2/alpha/INSTALL.alpha (on CD2)</a>
1.38 bentley 81: </ul>
82: </section>
83:
1.1 deraadt 84: <hr>
1.38 bentley 85:
86: <section id=quickinstall>
1.1 deraadt 87: <p>
88: Quick installer information for people familiar with OpenBSD, and the
89: use of the new "disklabel -E" command. If you are at all confused when
90: installing OpenBSD, read the relevant INSTALL.* file as listed above!
1.40 bentley 91:
1.39 deraadt 92: <h3>OpenBSD/i386:</h3>
1.1 deraadt 93: <p>
94: Play with your BIOS options, and see if you can enable booting off a
95: CD; try using CD1. If not, write CD1:2.2/i386/floppy22.fs to a
96: floppy, then boot that. If you are mixing OpenBSD with another
97: operating system, you will surely need to read the INSTALL.i386
98: document.
99: <p>
1.5 weingart 100: To make a floppy under MS-DOS, use /2.2/tools/rawrite.exe. Under
1.16 wvdputte 101: Unix, use "dd if=<file> of=/dev/<device> bs=32k" (where device could
1.5 weingart 102: be "floppy" or "rfd0c" or "rfd0a"). Use properly formatted perfect
103: floppies with NO BAD BLOCKS or you will lose.
1.40 bentley 104:
1.39 deraadt 105: <h3>OpenBSD/arc:</h3>
1.1 deraadt 106: <p>
107: Using CD1, tell the BOOT ROM to load the file CD1:\2.2\arc\bsd.rd. If
1.5 weingart 108: that does not work, create a MS-DOS filesystem using your vendor's arc
1.1 deraadt 109: setup program, copy CD1:2.2/arc/bsd.rd to there and attempt to boot
110: it.
1.40 bentley 111:
1.39 deraadt 112: <h3>OpenBSD/sparc:</h3>
1.1 deraadt 113: <p>
114: To boot off CD1, type "boot cdrom 2.2/sparc/bsd.rd", or
115: "b sd(0,6,0)2.2/sparc/bsd.rd" depending on your ROM version.
116: Alternatively, write CD1:2.2/sparc/floppy22.fs to a floppy and boot it
117: using "boot fd()" or "boot floppy" depending on your ROM version.
118: Finally, a third alternative is to write CD1:2.2/sparc/kc.fs and
1.12 aaron 119: CD1:2.2/sparc/inst.fs to two separate floppies. Then insert "kc.fs",
1.1 deraadt 120: and boot as described above. As soon as the floppy drive ejects a
121: floppy, insert "inst.fs". Answer a bunch of questions. Reboot from
122: the "kc.fs" floppy. This time, when the floppy is ejected simply
123: re-insert "kc.fs" again and answer a different set of questions.
1.40 bentley 124:
1.39 deraadt 125: <h3>OpenBSD/pmax:</h3>
1.1 deraadt 126: <p>
127: Write the simpleroot22.fs onto the start of the disk using dd on another
128: machine. After moving the disk drive, use "boot -f rz(0,0,0)/bsd"
129: (2100/3100) or "boot 5/rz0a/bsd" (5000). Alternatively, install via
130: network as described in detail in INSTALL.pmax.
1.40 bentley 131:
1.39 deraadt 132: <h3>OpenBSD/amiga:</h3>
1.1 deraadt 133: <p>
134: Create BSD partitions according to INSTALL.amiga's preparation section.
135: Mount the CD2 under AmigaOS as device CD0: Next, execute the following
136: CLI command: "CD0:2.2/amiga/utils/loadbsd CD0:2.2/amiga/bsd.rd".
1.40 bentley 137:
1.39 deraadt 138: <h3>OpenBSD/hp300:</h3>
1.1 deraadt 139: <p>
140: You can boot over the network by following the instructions in
141: INSTALL.hp300.
1.40 bentley 142:
1.39 deraadt 143: <h3>OpenBSD/alpha:</h3>
1.1 deraadt 144: <p>
145: Your alpha must use SRM firmware (not ARC). If you have a CDROM, you
146: can try "boot -fi 2.2/alpha/bsd.rd dkaX" (use "show device" to find your
147: CDROM drive identifier). Otherwise, write CD2:2.2/alpha/floppy.fs to a
148: floppy and boot that by typing "boot dva0". If this fails, you can place
149: bsd.rd on some other device and boot it, or use the provided simpleroot.
1.40 bentley 150:
1.39 deraadt 151: <h3>OpenBSD/mac68k:</h3>
1.1 deraadt 152: <p>
153: Boot MacOS as normal and partition your disk with the appropriate A/UX
154: configurations. Then, extract the Macside utilities from
155: CD1:2.2/mac68k/utils onto your hard disk. Run Mkfs to create your
156: filesystems on the A/UX partitions you just made. Then, use the
157: BSD/Mac68k Installer to copy all the sets in CD1:2.2/mac68k/ onto your
158: partitions. Finally, you will be ready to configure the BSD/Mac68k
159: Booter with the location of your kernel and boot the system.
1.40 bentley 160:
1.39 deraadt 161: <h3>OpenBSD/mvme68k:</h3>
1.1 deraadt 162: <p>
163: Theo has no real idea. In the rush to get everything else done, the
164: install stuff for the mvme68k was never completed. Enough pieces are
165: included so that a really skilled person could find a way to install
166: it; perhaps using netbooting. Good luck!
1.38 bentley 167: </section>
168:
1.1 deraadt 169: <hr>
1.38 bentley 170:
171: <section id=sourcecode>
1.39 deraadt 172: <h3>Notes about the source code</h3>
1.1 deraadt 173: <p>
1.41 deraadt 174: <code>src.tar.gz</code> contains a source archive starting at <code>/usr/src</code>.
175: This file contains everything you need except for the kernel sources, which are
1.12 aaron 176: in a separate archive. To extract:
1.39 deraadt 177: <blockquote><pre>
178: # <kbd>mkdir -p /usr/src</kbd>
179: # <kbd>cd /usr/src</kbd>
180: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
181: </pre></blockquote>
1.1 deraadt 182: <p>
1.41 deraadt 183: <code>sys.tar.gz</code> contains a source archive starting at <code>/usr/src/sys</code>.
1.1 deraadt 184: This file contains all the kernel sources you need to rebuild kernels.
185: To extract:
1.39 deraadt 186: <blockquote><pre>
187: # <kbd>mkdir -p /usr/src/sys</kbd>
188: # <kbd>cd /usr/src</kbd>
189: # <kbd>tar xvfz /tmp/srcsys.tar.gz</kbd>
190: </pre></blockquote>
1.1 deraadt 191: <p>
192: Both of these trees are a regular CVS checkout. Using these trees it
193: is possible to get a head-start on using the anoncvs servers as
1.39 deraadt 194: described <a href="anoncvs.html">here</a>.
1.3 deraadt 195: Using these files
1.1 deraadt 196: results in a much faster initial CVS update than you could expect from
197: a fresh checkout of the full OpenBSD source tree.
1.38 bentley 198: </section>
199:
1.1 deraadt 200: <hr>
1.38 bentley 201:
202: <section id=ports>
1.39 deraadt 203: <h3>Ports Tree</h3>
1.1 deraadt 204: <p>
205: A ports tree archive is also provided. To extract:
1.39 deraadt 206: <blockquote><pre>
207: # <kbd>cd /usr</kbd>
208: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
209: # <kbd>cd ports</kbd>
210: # <kbd>ls</kbd>
1.2 deraadt 211: ...
1.39 deraadt 212: </pre></blockquote>
1.1 deraadt 213: <p>
214: The ports/ subdirectory is a checkout of the OpenBSD ports tree. Go
1.40 bentley 215: read <a href="faq/faq15.html">https://www.OpenBSD.org/faq/faq15.html</a>
1.3 deraadt 216: if you know nothing about ports
1.1 deraadt 217: at this point. This text is not a manual of how to use ports.
218: Rather, it is a set of notes meant to kickstart the user on the
219: OpenBSD ports system.
220: <p>
221: Certainly, the OpenBSD ports system is not complete. This is because
222: the full integration of ports into the OpenBSD environment is a very
223: young project as of this release. We believe the ports that are
224: provided here are stable, but it is most important to realize that
1.19 pvalchev 225: ports will continue to grow a great deal in functionality in the
1.1 deraadt 226: future.
227: <p>
228: As we said, ports will be growing a lot in the future. The ports/
229: directory represents a CVS (see the manpage for cvs(1) if you aren't
230: familiar with CVS) checkout of our ports. As with our complete source
231: tree, we will soon be making ports available via anoncvs. So, in
232: order to keep current with the, you must make the ports/ tree
233: available on a read-write medium and update the tree with a command
234: like:
1.39 deraadt 235: <blockquote><pre>
236: # <kbd>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd</kbd>
237: </pre></blockquote>
1.1 deraadt 238: <p>
239: [Of course, you must replace the local directory and server name here
240: with the location of your ports collection and a nearby anoncvs
241: server.]
242: <p>
243: Again, it's important to see the webpage for specific instructions as
244: this is a very new service which hasn't yet been ironed out
245: completely.
246: <p>
247: Finally, despite ports' youth, help is never far. If you're
248: interested in seeing a port added, would like to help out, or just
1.39 deraadt 249: would like to know more, the mailing list
250: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
1.38 bentley 251: </section>