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

Annotation of www/34.html, Revision 1.61

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