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

Annotation of www/30.html, Revision 1.43

1.43    ! bentley     1: <!doctype html>
        !             2: <html lang=en id=release>
        !             3: <meta charset=utf-8>
        !             4:
1.24      deraadt     5: <title>OpenBSD 3.0</title>
1.35      tb          6: <meta name="description" content="OpenBSD 3.0">
                      7: <meta name="viewport" content="width=device-width, initial-scale=1">
                      8: <link rel="stylesheet" type="text/css" href="openbsd.css">
1.38      tb          9: <link rel="canonical" href="https://www.openbsd.org/30.html">
1.43    ! bentley    10: <style>
        !            11: #sourcecode h3 {
        !            12:        color: var(--red);
        !            13: }
        !            14:
        !            15: #sourcecode p {
        !            16:        margin-left: 2.75em;
        !            17: }
        !            18:
        !            19: #sourcecode blockquote {
        !            20:        margin-left: 4.5em;
        !            21: }
        !            22: </style>
1.1       deraadt    23:
1.43    ! bentley    24: <h2 id=OpenBSD>
1.18      jufi       25: <a href="index.html">
1.43    ! bentley    26: <i>Open</i><b>BSD</b></a>
        !            27: 3.0
1.35      tb         28: </h2>
1.1       deraadt    29:
1.43    ! bentley    30: <table>
        !            31: <tr>
        !            32: <td>
1.24      deraadt    33: <a href=images/Rock.jpg>
1.43    ! bentley    34: <img src=images/Rock.jpg alt="Rock"></a>
        !            35: <td>
1.1       deraadt    36: Released December 1, 2001<br>
                     37: Copyright 1997-2001, Theo de Raadt.<br>
1.43    ! bentley    38: <cite class=isbn>ISBN 0-9683637-8-4</cite>
1.20      deraadt    39: <br>
1.32      deraadt    40: 3.0 Song: <a href="lyrics.html#30">"E-Railed (OpenBSD Mix)"</a>
1.42      deraadt    41: <br>
                     42: <br>
1.1       deraadt    43: <ul>
                     44: <li>See the information on <a href=ftp.html>The FTP page</a> for
1.12      jufi       45:        a list of mirror machines.
1.43    ! bentley    46: <li>Go to the <code class=reldir>pub/OpenBSD/3.0/</code> directory on
1.12      jufi       47:        one of the mirror sites.
1.15      miod       48: <li>Have a look at <a href=errata30.html>The 3.0 Errata page</a> for a list
1.1       deraadt    49:        of bugs and workarounds.
                     50: <li>See a <a href=plus30.html>detailed log of changes</a> between the
1.2       miod       51:        2.9 and 3.0 releases.
1.1       deraadt    52: </ul>
1.36      tb         53: <p>
1.35      tb         54: All applicable copyrights and credits are in the src.tar.gz,
                     55: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
                     56: files fetched via ports.tar.gz.
1.43    ! bentley    57: </table>
1.1       deraadt    58:
                     59: <hr>
1.43    ! bentley    60:
        !            61: <section id=new>
        !            62: <h3>What's New</h3>
        !            63:
1.1       deraadt    64: <p>
1.35      tb         65: This is a partial list of new features and systems included in OpenBSD 3.0.
1.8       deraadt    66: For a comprehensive list, see the <a href=plus30.html>changelog</a> leading
1.1       deraadt    67: to 3.0.
                     68: <p>
                     69:
                     70: <ul>
1.39      tb         71: <li><a href="https://www.OpenSSH.com">OpenSSH</a> (supporting both the
1.1       deraadt    72: SSH1 and SSH2 protocols) is now at version 3.0. Secure file transfers are
                     73: encouraged using the greatly enhanced SFTP subsystem which now comes both with
                     74: an SFTP server and client.
                     75: <p>
                     76:
                     77: <li>Extensive changes to the documentation, notably the man pages and
                     78: the Web FAQ. The manual pages now include useful examples to
                     79: supplement the explanations.
                     80: <p>
                     81:
                     82: <li>More complete collection and better tested set of "ports".
                     83: <p>
                     84:
                     85: <li>Over 1000 pre-built and tested packages.
                     86: <p>
                     87:
1.3       miod       88: <li>A new <a href="sparc64.html">OpenBSD/sparc64</a> port for UltraSPARC
                     89: hardware.
1.1       deraadt    90: <p>
                     91:
1.3       miod       92: <li>A new packet filter, <a
1.43    ! bentley    93: href="https://man.openbsd.org/pf.4">PF</a>,
1.3       miod       94: featuring NAT capabilities, with a mostly ipf-compatible syntax.
1.4       miod       95: <p>
1.1       deraadt    96:
                     97: <li>The system includes the following major components from outside suppliers:
                     98: <p>
                     99: <ul>
1.5       pvalchev  100: <li>XFree86 4.1.0 (and i386 contains 3.3.X servers also, thus providing support for all chipsets)
1.1       deraadt   101: <li>gcc 2.95.3 (+ patches)
1.3       miod      102: <li>perl 5.6.1 (+ patches)
                    103: <li>Apache 1.3.19, mod_ssl 2.8.2, OpenSSL 0.9.6b (+ patches), DSO support
1.1       deraadt   104: <li>groff 1.15
1.5       pvalchev  105: <li>sendmail 8.12.1
1.1       deraadt   106: <li>lynx 2.8.2 with HTTPS support added
                    107: <li>sudo 1.6.3p7
                    108: <li>ncurses 5.2
                    109: <li>Latest KAME IPv6
1.9       hin       110: <li>KTH Kerberos 1.0.8
                    111: <li>Heimdal 0.3f (+ patches)
1.2       miod      112: <li>OpenSSH 3.0
1.1       deraadt   113: </ul>
                    114: <p>
                    115:
                    116: <li>Many improvements for security and reliability (look for the red
                    117: print in the <a href=plus30.html>complete changelog</a>).
1.7       mpech     118: </ul>
1.43    ! bentley   119: </section>
1.1       deraadt   120:
                    121: <hr>
1.43    ! bentley   122:
        !           123: <section id=install>
        !           124: <h3>How to install</h3>
        !           125:
1.1       deraadt   126: <p>
                    127: Following this are the instructions which you would have on a piece of
                    128: paper if you had purchased a CDROM set instead of doing an alternate
                    129: form of install.  The instructions for doing an ftp (or other style
                    130: of) install are very similar; the CDROM instructions are left intact
                    131: so that you can see how much easier it would have been if you had
                    132: purchased a CDROM instead.
                    133: <p>
                    134:
                    135: <hr>
1.9       hin       136: Please refer to the following files on the three CDROMs for extensive
1.1       deraadt   137: details on how to install OpenBSD 3.0 on your machine:
                    138: <p>
                    139: <ul>
                    140: <li>   CD1:3.0/i386/INSTALL.i386
                    141: <li>   CD1:3.0/alpha/INSTALL.alpha
                    142: <p>
1.4       miod      143: <li>   CD2:3.0/macppc/INSTALL.macppc
1.1       deraadt   144: <li>   CD2:3.0/mvme68k/INSTALL.mvme68k
                    145: <li>   CD2:3.0/amiga/INSTALL.amiga
                    146: <li>   CD2:3.0/mac68k/INSTALL.mac68k
                    147: <li>   CD2:3.0/hp300/INSTALL.hp300
                    148: <li>   CD2:3.0/vax/INSTALL.vax
                    149: <p>
                    150: <li>   CD3:3.0/sparc/INSTALL.sparc
                    151: <li>   CD3:3.0/sparc64/INSTALL.sparc64
                    152: </ul>
                    153: <hr>
                    154:
1.43    ! bentley   155: <section id=quickinstall>
        !           156:
1.1       deraadt   157: <p>
                    158: Quick installer information for people familiar with OpenBSD, and the
                    159: use of the "disklabel -E" command.  If you are at all confused when
                    160: installing OpenBSD, read the relevant INSTALL.* file as listed above!
                    161:
1.43    ! bentley   162: <h3>OpenBSD/i386:</h3>
        !           163:
1.1       deraadt   164: <p>
                    165: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386 release is on CD1. If your BIOS does not support booting from CD, you will need to create a boot floppy to install from. To create a boot floppy write <i>CD1:3.0/i386/floppy30.fs</i> to a floppy and boot via the floppy drive.
                    166:
                    167: <p>
1.4       miod      168: Use <i>CD1:3.0/i386/floppyB30.fs</i> instead for greater scsi controller
                    169: support, or <i>CD1:3.0/i386/floppyC30.fs</i> for better laptop support.
                    170:
                    171: <p>
1.1       deraadt   172: If you are planning on dual booting OpenBSD with another OS, you will need to read the included INSTALL.i386 document.
                    173:
                    174: <p>
1.43    ! bentley   175: To make a boot floppy under MS-DOS, use the &quot;rawrite&quot; utility located at <i>CD:/3.0/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS, use the <a href="https://man.openbsd.org/dd.1">dd(1)</a> utility. The following is an example usage of <a href="https://man.openbsd.org/dd.1">dd(1)</a>, where the device could be &quot;floppy&quot;, &quot;rfd0c&quot;, or &quot;rfd0a&quot;.
1.1       deraadt   176:
1.43    ! bentley   177: <blockquote><pre>
1.1       deraadt   178: # <strong>dd if=&lt;file&gt; of=/dev/&lt;device&gt; bs=32k</strong>
1.43    ! bentley   179: </pre></blockquote>
1.1       deraadt   180:
                    181: <p>
1.37      tj        182: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or your install will most likely fail. For more information on creating a boot floppy and installing OpenBSD/i386 please refer to <a href="faq/faq4.html#4.1">this page</a>.
1.1       deraadt   183:
1.43    ! bentley   184: <h3>OpenBSD/alpha:</h3>
        !           185:
1.1       deraadt   186: <p>
1.4       miod      187: At the SRM prompt, enter <i>boot -fi 3.0/alpha/bsd.rd dka6</i> where <i>dka6</i>
                    188: is the short name for the CDROM drive (you can check with <i>show dev</i>).
1.1       deraadt   189:
1.4       miod      190: <p>If you can't boot from CDROM, write <i>CD1:3.0/alpha/floppy30.fs</i> or
                    191: <i>CD1:3.0/alpha/floppyB30.fs</i> (depending on your machine) to a diskette and
                    192: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
1.1       deraadt   193:
                    194: <p>
1.4       miod      195: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install will most likely fail.
1.1       deraadt   196:
1.43    ! bentley   197: <h3>OpenBSD/macppc:</h3>
1.1       deraadt   198:
                    199: <p>
1.4       miod      200: Put the CD2 in your CDROM drive and poweron your machine while holding down the
                    201: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
1.1       deraadt   202:
                    203: <p>
1.4       miod      204: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
                    205: /3.0/macppc/bsd.rd</i>
1.43    ! bentley   206:
1.13      drahn     207: <p>
                    208: Due to an error in how the CD was produced for the 3.0 Release,
1.14      horacio   209: the following modified command should be used: <i>boot cd:,OFWBOOT
1.13      drahn     210: /3.0/macppc/bsd.rd</i>.
                    211: This command may not work on some older New World systems,
1.14      horacio   212: iMac (Rev A - Rev C); on these machines it will be necessary to
1.13      drahn     213: copy the ofwboot and /3.0/macppc/bsd.rd to the first HFS partition on
                    214: the harddrive and boot using <i>boot hd:,OFWBOOT /bsd.rd</i>.
1.1       deraadt   215:
1.43    ! bentley   216: <h3>OpenBSD/hp300:</h3>
        !           217:
1.1       deraadt   218: <p>
1.4       miod      219: Put the CD2 in your CDROM drive and press the spacebar during the poweron
                    220: self-test. Enter the boot choice that corresponds to <i>SYS_CDBOOT</i>.
                    221:
                    222: <p>
                    223: Alternatively, you can boot over the network by following the instructions in
                    224: INSTALL.hp300.
1.1       deraadt   225:
1.43    ! bentley   226: <h3>OpenBSD/amiga:</h3>
        !           227:
1.1       deraadt   228: <p>
1.4       miod      229: Create BSD partitions according to INSTALL.amiga's preparation section.
                    230: Mount the CD2 under AmigaOS as device CD0: Next, execute the following
                    231: CLI command: "CD0:3.0/amiga/utils/loadbsd CD0:3.0/amiga/bsd.rd".
1.1       deraadt   232:
1.43    ! bentley   233: <h3>OpenBSD/mac68k:</h3>
        !           234:
1.1       deraadt   235: <p>
                    236: Boot MacOS as normal and partition your disk with the appropriate A/UX
                    237: configurations.  Then, extract the Macside utilities from
                    238: CD2:3.0/mac68k/utils onto your hard disk.  Run Mkfs to create your
                    239: filesystems on the A/UX partitions you just made.  Then, use the
                    240: BSD/Mac68k Installer to copy all the sets in CD2:3.0/mac68k/ onto your
                    241: partitions.  Finally, you will be ready to configure the BSD/Mac68k
                    242: Booter with the location of your kernel and boot the system.
                    243:
1.43    ! bentley   244: <h3>OpenBSD/mvme68k:</h3>
        !           245:
1.4       miod      246: <p>
                    247: You can create a bootable installation tape or boot over the network.<br>
                    248: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
                    249: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
                    250: for more details.
1.43    ! bentley   251:
        !           252: <h3>OpenBSD/vax:</h3>
1.4       miod      253:
                    254: <p>
                    255: Boot over the network via mopbooting as described in INSTALL.vax.
1.43    ! bentley   256:
        !           257: <h3>OpenBSD/sparc:</h3>
1.4       miod      258:
                    259: <p>
                    260: The 3.0 release of OpenBSD/sparc is located on CD3. To boot off of this CD you can use one of the two commands listed below, depending on the version of your ROM.
                    261:
1.43    ! bentley   262: <blockquote><pre>
        !           263: > <kbd>boot cdrom 3.0/sparc/bsd.rd</kbd>
1.4       miod      264: or
1.43    ! bentley   265: > <kbd>b sd(0,6,0)3.0/sparc/bsd.rd</kbd>
        !           266: </pre></blockquote>
1.4       miod      267:
                    268: <p>
1.37      tj        269: If your sparc does not have a CD drive, you can alternatively boot from floppy. To do so you need to write &quot;CD3:3.0/sparc/floppy30.fs&quot; to a floppy. For more information see <a href="faq/faq4.html#4.1">this page</a>. To boot from the floppy use one of the two commands listed below, depending on the version of your ROM.
1.4       miod      270:
1.43    ! bentley   271: <blockquote><pre>
        !           272: > <kbd>boot floppy</kbd>
1.4       miod      273: or
                    274: > <strong>boot fd()</strong>
1.43    ! bentley   275: </pre></blockquote>
1.4       miod      276:
                    277: <p>
                    278: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install will most likely fail.
                    279:
                    280: <p>
                    281: If your sparc doesn't have a floppy drive nor a CD drive, you can either
                    282: setup a bootable tape, or install via network, as told in the
                    283: INSTALL.sparc file.
1.43    ! bentley   284:
        !           285: <h3>OpenBSD/sparc64:</h3>
1.4       miod      286:
                    287: <p>
                    288: Put the CD3 in your CDROM drive and type <i>boot cdrom</i>.
                    289:
                    290: <p>
                    291: If this doesn't work, or if you don't have a CDROM drive, you can write
                    292: <i>CD3:3.0/sparc64/floppy30.fs</i> to a floppy and boot it with <i>boot
                    293: floppy</i>.<br>
                    294: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install will most likely fail.
                    295:
                    296: <p>
1.5       pvalchev  297: You can also write <i>CD3:3.0/sparc64/miniroot30.fs</i> to the swap partition on
1.4       miod      298: the disk and boot with <i>boot disk:b</i>.
                    299:
                    300: <p>
                    301: If nothing works, you can boot over the network as described in INSTALL.sparc64
1.1       deraadt   302:
1.43    ! bentley   303: </section>
        !           304:
        !           305: <section id=sourcecode>
        !           306: <h3>Notes about the source code:</h3>
        !           307:
1.1       deraadt   308: <p>
                    309: src.tar.gz contains a source archive starting at /usr/src.  This file
                    310: contains everything you need except for the kernel sources, which are
                    311: in a separate archive.  To extract:
1.43    ! bentley   312:
        !           313: <blockquote><pre>
        !           314: # <kbd>mkdir -p /usr/src</kbd>
        !           315: # <kbd>cd /usr/src</kbd>
        !           316: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
        !           317: </pre></blockquote>
        !           318:
1.1       deraadt   319: <p>
                    320: srcsys.tar.gz contains a source archive starting at /usr/src/sys.
                    321: This file contains all the kernel sources you need to rebuild kernels.
                    322: To extract:
1.43    ! bentley   323:
        !           324: <blockquote><pre>
        !           325: # <kbd>mkdir -p /usr/src/sys</kbd>
        !           326: # <kbd>cd /usr/src</kbd>
        !           327: # <kbd>tar xvfz /tmp/srcsys.tar.gz</kbd>
        !           328: </pre></blockquote>
        !           329:
1.1       deraadt   330: <p>
                    331: Both of these trees are a regular CVS checkout.  Using these trees it
                    332: is possible to get a head-start on using the anoncvs servers as
                    333: described at <a href=anoncvs.html>http://www.OpenBSD.org/anoncvs.html</a>.
                    334: Using these files
                    335: results in a much faster initial CVS update than you could expect from
                    336: a fresh checkout of the full OpenBSD source tree.
1.43    ! bentley   337:
        !           338: </section>
        !           339: </section>
        !           340:
1.1       deraadt   341: <hr>
1.43    ! bentley   342:
        !           343: <section id=ports>
        !           344: <h3>Ports Tree</h3>
1.1       deraadt   345: <p>
                    346: A ports tree archive is also provided.  To extract:
                    347: <p>
1.43    ! bentley   348: <blockquote><pre>
        !           349: # <kbd>cd /usr</kbd>
        !           350: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
        !           351: # <kbd>cd ports</kbd>
        !           352: </pre></blockquote>
1.1       deraadt   353: <p>
                    354: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree.  Go
1.22      jasper    355: read <a href=faq/faq15.html>http://www.OpenBSD.org/faq/faq15.html</a>
1.1       deraadt   356: if you know nothing about ports
                    357: at this point.  This text is not a manual of how to use ports.
                    358: Rather, it is a set of notes meant to kickstart the user on the
                    359: OpenBSD ports system.
                    360: <p>
                    361: Certainly, the OpenBSD ports system is not complete.  It is doubtful it
                    362: will ever be. However, it is growing very fast and getting more stable.
                    363: Almost all ports provided with this release should build without problems
                    364: on most architectures (over 1200 packages build on i386, for instance).
                    365: <p>
1.35      tb        366: The <i>ports/</i> directory represents a CVS (see the manpage for
1.43    ! bentley   367: <a href="https://man.openbsd.org/cvs.1">
1.35      tb        368: cvs(1)</a> if
                    369: you aren't familiar with CVS) checkout of our ports.  As with our complete
1.1       deraadt   370: source tree, our ports tree is available via anoncvs.  So, in
                    371: order to keep current with it, you must make the <i>ports/</i> tree
                    372: available on a read-write medium and update the tree with a command
                    373: like:
                    374: <p>
1.43    ! bentley   375: <blockquote><pre>
1.21      deraadt   376: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_3_0</strong>
1.43    ! bentley   377: </pre></blockquote>
1.1       deraadt   378: <p>
                    379: [Of course, you must replace the local directory and server name here
                    380: with the location of your ports collection and a nearby anoncvs
                    381: server.]
                    382: <p>
                    383: Note that most ports are available as packages through ftp. Updated
                    384: packages for the 3.0 release will be made available if problems arise.
                    385: <p>
                    386: If you're interested in seeing a port added, would like to help out, or just
                    387: would like to know more, the mailing list ports@openbsd.org is a good
                    388: place to know.
1.43    ! bentley   389: </section>