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