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