[BACK]Return to 22.html CVS log [TXT][DIR] Up to [local] / www

Annotation of www/22.html, Revision 1.39

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.1       deraadt    31: <p>
                     32: <ul>
1.27      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.27      deraadt    36:        one of the mirror sites
1.9       deraadt    37: <li>Have a look at <a href=errata22.html>The 2.2 Errata page</a> for a list of bugs
1.4       weingart   38: 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
                     43: files fetched via ports.tar.gz.
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.
                     57: <p>
                     58: <hr>
                     59: Please refer to the following files on the two CDROM's for extensive
                     60: details on how to install OpenBSD 2.2 on your machine:
                     61: <p>
1.38      bentley    62: <ul>
1.39    ! deraadt    63: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/2.2/i386/INSTALL.i386">
        !            64:        .../OpenBSD/2.2/i386/INSTALL.i386 (on CD1)</a>
        !            65: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/2.2/arc/INSTALL.arc">
        !            66:        .../OpenBSD/2.2/arc/INSTALL.arc (on CD1)</a>
        !            67: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/2.2/mac68k/INSTALL.mac68k">
        !            68:        .../OpenBSD/2.2/mac68k/INSTALL.mac68k (on CD1)</a>
        !            69: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/2.2/pmax/INSTALL.pmax">
        !            70:        .../OpenBSD/2.2/pmax/INSTALL.pmax (on CD1)</a>
        !            71: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/2.2/sparc/INSTALL.sparc">
        !            72:        .../OpenBSD/2.2/sparc/INSTALL.sparc (on CD1)</a>
        !            73: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/2.2/mvme68k/INSTALL.mvme68k">
        !            74:        .../OpenBSD/2.2/mvme68k/INSTALL.mvme68k (on CD1)</a>
        !            75: <p>
        !            76: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/2.2/amiga/INSTALL.amiga">
        !            77:        .../OpenBSD/2.2/amiga/INSTALL.amiga (on CD2)</a>
        !            78: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/2.2/hp300/INSTALL.hp300">
        !            79:        .../OpenBSD/2.2/hp300/INSTALL.hp300 (on CD2)</a>
        !            80: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/2.2/alpha/INSTALL.alpha">
        !            81:        .../OpenBSD/2.2/alpha/INSTALL.alpha (on CD2)</a>
1.38      bentley    82: </ul>
                     83: </section>
                     84:
1.1       deraadt    85: <hr>
1.38      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.39    ! 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.2/i386/floppy22.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>
1.5       weingart  101: To make a floppy under MS-DOS, use /2.2/tools/rawrite.exe.  Under
1.16      wvdputte  102: Unix, use "dd if=&lt;file&gt; of=/dev/&lt;device&gt; bs=32k" (where device could
1.5       weingart  103: be "floppy" or "rfd0c" or "rfd0a").  Use properly formatted perfect
                    104: floppies with NO BAD BLOCKS or you will lose.
                    105: <p>
1.39    ! deraadt   106: <h3>OpenBSD/arc:</h3>
1.1       deraadt   107: <p>
                    108: Using CD1, tell the BOOT ROM to load the file CD1:\2.2\arc\bsd.rd.  If
1.5       weingart  109: that does not work, create a MS-DOS filesystem using your vendor's arc
1.1       deraadt   110: setup program, copy CD1:2.2/arc/bsd.rd to there and attempt to boot
                    111: it.
                    112: <p>
1.39    ! deraadt   113: <h3>OpenBSD/sparc:</h3>
1.1       deraadt   114: <p>
                    115: To boot off CD1, type "boot cdrom 2.2/sparc/bsd.rd", or
                    116: "b sd(0,6,0)2.2/sparc/bsd.rd" depending on your ROM version.
                    117: Alternatively, write CD1:2.2/sparc/floppy22.fs to a floppy and boot it
                    118: using "boot fd()" or "boot floppy" depending on your ROM version.
                    119: Finally, a third alternative is to write CD1:2.2/sparc/kc.fs and
1.12      aaron     120: CD1:2.2/sparc/inst.fs to two separate floppies.  Then insert "kc.fs",
1.1       deraadt   121: and boot as described above.  As soon as the floppy drive ejects a
                    122: floppy, insert "inst.fs".  Answer a bunch of questions.  Reboot from
                    123: the "kc.fs" floppy.  This time, when the floppy is ejected simply
                    124: re-insert "kc.fs" again and answer a different set of questions.
                    125: <p>
1.39    ! deraadt   126: <h3>OpenBSD/pmax:</h3>
1.1       deraadt   127: <p>
                    128: Write the simpleroot22.fs onto the start of the disk using dd on another
                    129: machine.  After moving the disk drive, use "boot -f rz(0,0,0)/bsd"
                    130: (2100/3100) or "boot 5/rz0a/bsd" (5000).  Alternatively, install via
                    131: network as described in detail in INSTALL.pmax.
                    132: <p>
1.39    ! deraadt   133: <h3>OpenBSD/amiga:</h3>
1.1       deraadt   134: <p>
                    135: Create BSD partitions according to INSTALL.amiga's preparation section.
                    136: Mount the CD2 under AmigaOS as device CD0: Next, execute the following
                    137: CLI command: "CD0:2.2/amiga/utils/loadbsd CD0:2.2/amiga/bsd.rd".
                    138: <p>
1.39    ! deraadt   139: <h3>OpenBSD/hp300:</h3>
1.1       deraadt   140: <p>
                    141: You can boot over the network by following the instructions in
                    142: INSTALL.hp300.
                    143: <p>
1.39    ! deraadt   144: <h3>OpenBSD/alpha:</h3>
1.1       deraadt   145: <p>
                    146: Your alpha must use SRM firmware (not ARC).  If you have a CDROM, you
                    147: can try "boot -fi 2.2/alpha/bsd.rd dkaX" (use "show device" to find your
                    148: CDROM drive identifier). Otherwise, write CD2:2.2/alpha/floppy.fs to a
                    149: floppy and boot that by typing "boot dva0".  If this fails, you can place
                    150: bsd.rd on some other device and boot it, or use the provided simpleroot.
                    151: <p>
1.39    ! deraadt   152: <h3>OpenBSD/mac68k:</h3>
1.1       deraadt   153: <p>
                    154: Boot MacOS as normal and partition your disk with the appropriate A/UX
                    155: configurations.  Then, extract the Macside utilities from
                    156: CD1:2.2/mac68k/utils onto your hard disk.  Run Mkfs to create your
                    157: filesystems on the A/UX partitions you just made.  Then, use the
                    158: BSD/Mac68k Installer to copy all the sets in CD1:2.2/mac68k/ onto your
                    159: partitions.  Finally, you will be ready to configure the BSD/Mac68k
                    160: Booter with the location of your kernel and boot the system.
                    161: <p>
1.39    ! deraadt   162: <h3>OpenBSD/mvme68k:</h3>
1.1       deraadt   163: <p>
                    164: Theo has no real idea.  In the rush to get everything else done, the
                    165: install stuff for the mvme68k was never completed.  Enough pieces are
                    166: included so that a really skilled person could find a way to install
                    167: it; perhaps using netbooting.  Good luck!
1.38      bentley   168: </section>
                    169:
1.1       deraadt   170: <hr>
1.38      bentley   171:
                    172: <section id=sourcecode>
1.39    ! deraadt   173: <h3>Notes about the source code</h3>
1.1       deraadt   174: <p>
                    175: src.tar.gz contains a source archive starting at /usr/src.  This file
                    176: contains everything you need except for the kernel sources, which are
1.12      aaron     177: in a separate archive.  To extract:
1.1       deraadt   178: <p>
1.39    ! deraadt   179: <blockquote><pre>
        !           180: # <kbd>mkdir -p /usr/src</kbd>
        !           181: # <kbd>cd /usr/src</kbd>
        !           182: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
        !           183: </pre></blockquote>
1.1       deraadt   184: <p>
                    185: srcsys.tar.gz contains a source archive starting at /usr/src/sys.
                    186: This file contains all the kernel sources you need to rebuild kernels.
                    187: To extract:
                    188: <p>
1.39    ! deraadt   189: <blockquote><pre>
        !           190: # <kbd>mkdir -p /usr/src/sys</kbd>
        !           191: # <kbd>cd /usr/src</kbd>
        !           192: # <kbd>tar xvfz /tmp/srcsys.tar.gz</kbd>
        !           193: </pre></blockquote>
1.1       deraadt   194: <p>
                    195: Both of these trees are a regular CVS checkout.  Using these trees it
                    196: is possible to get a head-start on using the anoncvs servers as
1.39    ! deraadt   197: described <a href="anoncvs.html">here</a>.
1.3       deraadt   198: Using these files
1.1       deraadt   199: results in a much faster initial CVS update than you could expect from
                    200: a fresh checkout of the full OpenBSD source tree.
1.38      bentley   201: </section>
                    202:
1.1       deraadt   203: <hr>
1.38      bentley   204:
                    205: <section id=ports>
1.39    ! deraadt   206: <h3>Ports Tree</h3>
1.1       deraadt   207: <p>
                    208: A ports tree archive is also provided.  To extract:
                    209: <p>
1.39    ! deraadt   210: <blockquote><pre>
        !           211: # <kbd>cd /usr</kbd>
        !           212: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
        !           213: # <kbd>cd ports</kbd>
        !           214: # <kbd>ls</kbd>
1.2       deraadt   215: ...
1.39    ! deraadt   216: </pre></blockquote>
1.1       deraadt   217: <p>
                    218: The ports/ subdirectory is a checkout of the OpenBSD ports tree.  Go
1.25      jasper    219: read <a href=faq/faq15.html>http://www.OpenBSD.org/faq/faq15.html</a>
1.3       deraadt   220: if you know nothing about ports
1.1       deraadt   221: at this point.  This text is not a manual of how to use ports.
                    222: Rather, it is a set of notes meant to kickstart the user on the
                    223: OpenBSD ports system.
                    224: <p>
                    225: Certainly, the OpenBSD ports system is not complete.  This is because
                    226: the full integration of ports into the OpenBSD environment is a very
                    227: young project as of this release.  We believe the ports that are
                    228: provided here are stable, but it is most important to realize that
1.19      pvalchev  229: ports will continue to grow a great deal in functionality in the
1.1       deraadt   230: future.
                    231: <p>
                    232: As we said, ports will be growing a lot in the future.  The ports/
                    233: directory represents a CVS (see the manpage for cvs(1) if you aren't
                    234: familiar with CVS) checkout of our ports.  As with our complete source
                    235: tree, we will soon be making ports available via anoncvs.  So, in
                    236: order to keep current with the, you must make the ports/ tree
                    237: available on a read-write medium and update the tree with a command
                    238: like:
                    239: <p>
1.39    ! deraadt   240: <blockquote><pre>
        !           241: # <kbd>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd</kbd>
        !           242: </pre></blockquote>
1.1       deraadt   243: <p>
                    244: [Of course, you must replace the local directory and server name here
                    245: with the location of your ports collection and a nearby anoncvs
                    246: server.]
                    247: <p>
                    248: Again, it's important to see the webpage for specific instructions as
                    249: this is a very new service which hasn't yet been ironed out
                    250: completely.
                    251: <p>
                    252: Finally, despite ports' youth, help is never far.  If you're
                    253: interested in seeing a port added, would like to help out, or just
1.39    ! deraadt   254: would like to know more, the mailing list
        !           255: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
1.38      bentley   256: </section>