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