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