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

Annotation of www/34.html, Revision 1.67

1.65      bentley     1: <!doctype html>
                      2: <html lang=en id=release>
                      3: <meta charset=utf-8>
                      4:
1.47      deraadt     5: <title>OpenBSD 3.4</title>
1.1       david       6: <meta name="description" content="OpenBSD 3.4">
1.58      tb          7: <meta name="viewport" content="width=device-width, initial-scale=1">
                      8: <link rel="stylesheet" type="text/css" href="openbsd.css">
1.61      tb          9: <link rel="canonical" href="https://www.openbsd.org/34.html">
1.1       david      10:
1.65      bentley    11: <h2 id=OpenBSD>
1.1       david      12: <a href="index.html">
1.65      bentley    13: <i>Open</i><b>BSD</b></a>
                     14: 3.4
1.58      tb         15: </h2>
1.1       david      16:
1.65      bentley    17: <table>
                     18: <tr>
                     19: <td>
1.1       david      20: <a href="images/Hood.gif">
1.65      bentley    21: <img width="255" height="343"
                     22: src="images/Hood.gif" alt="Hood"></a>
1.58      tb         23:
1.65      bentley    24: <td>
1.1       david      25: Released Nov 1, 2003<br>
                     26: Copyright 1997-2003, Theo de Raadt.<br>
1.65      bentley    27: <cite class=isbn>ISBN 0-9731791-2-0</cite>
1.41      deraadt    28: <br>
1.55      deraadt    29: 3.4 Song: <a href="lyrics.html#34">"The Legend of Puffy Hood"</a>
1.64      deraadt    30: <br>
                     31: <br>
1.1       david      32: <ul>
                     33: <li>See the information on <a href="ftp.html">The FTP page</a> for
1.8       david      34:     a list of mirror machines.
1.65      bentley    35: <li>Go to the <code class=reldir>pub/OpenBSD/3.4/</code> directory on
1.8       david      36:     one of the mirror sites.
1.40      deraadt    37: <li>Have a look at <a href="errata34.html">The 3.4 Errata page</a> for a list
1.8       david      38:     of bugs and workarounds.
1.38      david      39: <li>See a <a href="plus34.html">detailed log of changes</a> between the
1.8       david      40:     3.3 and 3.4 releases.
1.1       david      41: </ul>
1.59      tb         42: <p>
1.58      tb         43: All applicable copyrights and credits are in the src.tar.gz,
                     44: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
                     45: files fetched via ports.tar.gz.
1.65      bentley    46: </table>
1.1       david      47:
1.58      tb         48: <hr>
1.65      bentley    49:
                     50: <section id=new>
                     51: <h3>What's New</h3>
1.1       david      52: <p>
                     53: This is a partial list of new features and systems included in OpenBSD 3.4.
1.38      david      54: For a comprehensive list, see the <a href="plus34.html">changelog</a> leading
1.1       david      55: to 3.4.
                     56: <p>
                     57:
                     58: <ul>
                     59:
1.58      tb         60: <li>The i386 architecture has been switched to the
1.65      bentley    61:     <a href="https://man.openbsd.org/elf">ELF</a>
1.27      avsm       62:      executable format.
1.1       david      63: <p>
                     64:
1.6       tedu       65: <li>Further W^X improvements, including support for the i386 architecture.
                     66:     Native i386 binaries have their executable segments rearranged to support
1.42      david      67:     isolating code from data, and the CPU CS limit is used to impose a best
1.14      deraadt    68:     effort limit on code execution.
1.1       david      69: <p>
                     70:
1.65      bentley    71: <li><a href="https://man.openbsd.org/ld.so">ld.so(1)</a>
1.20      deraadt    72:     on ELF platforms now loads libraries in a random order for
1.14      deraadt    73:     greater resistance to attacks.  The i386 architecture also maps libraries
1.58      tb         74:     into somewhat randomized addresses.  Together with W^X and
1.27      avsm       75:     <a href="http://www.research.ibm.com/trl/projects/security/ssp/">ProPolice</a>,
1.31      tedu       76:     these changes increase the difficulty of successfully exploiting an
                     77:     application error, such as a buffer overflow.
1.1       david      78: <p>
                     79:
                     80: <li>A static bounds checker has been added to the compiler to perform basic
1.4       avsm       81:     checks on functions which accept buffers and sizes.  The checker aims to
1.8       david      82:     find common mistakes in the use of library functions such as
1.65      bentley    83:     <a href="https://man.openbsd.org/strlcpy">strlcpy(3)</a>
                     84:     or <a href="https://man.openbsd.org/sscanf">sscanf(3)</a>
1.4       avsm       85:     without emitting any false positives.  Running it over the source and ports
                     86:     trees revealed over a hundred real bugs, which were fixed and submitted back
                     87:     to the original authors where possible.
1.1       david      88: <p>
                     89:
1.20      deraadt    90: <li>Privilege separation has been implemented for the
1.65      bentley    91:     <a href="https://man.openbsd.org/syslogd">syslogd(8)</a>
1.21      david      92:     daemon, making it much more robust against future errors.  The child which
                     93:     listens to network traffic now runs as a normal user and chroots itself,
                     94:     while the parent process tracks the state of the child and performs
                     95:     privileged operations on its behalf.
1.1       david      96: <p>
                     97:
                     98: <li>Many unsafe string functions have been removed from the kernel and userland
1.6       tedu       99:     utilities.  This audit is one of the most comprehensive OpenBSD has ever
                    100:     done, with thousands of occurrences of
1.65      bentley   101:     <a href="https://man.openbsd.org/strcpy">strcpy(3)</a>,
                    102:     <a href="https://man.openbsd.org/strcat">strcat(3)</a>,
                    103:     <a href="https://man.openbsd.org/sprintf">sprintf(3)</a>,
1.8       david     104:     and
1.65      bentley   105:     <a href="https://man.openbsd.org/vsprintf">vsprintf(3)</a>
1.4       avsm      106:     being replaced with safer, bounded alternatives such as
1.65      bentley   107:     <a href="https://man.openbsd.org/strlcpy">strlcpy(3)</a>,
                    108:     <a href="https://man.openbsd.org/strlcat">strlcat(3)</a>,
                    109:     <a href="https://man.openbsd.org/snprintf">snprintf(3)</a>,
                    110:     <a href="https://man.openbsd.org/vsnprintf">vsnprintf(3)</a>,
1.12      deraadt   111:     and
1.65      bentley   112:     <a href="https://man.openbsd.org/asprintf">asprintf(3)</a>.
1.1       david     113: <p>
                    114:
1.31      tedu      115: <li>Many improvements to and bugs fixed in the
                    116:     <a href="http://www.research.ibm.com/trl/projects/security/ssp/">
1.33      miod      117:     ProPolice</a> stack protector.  Several other code generation bugs
1.31      tedu      118:     for RISC architectures fixed.
                    119: <p>
                    120:
1.13      david     121: <li><a href="http://www.research.ibm.com/trl/projects/security/ssp/">
                    122:     ProPolice</a> stack protection has been enabled in the kernel as well.
1.1       david     123: <p>
                    124:
1.18      avsm      125: <li>Privilege separation has been implemented in the X server.  The privileged
1.15      david     126:     child process is responsible for the operations that can't be done after the
                    127:     main process has switched to a non-privileged user. This greatly reduces the
                    128:     potential damage that could be caused by malicious X clients, in case of
                    129:     bugs in the X server.
                    130: <p>
                    131:
1.20      deraadt   132: <li>Emulation support for binary compatibility is now controlled via
1.65      bentley   133:     <a href="https://man.openbsd.org/sysctl.8">sysctl(8)</a>.
1.19      tedu      134:     Emulation is now disabled by default to limit exposure to malicious
                    135:     binaries, and can be enabled in
1.65      bentley   136:     <a href="https://man.openbsd.org/sysctl.conf">
1.19      tedu      137:     sysctl.conf(5)</a>.
1.16      tedu      138: <p>
                    139:
1.1       david     140: <li>Manual pages have been greatly cleaned up and improved.
                    141: <p>
                    142:
1.8       david     143: <li>The ports tree now supports building programs under
1.65      bentley   144:     <a href="https://man.openbsd.org/systrace">
1.8       david     145:     systrace(1)</a>, preventing the possibility of applications harming the
                    146:     system at compile-time via trojaned configuration scripts or otherwise.
1.1       david     147: <p>
                    148:
1.58      tb        149: <li>Symbol caching in
1.65      bentley   150:     <a href="https://man.openbsd.org/ld.so">ld.so(1)</a>
1.25      avsm      151:     reduces the startup time of large applications.
1.23      tedu      152: <p>
                    153:
1.25      avsm      154: <li>More license fixes, including the removal of the advertising clause
1.6       tedu      155:     for large parts of the source tree.
                    156: <p>
                    157:
1.20      deraadt   158: <li>Replacement of GNU
1.65      bentley   159: <a href="https://man.openbsd.org/diff">diff(1)</a>,
                    160: <a href="https://man.openbsd.org/diff3">diff3(1)</a>,
                    161: <a href="https://man.openbsd.org/grep">grep(1)</a>,
                    162: <a href="https://man.openbsd.org/egrep">egrep(1)</a>,
                    163: <a href="https://man.openbsd.org/fgrep">fgrep(1)</a>,
                    164: <a href="https://man.openbsd.org/zgrep">zgrep(1)</a>,
                    165: <a href="https://man.openbsd.org/zegrep">zegrep(1)</a>,
                    166: <a href="https://man.openbsd.org/zfgrep">zfgrep(1)</a>,
                    167: <a href="https://man.openbsd.org/gzip">gzip(1)</a>,
                    168: <a href="https://man.openbsd.org/zcat">zcat(1)</a>,
                    169: <a href="https://man.openbsd.org/gunzip">gunzip(1)</a>,
                    170: <a href="https://man.openbsd.org/gzcat">gzcat(1)</a>,
                    171: <a href="https://man.openbsd.org/zcmp">zcmp(1)</a>,
                    172: <a href="https://man.openbsd.org/zmore">zmore(1)</a>,
                    173: <a href="https://man.openbsd.org/zdiff">zdiff(1)</a>,
                    174: <a href="https://man.openbsd.org/zforce">zforce(1)</a>,
                    175: <a href="https://man.openbsd.org/gzexe">gzexe(1)</a>,
1.20      deraadt   176: and
1.65      bentley   177: <a href="https://man.openbsd.org/znew">znew(1)</a>
1.20      deraadt   178: commands with BSD licensed equivalents.
                    179: <p>
                    180:
                    181: <li>Addition of read-only support for
1.65      bentley   182:     <a href="https://man.openbsd.org/mount_ntfs">NTFS</a>
1.20      deraadt   183:     file systems.
                    184: <p>
                    185:
                    186: <li>Reliability improvements to layered file systems, enabling
1.65      bentley   187:     <a href="https://man.openbsd.org/mount_null">NULLFS</a>
1.20      deraadt   188:     to work again.
1.6       tedu      189: <p>
                    190:
1.31      tedu      191: <li>Import of
1.65      bentley   192:     <a href="https://man.openbsd.org/growfs">growfs(8)</a>
1.31      tedu      193:     utility, allowing expansion of existing file systems.
                    194: <p>
                    195:
1.26      deraadt   196: <li>Improvements to
1.65      bentley   197:     <a href="https://man.openbsd.org/compat_linux">linux emulation</a>
1.26      deraadt   198:     enabling more applications to run.
1.6       tedu      199: <p>
                    200:
1.58      tb        201: <li>Significant improvements to the
1.65      bentley   202:     <a href="https://man.openbsd.org/pthreads">pthreads(3)</a>
1.27      avsm      203:     library.
1.16      tedu      204: <p>
                    205:
1.20      deraadt   206: <li>Replace many static fd_set uses, to instead use
1.65      bentley   207:     <a href="https://man.openbsd.org/poll">poll(2)</a>
1.20      deraadt   208: or dynamic allocation.
1.16      tedu      209: <p>
                    210:
1.31      tedu      211: <li>ANSIfication and stricter prototypes for a large portion of the source tree.
                    212: <p>
                    213:
1.13      david     214: <li>Legacy KerberosIV support has been removed, and the remaining KerberosV
                    215:     codebase has been restructured for easier management.
1.3       jason     216: <p>
                    217:
1.13      david     218: <li>Over 2400 ports, 2200 pre-built packages.
1.1       david     219: <p>
                    220:
                    221: <li>A large number of bug fixes, changes, and optimizations to our packet filter
1.65      bentley   222:     <a href="https://man.openbsd.org/pf">pf(4)</a>
1.1       david     223:     including:
                    224: <ul>
1.20      deraadt   225: <li>packet tagging (e.g. filter on tags added by bridge based on MAC address)
1.10      frantzen  226: <li>stateful TCP normalization (prevent uptime calculation and NAT detection)
1.9       dhartmei  227: <li>passive OS detection (filter or redirect connections based on source OS)
                    228: <li>SYN proxy (protect servers against SYN flood attacks)
                    229: <li>adaptive state timeouts (prevent state table overflows under attack)
1.1       david     230: </ul>
                    231: <p>
                    232:
1.16      tedu      233: <li>Improved hardware support, including:
                    234: <ul>
1.58      tb        235: <li>Kauai ATA controllers (Apple ATA100 wdc)
1.65      bentley   236:     <a href="https://man.openbsd.org/kauaiata&arch=macppc">
1.31      tedu      237:     kauaiata(4)</a> enabling support for Powerbook 12" and 17" models.
1.16      tedu      238: <li>Support for controlling LongRun registers on Transmeta CPUs.
1.19      tedu      239: <li>Many fixes to
1.65      bentley   240:     <a href="https://man.openbsd.org/aac">aac(4)</a>,
                    241:     <a href="https://man.openbsd.org/ahc">ahc(4)</a>,
                    242:     <a href="https://man.openbsd.org/osiop">osiop(4)</a>,
                    243:     and <a href="https://man.openbsd.org/siop">siop(4)</a>
1.19      tedu      244:     SCSI drivers.
                    245: <li>New
1.65      bentley   246:     <a href="https://man.openbsd.org/it">it(4)</a>,
                    247:     <a href="https://man.openbsd.org/lm">lm(4)</a>, and
                    248:     <a href="https://man.openbsd.org/viaenv">viaenv(4)</a>
1.19      tedu      249:     hardware monitor drivers.
                    250: <li>New
1.65      bentley   251:     <a href="https://man.openbsd.org/safe">safe(4)</a>
1.39      david     252:     driver for SafeNet crypto accelerators.
1.19      tedu      253: <li>New
1.65      bentley   254:     <a href="https://man.openbsd.org/mtd">mtd(4)</a>
1.19      tedu      255:     driver for Myson Technologies network cards.
                    256: <li>More ethernet cards supported by
1.65      bentley   257:     <a href="https://man.openbsd.org/sk">sk(4)</a>,
                    258:     <a href="https://man.openbsd.org/wi">wi(4)</a>,
                    259:     <a href="https://man.openbsd.org/fxp">fxp(4)</a>,
                    260:     and <a href="https://man.openbsd.org/dc.4">dc(4)</a>.
1.19      tedu      261: <li>Massive overhaul and sync with NetBSD of the entire
1.65      bentley   262:     <a href="https://man.openbsd.org/usb.4">usb(4)</a>
1.19      tedu      263:     support system.
                    264: <li>New and better support for various controllers in
1.65      bentley   265:     <a href="https://man.openbsd.org/pciide">pciide(4)</a>,
1.19      tedu      266:     including experimental support for Serial ATA.
1.31      tedu      267: <li>New drivers to support
1.65      bentley   268:     <a href="https://man.openbsd.org/mgx&arch=sparc">
1.32      tedu      269:     mgx(4)</a> and
1.65      bentley   270:     <a href="https://man.openbsd.org/pninek&arch=sparc">
1.32      tedu      271:     pninek(4)</a> SPARC framebuffers. The
1.65      bentley   272:     <a href="https://man.openbsd.org/vigra&arch=sparc">
1.32      tedu      273:     vigra(4)</a> driver also supports more models.
1.65      bentley   274: <li><a href="https://man.openbsd.org/pcmcia">pcmcia(4)</a>
1.31      tedu      275:     support for Tadpole SPARCBooks and SPARCs with pcmcia-sbus bridges.
1.34      markus    276: <li>Watchdog support for
1.65      bentley   277:     <a href="https://man.openbsd.org/elansc&arch=i386">elansc(4)</a>
1.34      markus    278:     and
1.65      bentley   279:     <a href="https://man.openbsd.org/geodesc&arch=i386">geodesc(4)</a>
1.34      markus    280:     as used on Soekris boards.
1.16      tedu      281: </ul>
                    282: <p>
                    283:
1.1       david     284: <li>The system includes the following major components from outside suppliers:
                    285: <ul>
1.7       david     286: <li>XFree86 4.3.0 (+ patches, and i386 contains 3.3.X servers also, thus
                    287:     providing support for all chipsets)
1.1       david     288: <li>Gcc 2.95.3 (+ patches)
                    289: <li>Perl 5.8.0 (+ patches)
                    290: <li>Apache 1.3.28, mod_ssl 2.8.15, DSO support (+ patches)
1.30      david     291: <li>OpenSSL 0.9.7b (+ patches)
1.1       david     292: <li>Groff 1.15
1.37      david     293: <li>Sendmail 8.12.9 (+ parse8.359.2.8 security patch)
1.1       david     294: <li>Bind 9.2.2 (+ patches)
1.5       avsm      295: <li>Lynx 2.8.4rel.1 with HTTPS and IPv6 support (+ patches)
1.1       david     296: <li>Sudo 1.6.7p5
                    297: <li>Ncurses 5.2
                    298: <li>Latest KAME IPv6
                    299: <li>Heimdal 0.6rc1 (+ patches)
                    300: <li>Arla-current
1.36      david     301: <li>OpenSSH 3.7.1 (now with GSSAPI support)
1.1       david     302: </ul>
                    303: <p>
                    304:
                    305: <p>
                    306: <li>Many improvements for security and reliability (look for the red
1.38      david     307: print in the <a href="plus34.html">complete changelog</a>).
1.1       david     308: <p>
                    309: <li> and much more.
                    310:
                    311: </ul>
1.65      bentley   312: </section>
1.1       david     313:
                    314: <hr>
1.65      bentley   315:
                    316: <section id=install>
                    317: <h3>How to install</h3>
1.1       david     318: <p>
                    319: Following this are the instructions which you would have on a piece of
                    320: paper if you had purchased a CDROM set instead of doing an alternate
                    321: form of install.  The instructions for doing an ftp (or other style
                    322: of) install are very similar; the CDROM instructions are left intact
                    323: so that you can see how much easier it would have been if you had
                    324: purchased a CDROM instead.
                    325: <p>
                    326:
                    327: <hr>
                    328: Please refer to the following files on the three CDROMs or ftp mirror for
                    329: extensive details on how to install OpenBSD 3.4 on your machine:
                    330: <p>
                    331: <ul>
1.66      deraadt   332: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.4/i386/INSTALL.i386">
                    333:        .../OpenBSD/3.4/i386/INSTALL.i386 (on CD1)</a>
1.1       david     334: <p>
1.66      deraadt   335: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.4/macppc/INSTALL.macppc">
                    336:        .../OpenBSD/3.4/macppc/INSTALL.macppc (on CD2)</a>
                    337: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.4/vax/INSTALL.vax">
                    338:        .../OpenBSD/3.4/vax/INSTALL.vax (on CD2)</a>
                    339: <p>
                    340: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.4/sparc/INSTALL.sparc">
                    341:        .../OpenBSD/3.4/sparc/INSTALL.sparc (on CD3)</a>
                    342: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.4/sparc64/INSTALL.sparc64">
                    343:        .../OpenBSD/3.4/sparc64/INSTALL.sparc64 (on CD3)</a>
                    344: <p>
                    345: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.4/alpha/INSTALL.alpha">
                    346:        .../OpenBSD/3.4/alpha/INSTALL.alpha</a>
                    347: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.4/hp300/INSTALL.hp300">
                    348:        .../OpenBSD/3.4/hp300/INSTALL.hp300</a>
                    349: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.4/hppa/INSTALL.hppa">
                    350:        .../OpenBSD/3.4/hppa/INSTALL.hppa</a>
                    351: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.4/mac68k/INSTALL.mac68k">
                    352:        .../OpenBSD/3.4/mac68k/INSTALL.mac68k</a>
                    353: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.4/mvme68k/INSTALL.mvme68k">
                    354:        .../OpenBSD/3.4/mvme68k/INSTALL.mvme68k</a>
1.1       david     355: </ul>
1.66      deraadt   356: </section>
                    357:
1.1       david     358: <hr>
                    359:
1.65      bentley   360: <section id=quickinstall>
                    361:
1.1       david     362: <p>
                    363: Quick installer information for people familiar with OpenBSD, and the
                    364: use of the "disklabel -E" command.  If you are at all confused when
                    365: installing OpenBSD, read the relevant INSTALL.* file as listed above!
1.65      bentley   366:
                    367: <h3>OpenBSD/i386:</h3>
                    368:
1.1       david     369: <p>
                    370: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
                    371: release is on CD1. If your BIOS does not support booting from CD, you will need
                    372: to create a boot floppy to install from. To create a boot floppy write
                    373: <i>CD1:3.4/i386/floppy34.fs</i> to a floppy and boot via the floppy drive.
                    374:
                    375: <p>
                    376: Use <i>CD1:3.4/i386/floppyB34.fs</i> instead for greater scsi controller
                    377: support, or <i>CD1:3.4/i386/floppyC34.fs</i> for better laptop support.
                    378:
                    379: <p>
1.2       david     380: If you are planning on dual booting OpenBSD with another OS, you will need to
                    381: read the included INSTALL.i386 document.
1.1       david     382:
                    383: <p>
                    384: To make a boot floppy under MS-DOS, use the &quot;rawrite&quot; utility located
1.2       david     385: at <i>CD:/3.4/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
1.65      bentley   386: use the <a href="https://man.openbsd.org/dd.1">dd(1)</a>
                    387: utility. The following is an example usage of
                    388: <a href="https://man.openbsd.org/dd.1">dd(1)
1.2       david     389: </a>, where the device could be &quot;floppy&quot;, &quot;rfd0c&quot;, or
                    390: &quot;rfd0a&quot;.
1.1       david     391:
1.65      bentley   392: <blockquote><pre>
                    393: # <kbd>dd if=&lt;file&gt; of=/dev/&lt;device&gt; bs=32k</kbd>
                    394: </pre></blockquote>
1.1       david     395:
                    396: <p>
1.2       david     397: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
                    398: your install will most likely fail. For more information on creating a boot
                    399: floppy and installing OpenBSD/i386 please refer to
1.60      tj        400: <a href="faq/faq4.html#MkFlop">this page</a>.
1.65      bentley   401:
                    402: <h3>OpenBSD/macppc:</h3>
1.1       david     403:
                    404: <p>
                    405: Put the CD2 in your CDROM drive and poweron your machine while holding down the
                    406: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
                    407:
                    408: <p>
                    409: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
                    410: /3.4/macppc/bsd.rd</i>
1.65      bentley   411:
                    412: <h3>OpenBSD/vax:</h3>
1.1       david     413:
                    414: <p>
                    415: Boot over the network via mopbooting as described in INSTALL.vax.
1.65      bentley   416:
                    417: <h3>OpenBSD/sparc:</h3>
1.1       david     418:
                    419: <p>
1.2       david     420: The 3.4 release of OpenBSD/sparc is located on CD3. To boot off of this CD you
                    421: can use one of the two commands listed below, depending on the version of your
                    422: ROM.
1.1       david     423:
1.65      bentley   424: <blockquote><pre>
                    425: > <kbd>boot cdrom 3.4/sparc/bsd.rd</kbd>
1.1       david     426: or
1.65      bentley   427: > <kbd>b sd(0,6,0)3.4/sparc/bsd.rd</kbd>
                    428: </pre></blockquote>
1.1       david     429:
                    430: <p>
                    431: If your sparc does not have a CD drive, you can alternatively boot from floppy.
1.2       david     432: To do so you need to write &quot;CD3:3.4/sparc/floppy34.fs&quot; to a floppy.
1.60      tj        433: For more information see <a href="faq/faq4.html#MkFlop">this page</a>. To boot from
1.2       david     434: the floppy use one of the two commands listed below, depending on the version of
                    435: your ROM.
1.1       david     436:
1.65      bentley   437: <blockquote><pre>
                    438: > <kbd>boot floppy</kbd>
1.1       david     439: or
1.65      bentley   440: > <kbd>boot fd()</kbd>
                    441: </pre></blockquote>
1.1       david     442:
                    443: <p>
1.2       david     444: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
                    445: will most likely fail.
1.1       david     446:
                    447: <p>
                    448: If your sparc doesn't have a floppy drive nor a CD drive, you can either
                    449: setup a bootable tape, or install via network, as told in the
                    450: INSTALL.sparc file.
1.65      bentley   451:
                    452: <h3>OpenBSD/sparc64:</h3>
1.1       david     453:
                    454: <p>
                    455: Put the CD3 in your CDROM drive and type <i>boot cdrom</i>.
                    456:
                    457: <p>
                    458: If this doesn't work, or if you don't have a CDROM drive, you can write
                    459: <i>CD3:3.4/sparc64/floppy34.fs</i> to a floppy and boot it with <i>boot
                    460: floppy</i>.<br>
1.2       david     461: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
                    462: will most likely fail.
1.1       david     463:
                    464: <p>
                    465: You can also write <i>CD3:3.4/sparc64/miniroot34.fs</i> to the swap partition on
                    466: the disk and boot with <i>boot disk:b</i>.
                    467:
                    468: <p>
                    469: If nothing works, you can boot over the network as described in INSTALL.sparc64
1.65      bentley   470:
                    471: <h3>OpenBSD/alpha:</h3>
1.1       david     472:
                    473: <p>
1.66      deraadt   474: Write <i>3.4/alpha/floppy34.fs</i> or
                    475: <i>3.4/alpha/floppyB34.fs</i> (depending on your machine) to a diskette and
1.1       david     476: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
                    477:
                    478: <p>
1.2       david     479: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
                    480: will most likely fail.
1.1       david     481:
1.65      bentley   482: <h3>OpenBSD/hp300:</h3>
1.1       david     483:
                    484: <p>
                    485: Boot over the network by following the instructions in INSTALL.hp300.
                    486:
1.65      bentley   487: <h3>OpenBSD/hppa:</h3>
                    488:
1.1       david     489: <p>
                    490: Boot over the network by following the instructions in INSTALL.hppa or the
                    491: <a href="hppa.html#netboot">hppa platform page</a>.
                    492:
1.65      bentley   493: <h3>OpenBSD/mac68k:</h3>
                    494:
1.1       david     495: <p>
                    496: Boot MacOS as normal and partition your disk with the appropriate A/UX
                    497: configurations.  Then, extract the Macside utilities from
1.66      deraadt   498: <i>3.4/mac68k/utils</i> onto your hard disk.  Run Mkfs to create your
1.1       david     499: filesystems on the A/UX partitions you just made.  Then, use the
1.66      deraadt   500: "BSD/Mac68k Installer" to copy all the sets in <i>3.4/mac68k/</i> onto your
1.1       david     501: partitions.  Finally, you will be ready to configure the "BSD/Mac68k
                    502: Booter" with the location of your kernel and boot the system.
                    503:
1.65      bentley   504: <h3>OpenBSD/mvme68k:</h3>
                    505:
1.1       david     506: <p>
                    507: You can create a bootable installation tape or boot over the network.<br>
                    508: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
                    509: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
                    510: for more details.
1.66      deraadt   511: </section>
1.65      bentley   512:
1.66      deraadt   513: <hr>
1.65      bentley   514:
                    515: <section id=sourcecode>
1.66      deraadt   516: <h3>Notes about the source code</h3>
1.1       david     517: <p>
                    518: src.tar.gz contains a source archive starting at /usr/src.  This file
                    519: contains everything you need except for the kernel sources, which are
                    520: in a separate archive.  To extract:
1.65      bentley   521:
                    522: <blockquote><pre>
                    523: # <kbd>mkdir -p /usr/src</kbd>
                    524: # <kbd>cd /usr/src</kbd>
                    525: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
                    526: </pre></blockquote>
                    527:
1.1       david     528: <p>
                    529: sys.tar.gz contains a source archive starting at /usr/src/sys.
                    530: This file contains all the kernel sources you need to rebuild kernels.
                    531: To extract:
1.65      bentley   532:
                    533: <blockquote><pre>
                    534: # <kbd>mkdir -p /usr/src/sys</kbd>
                    535: # <kbd>cd /usr/src</kbd>
                    536: # <kbd>tar xvfz /tmp/sys.tar.gz</kbd>
                    537: </pre></blockquote>
                    538:
1.1       david     539: <p>
                    540: Both of these trees are a regular CVS checkout.  Using these trees it
                    541: is possible to get a head-start on using the anoncvs servers as
                    542: described <a href="anoncvs.html">here</a>.
                    543: Using these files
                    544: results in a much faster initial CVS update than you could expect from
                    545: a fresh checkout of the full OpenBSD source tree.
1.65      bentley   546: </section>
                    547:
1.1       david     548: <hr>
1.65      bentley   549:
                    550: <section id=ports>
                    551: <h3>Ports Tree</h3>
1.1       david     552: <p>
                    553: A ports tree archive is also provided.  To extract:
1.65      bentley   554: <blockquote><pre>
                    555: # <kbd>cd /usr</kbd>
                    556: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
                    557: # <kbd>cd ports</kbd>
                    558: </pre></blockquote>
1.1       david     559: <p>
                    560: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree.  Go
1.45      jasper    561: read the <a href="faq/faq15.html">ports</a> page
1.1       david     562: if you know nothing about ports
                    563: at this point.  This text is not a manual of how to use ports.
                    564: Rather, it is a set of notes meant to kickstart the user on the
                    565: OpenBSD ports system.
                    566: <p>
                    567: The <i>ports/</i> directory represents a CVS (see the manpage for
1.67    ! bentley   568: <a href="https://man.openbsd.org/cvs.1">cvs(1)</a> if
1.1       david     569: you aren't familiar with CVS) checkout of our ports.  As with our complete
                    570: source tree, our ports tree is available via anoncvs.  So, in
                    571: order to keep current with it, you must make the <i>ports/</i> tree
                    572: available on a read-write medium and update the tree with a command
                    573: like:
1.65      bentley   574: <blockquote><pre>
                    575: # <kbd>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_3_4</kbd>
                    576: </pre></blockquote>
1.1       david     577: <p>
                    578: [Of course, you must replace the local directory and server name here
                    579: with the location of your ports collection and a nearby anoncvs
                    580: server.]
                    581: <p>
1.66      deraadt   582: Note that most ports are available as packages on our mirrors. Updated
1.1       david     583: packages for the 3.4 release will be made available if problems arise.
                    584: <p>
                    585: If you're interested in seeing a port added, would like to help out, or just
1.66      deraadt   586: would like to know more, the mailing list
                    587: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
1.65      bentley   588: </section>