Annotation of www/35.html, Revision 1.109
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
1.100 deraadt 4: <title>OpenBSD 3.5</title>
1.1 deraadt 5: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6: <meta name="description" content="OpenBSD 3.5">
1.25 miod 7: <meta name="copyright" content="This document copyright 2004 by OpenBSD.">
1.106 sthen 8: <link rel="canonical" href="http://www.openbsd.org/35.html">
1.1 deraadt 9: </head>
10:
11: <body bgcolor="#ffffff" text="#000000" link="#24248E">
12:
13: <a href="index.html">
14: <img alt="[OpenBSD]" height="30" width="141" hspace="24" src="images/smalltitle.gif" border="0"></a>
1.102 deraadt 15: <p>
1.1 deraadt 16:
17: <a href="images/Carp.gif">
1.100 deraadt 18: <img align="left" width="255" height="343" hspace="24"
1.1 deraadt 19: src="images/Carp.gif" alt="OpenBSD 3.5 logo"></a>
1.100 deraadt 20: <h2><font color="#0000e0">OpenBSD 3.5</font></h2>
1.1 deraadt 21: <p>
22: Released May 1, 2004<br>
23: Copyright 1997-2004, Theo de Raadt.<br>
1.89 wvdputte 24: <font color="#e00000">ISBN 0-9731791-3-9</font>
1.93 deraadt 25: <br>
1.108 deraadt 26: 3.5 Song: <a href="lyrics.html#35">"CARP License" and "Redundancy must be free"</a>
1.1 deraadt 27: <p>
28: <ul>
1.105 deraadt 29: <li>Order a CDROM from our <a href="https://openbsdstore.com">ordering system</a>.
1.1 deraadt 30: <li>See the information on <a href="ftp.html">The FTP page</a> for
31: a list of mirror machines.
32: <li>Go to the <font color="#e00000">pub/OpenBSD/3.5/</font> directory on
33: one of the mirror sites.
1.92 miod 34: <li>Have a look at <a href="errata35.html">The 3.5 Errata page</a> for a list
1.1 deraadt 35: of bugs and workarounds.
1.88 deraadt 36: <li>See a <a href="plus35.html">detailed log of changes</a> between the
1.1 deraadt 37: 3.4 and 3.5 releases.
38: </ul>
39: <br clear=all>
1.101 deraadt 40: <p>
1.100 deraadt 41: All applicable copyrights and credits can be found in the applicable
42: file sources found in the files src.tar.gz, sys.tar.gz,
1.104 jsg 43: XF4.tar.gz, or in the files fetched via ports.tar.gz. The
1.100 deraadt 44: distribution files used to build packages from the ports.tar.gz file
45: are not included on the CDROM because of lack of space.
1.1 deraadt 46: <p>
47:
48: <a name="new"></a>
49: <hr>
50: <p>
51: <h3><font color="#0000e0">What's New</font></h3>
52: <p>
53: This is a partial list of new features and systems included in OpenBSD 3.5.
1.88 deraadt 54: For a comprehensive list, see the <a href="plus35.html">changelog</a> leading
1.1 deraadt 55: to 3.5.
56: <p>
57:
58: <ul>
59:
1.14 deraadt 60: <li> New platforms:
61: <ul>
1.74 deraadt 62: <li><a href="amd64.html">OpenBSD/amd64</a><br>
63: Supporting the AMD64 architecture natively,
64: with full 64-bit support, 8 extra registers in the architecture
65: to significantly increase performance, and a memory management
66: Non-Executable bit that permits full W^X support.<br>
1.94 david 67: (Note: The upcoming Intel "ia32e" AMD64-compatible CPUs have also
1.74 deraadt 68: been tested, and work, even though they lack the NX bit).
69: <li><a href="cats.html">OpenBSD/cats</a><br>
1.94 david 70: Our first entry in the ARM-CPU landscape. We intend to use this as a
1.74 deraadt 71: development platform for something else we plan for the future...
72: <li><a href="mvme88k.html">OpenBSD/mvme88k</a><br>
1.94 david 73: Supporting an older, but very cool CPU architecture, perhaps the
74: most pure RISC CPU ever.
1.14 deraadt 75: </ul>
76: <p>
77:
1.35 otto 78: <li>Replacement of the GNU
1.109 ! beck 79: <a href="http://man.openbsd.org?query=bc">bc(1)</a>,
! 80: <a href="http://man.openbsd.org?query=dc">dc(1)</a>,
! 81: <a href="http://man.openbsd.org?query=nm">nm(1)</a> and
! 82: <a href="http://man.openbsd.org?query=size">size(1)</a>
1.1 deraadt 83: commands with BSD licensed equivalents.
84: <p>
85:
1.5 mcbride 86: <li>A large number of bug fixes, changes, and optimizations to our packet filter
1.109 ! beck 87: <a href="http://man.openbsd.org?query=pf">pf(4)</a>
1.5 mcbride 88: including:
89: <ul>
1.19 otto 90: <li>Atomic commits of ruleset changes (reduce the chance of ending up in an
91: inconsistent state).
1.69 djm 92: <li>A 30% reduction in the size of state table entries.
1.19 otto 93: <li>Source-tracking (limit number of clients and states per client).
94: <li>Sticky-address (the flexibility of round-robin with the benefits of
95: source-hash).
1.53 mcbride 96: <li>Invert the socket match order when redirecting to
1.34 avsm 97: localhost (prevents the potential security problem of remote connections
1.19 otto 98: being identified as local).
1.5 mcbride 99: <li>Significant improvements to interface handling.
100: </ul>
101: <p>
102:
1.53 mcbride 103: <li>New tools for filtering gateway failover:
1.5 mcbride 104: <ul>
105: <li>CARP (the Common Address Redundancy Protocol)
1.109 ! beck 106: <a href="http://man.openbsd.org?query=carp">carp(4)</a>
1.5 mcbride 107: allows multiple machines to share responsibility for a given IP address or
108: addresses. If the owner of the address fails, another member of the group
109: will take over for it. A discussion of the history of CARP can be found
1.62 deraadt 110: <a href="lyrics.html">here</a>.
1.5 mcbride 111: <li>Additions to the
1.109 ! beck 112: <a href="http://man.openbsd.org?query=pfsync">pfsync(4)</a>
1.5 mcbride 113: interface allow it to synchronise state table entries between two or more
114: firewalls which are operating in parallel, allowing stateful connections
115: to cross any of the firewalls regardless of where the state was initially
116: created.
117: </ul>
118: <p>
119:
1.6 todd 120: <li> New functionality:
121: <ul>
1.109 ! beck 122: <li><a href="http://man.openbsd.org?query=pty&sektion=4">pty(4)</a> devices are now allocated on demand, up to a configurable limit.
! 123: <li>New ptm device (see <a href="http://man.openbsd.org?query=pty&sektion=4">pty(4)</a>)
1.47 deraadt 124: that allows non-privileged processes to allocate a properly-permissioned pty.<br>
125: As a result any process can now open a pty easily, meaning
1.109 ! beck 126: <a href="http://man.openbsd.org?query=xterm&sektion=1">xterm(1)</a>
1.47 deraadt 127: and
1.109 ! beck 128: <a href="http://man.openbsd.org?query=xconsole&sektion=1">xconsole(1)</a>
1.47 deraadt 129: are no longer setuid root. (In 3.4 they were setuid root, but privilege revoking).
1.109 ! beck 130: <li>The <a href="http://man.openbsd.org?query=closefrom&sektion=2">closefrom(2)</a>
1.17 otto 131: system call has been added.
1.109 ! beck 132: <li>TCP MD5 signatures (used by <a href="http://man.openbsd.org?query=nc&sektion=1">nc(1)</a>
! 133: and <a href="http://man.openbsd.org?query=bgpd&sektion=8">bgpd(8)</a>).
1.70 djm 134: <li>Network boot support for i386 and amd64, using
1.109 ! beck 135: <a href="http://man.openbsd.org?query=pxeboot&sektion=8&arch=i386">pxeboot(8)</a>.
1.19 otto 136: <li>The i386 8GB boot loader limitation has been removed.
1.109 ! beck 137: <li><a href="http://man.openbsd.org?query=spamd&sektion=8">spamd(8)</a>
1.52 beck 138: gains <a href="http://projects.puremagic.com/greylisting/">greylisting</a> support. This allows greylisting (a very powerful spam reduction technique) to be
139: done on a firewall for many mail hosts, no matter what MTA is being used.
1.80 tdeval 140: <li>Interface 'cloning', accessed by
1.109 ! beck 141: <a href="http://man.openbsd.org?query=ifconfig&sektion=8">ifconfig(8)</a>
1.19 otto 142: commands <em>create</em> and <em>destroy</em>. E.g. `ifconfig vlan100 create'.
1.82 tdeval 143: <li>
1.109 ! beck 144: <a href="http://man.openbsd.org?query=ifconfig&sektion=8">ifconfig(8)</a>
1.82 tdeval 145: can now be used with a generic <em>interface</em> name, for listing all such configured interfaces. E.g. `ifconfig carp'.
1.47 deraadt 146: <li>The MAKEDEV(8) manual pages are now generated, and hence, accurate.
1.109 ! beck 147: <li>Complete rewrite of <a href="http://man.openbsd.org?query=pkg_add&sektion=1">package</a> tools in perl.
! 148: <li><a href="http://man.openbsd.org?query=syslogd&sektion=8">syslogd(8)</a>
1.21 djm 149: now supports logging to memory buffers, to be read using
1.109 ! beck 150: <a href="http://man.openbsd.org?query=syslogc&sektion=8">syslogc(8)</a>.
1.47 deraadt 151: This is useful for diskless or flash-based computers.
1.109 ! beck 152: <li><a href="http://man.openbsd.org?query=ipsec&sektion=4">IPsec</a> ESP in UDP encapsulation.
! 153: <li><a href="http://man.openbsd.org?query=malloc&sektion=3">
1.79 tdeval 154: malloc(3)</a> chunk randomization and guard pages. This helps to detect out-of-bounds
1.33 otto 155: reads and writes.
1.109 ! beck 156: <li><a href="http://man.openbsd.org?query=authpf&sektion=8">
1.43 beck 157: authpf(8)</a> now tags traffic in
1.109 ! beck 158: <a href="http://man.openbsd.org?query=pflog&sektion=4">
1.43 beck 159: pflog(4)</A> so that users may be associated with traffic through a NAT setup.
1.46 tedu 160: <li>hw.setperf sysctl allows controlling the speed of many new i386
1.109 ! beck 161: <a href="http://man.openbsd.org?query=cpu&arch=i386">CPUs</a>,
1.91 henning 162: great for prolonged battery life.
1.48 beck 163: <li>XFS has been added to the GENERIC kernels so that
1.109 ! beck 164: <a href="http://man.openbsd.org?query=afsd&sektion=8">afsd(8)
1.48 beck 165: </a> may be started easily, eliminating the need to recompile the kernel
1.49 deraadt 166: to use AFS.<br>
167: AFS can now be used anonymously by enabling it in
1.109 ! beck 168: <a href="http://man.openbsd.org?query=rc.conf&sektion=8">rc.conf(8)</a>
1.48 beck 169: with no further configuration.
1.109 ! beck 170: <li>The <a href="http://man.openbsd.org?query=ps&sektion=1">ps</a>, <a href="http://man.openbsd.org?query=top&sektion=1">top</a> and <a href="http://man.openbsd.org?query=w&sektion=1">w</a> utilities no longer break when changes are made in kernel structures.
! 171: <li>A <a href="http://man.openbsd.org?query=poll&sektion=2">poll</a> interface has been added to the <a href="http://man.openbsd.org?query=rpc&sektion=3">rpc</a> routines in the standard C library. Use of <a href="http://man.openbsd.org?query=poll&sektion=2">poll</a> over <a href="http://man.openbsd.org?query=select&sektion=2">select</a> can result in better performance for programs with a large number of open file descriptors.
! 172: <li><a href="http://man.openbsd.org?query=dhclient&sektion=8"
1.64 krw 173: >dhclient(8)</a> now detects when the interface it configured is modified and
174: gracefully exits.
175: e.g. repeatedly running it against the same interface leaves only the
176: last instance active.
1.6 todd 177: </ul>
178: <p>
179:
1.47 deraadt 180: <li> Privilege separation added to allow complex operations to occur in an untrusted, unprivileged process, resulting in much greater security for the following processes:
1.6 todd 181: <ul>
1.109 ! beck 182: <li><a href="http://man.openbsd.org?query=isakmpd&sektion=8">isakmpd(8)</a>
! 183: <li><a href="http://man.openbsd.org?query=named&sektion=8">named(8)</a>
1.47 deraadt 184: (Previously privilege revoking, but this had a small breakage).
1.109 ! beck 185: <li><a href="http://man.openbsd.org?query=pflogd&sektion=8">pflogd(8)</a>
! 186: <li><a href="http://man.openbsd.org?query=tcpdump&sektion=8">tcpdump(8)</a>
1.6 todd 187: </ul>
188: <p>
189:
190: <li> New tools:
191: <ul>
1.109 ! beck 192: <li><a href="http://man.openbsd.org?query=sensorsd&sektion=8">sensorsd(8)</a>, monitoring hardware sensors.
! 193: <li><a href="http://man.openbsd.org?query=procmap&sektion=1">procmap(1)</a>, to examine a process' memory map.
! 194: <li><a href="http://man.openbsd.org?query=bgpd&sektion=8">bgpd(8)</a>, implementing the <a href="http://www.rfc-editor.org/rfc/rfc1771.txt">BGP-4</a> routing protocol.
! 195: <li><a href="http://man.openbsd.org?query=pkill&sektion=1">pkill(1)</a> and
! 196: <a href="http://man.openbsd.org?query=pgrep&sektion=1">pgrep(1)</a>, finding or signalling processes by name.
1.6 todd 197: </ul>
198: <p>
199:
1.23 henning 200: <li> Performance improvements:
201: <ul>
1.35 otto 202: <li>Improved connection/socket lookup - about 100 times faster at 10000 sockets than 3.4.
1.72 djm 203: <li>TCP SYN cache. Greatly reduces the memory cost of half-open TCP connections.
1.71 djm 204: <li>Implemented TCP adjustments recommended by
205: <a href="http://www.rfc-editor.org/rfc/rfc3390.txt">RFC3390</a>,
206: controllable via
1.109 ! beck 207: <a href="http://man.openbsd.org?query=sysctl&sektion=8">sysctl</a>.
1.23 henning 208: <li>OpenSSL speedup on i386, up to 100% improvement for md5, sha1, blowfish,
1.42 henning 209: des, 3des, rsa, dsa and bn.
1.77 tdeval 210: <li>OpenSSL now directly uses the new AES instructions some VIA C3 processors
211: provide, increasing AES to 780MBytes/second (so you get to see a fan-less
1.94 david 212: CPU performing AES more than 10x faster than the fastest CPU currently sold).
1.45 tedu 213: <li>Directory hashing makes lookups in large directories much faster.
1.90 mcbride 214: <li>Zeroing pages with SSE. Faster operation, and avoids clobbering the cache.
1.23 henning 215: </ul>
216: <p>
217:
1.109 ! beck 218: <li><a href="http://man.openbsd.org?query=scsi&sektion=4">SCSI(4)</a> improvements:
1.67 krw 219: <ul>
1.73 otto 220: <li>Bus probe made faster by skipping non-existent LUNs.
1.67 krw 221: <li>Bus probe made saner by elimination of spurious commands.
222: <li>Bus probe made safer by having INQUIRY commands ask only for available data.
1.81 krw 223: <li>Eliminated a race that, e.g., caused problems burning CDs at high speeds.
1.67 krw 224: <li>SCSIDEBUG output can now be restricted to specified buses.
225: <li>ASC/ASCQ diagnostic messages updated to SCSI-3 standards.
226: <li>Better error handling.
227: </ul>
228: <p>
229:
1.29 henning 230: <li>Improved hardware support, including:
231: <ul>
1.97 deraadt 232: <li>The <a href="hppa.html">hppa</a> architecture gets support for many
1.109 ! beck 233: <a href="http://man.openbsd.org?query=pci">PCI</a>
! 234: based machines w/ addition of <a href="http://man.openbsd.org?query=dino&sektion=4&arch=hppa">dino(4)</a> GSC-PCI bridge.
! 235: <li>New <a href="http://man.openbsd.org?query=oosiop&sektion=4">oosiop(4)</a> driver for NCR 53C700 SCSI host adapters.
! 236: <li>Major improvements to <a href="http://man.openbsd.org?query=ahc&sektion=4">ahc(4)</a>, bringing support for many new models.
! 237: <li>New <a href="http://man.openbsd.org?query=bce&sektion=4">bce(4)</a> driver, supporting the Broadcom BCM4401 FastEthernet chipset.
! 238: <li>New <a href="http://man.openbsd.org?query=mpt&sektion=4">mpt(4)</a> driver for LSI Fusion-MPT SCSI and FibreChannel host adapters.
! 239: <li>New <a href="http://man.openbsd.org?query=snapper&arch=macppc&sektion=4&">snapper(4)</a> audio driver for recent iBook (since May 02) and PowerBook (since Apr 02) models.
! 240: <li>Improved stability of the <a href="http://man.openbsd.org?query=wi&sektion=4">wi(4)</a> driver as well as support for USB-based adapters and software WEP.
! 241: <li><a href="http://man.openbsd.org?query=wi&sektion=4">wi(4)</a> in HostAP mode now supports SSID hiding and newer prism firmware revisions.
! 242: <li>Fixed several firmware incompatibility issues in <a href="http://man.openbsd.org?query=an&sektion=4">an(4)</a>.
1.68 grange 243: <li>Improved ATA and SATA support.
1.109 ! beck 244: <li>Support for i835 AGP GART in <a href="http://man.openbsd.org?query=vga&sektion=4">vga(4)</a>.
! 245: <li>Improved Gigabit Ethernet support for <a href="http://man.openbsd.org?query=em&sektion=4">em(4)</a>, <a href="http://man.openbsd.org?query=sk&sektion=4">sk(4)</a> & <a href="http://man.openbsd.org?query=bge&sektion=4">bge(4)</a>.
! 246: <li>Several fixes for <a href="http://man.openbsd.org?query=apm&sektion=4">apm(4)</a>.
1.63 marco 247: <li>Support for Intel 852/855/865 AGP chipsets.
1.67 krw 248: <li>Many more USB Flash and other
1.109 ! beck 249: <a href="http://man.openbsd.org?query=umass&sektion=4">umass(4)</a> devices work as a result of SCSI improvements.
1.29 henning 250: </ul>
1.20 otto 251: <p>
252:
1.57 marco 253: <li> This release ships with Firefox for all major architectures.
254: <p>
255:
1.109 ! beck 256: <li> Major improvements in <a href="http://man.openbsd.org?query=pthreads&sektion=3">pthreads(3)</a>.
1.58 marco 257: <p>
258:
1.18 sturm 259: <li> Over 2500 ports, 2300 pre-built packages.
260: <p>
261:
1.7 todd 262: <li>Many improvements for security and reliability (look for the red
1.88 deraadt 263: print in the <a href="plus35.html">complete changelog</a>).
1.7 todd 264: <p>
265:
1.19 otto 266: <li>Many improvements in manual pages and other documentation.
267: <p>
268:
1.40 tdeval 269: <li>Gcc 3.3.2, including local additions like ProPolice support, for the
1.62 deraadt 270: <a href="amd64.html">OpenBSD/amd64</a>,
271: <a href="cats.html">OpenBSD/cats</a> and
272: <a href="sparc64.html">OpenBSD/sparc64</a>
1.28 henning 273: platforms.
274: Other architectures still use gcc 2.95.3 with the same local additions.
275: <p>
1.75 markus 276: <li>OpenSSH 3.8.1:
277: <ul>
278: <li>
1.109 ! beck 279: <a href="http://man.openbsd.org?query=sshd&sektion=8">sshd(8)</a>
1.75 markus 280: now supports forced changes of expired passwords via
1.109 ! beck 281: <a href="http://man.openbsd.org?query=passwd&sektion=1">passwd(1)</a>.
1.75 markus 282: <li>
1.109 ! beck 283: <a href="http://man.openbsd.org?query=ssh&sektion=1">ssh(1)</a>
1.75 markus 284: now uses untrusted cookies for X11-Forwarding.
285: Some X11 applications might need full access to the X11 server,
286: see ForwardX11Trusted in
1.109 ! beck 287: <a href="http://man.openbsd.org?query=ssh_config&sektion=5">ssh_config(5)</a>
1.75 markus 288: and
1.109 ! beck 289: <a href="http://man.openbsd.org?query=xauth&sektion=1">xauth(1)</a>.
1.75 markus 290: <li>
1.109 ! beck 291: <a href="http://man.openbsd.org?query=ssh&sektion=1">ssh(1)</a>
1.75 markus 292: now supports sending application layer
293: keep-alive messages to the server. See ServerAliveInterval in
1.109 ! beck 294: <a href="http://man.openbsd.org?query=ssh_config&sektion=5">ssh_config(5)</a>.
1.75 markus 295: <li> Improved
1.109 ! beck 296: <a href="http://man.openbsd.org?query=sftp&sektion=1">sftp(1)</a>
1.75 markus 297: batch file support.
298: <li> New KerberosGetAFSToken option for
1.109 ! beck 299: <a href="http://man.openbsd.org?query=sshd&sektion=8">sshd(8)</a>.
1.75 markus 300: <li> Updated /etc/moduli file and improved performance for
301: protocol version 2.
302: <li> Support for host keys in DNS.
303: <li> The experimental "gssapi" support has been replaced with
304: the "gssapi-with-mic" to fix possible MITM attacks.
305: The two versions are not compatible.
306: </ul>
307: <p>
1.28 henning 308:
309: <li>The system includes the following major components from outside suppliers:
310: <ul>
311: <li>XFree86 4.4.0 unencumbered (+ patches, and i386 contains 3.3.X servers also, thus
312: providing support for all chipsets)
1.40 tdeval 313: <li>Gcc 2.95.3 (+ patches) and 3.3.2 (+ patches)
1.28 henning 314: <li>Perl 5.8.2 (+ patches)
315: <li>Apache 1.3.29, mod_ssl 2.8.16, DSO support (+ patches)
316: <li>OpenSSL 0.9.7c (+ patches)
317: <li>Groff 1.15
318: <li>Sendmail 8.12.11
319: <li>Bind 9.2.3 (+ patches)
320: <li>Lynx 2.8.4rel.1 with HTTPS and IPv6 support (+ patches)
321: <li>Sudo 1.6.7p5
322: <li>Ncurses 5.2
323: <li>Latest KAME IPv6
324: <li>Heimdal 0.6rc1 (+ patches)
325: <li>Arla-current
326: </ul>
327: <p>
1.1 deraadt 328:
329: </ul>
330:
331: <a name="install"></a>
332: <hr>
333: <p>
334: <h3><font color="#0000e0">How to install</font></h3>
335: <p>
336: Following this are the instructions which you would have on a piece of
337: paper if you had purchased a CDROM set instead of doing an alternate
338: form of install. The instructions for doing an ftp (or other style
339: of) install are very similar; the CDROM instructions are left intact
340: so that you can see how much easier it would have been if you had
341: purchased a CDROM instead.
342: <p>
343:
344: <hr>
345: Please refer to the following files on the three CDROMs or ftp mirror for
346: extensive details on how to install OpenBSD 3.5 on your machine:
347: <p>
348: <ul>
349: <li>CD1:3.5/i386/INSTALL.i386
1.2 deraadt 350: <li>CD1:3.5/vax/INSTALL.vax
1.1 deraadt 351: <p>
1.2 deraadt 352: <li>CD2:3.5/amd64/INSTALL.amd64
1.1 deraadt 353: <li>CD2:3.5/macppc/INSTALL.macppc
354: <p>
355: <li>CD3:3.5/sparc/INSTALL.sparc
356: <li>CD3:3.5/sparc64/INSTALL.sparc64
357: <p>
358: <li>FTP:.../OpenBSD/3.5/alpha/INSTALL.alpha
1.27 miod 359: <li>FTP:.../OpenBSD/3.5/cats/INSTALL.cats
1.1 deraadt 360: <li>FTP:.../OpenBSD/3.5/hp300/INSTALL.hp300
361: <li>FTP:.../OpenBSD/3.5/hppa/INSTALL.hppa
362: <li>FTP:.../OpenBSD/3.5/mac68k/INSTALL.mac68k
363: <li>FTP:.../OpenBSD/3.5/mvme68k/INSTALL.mvme68k
1.2 deraadt 364: <li>FTP:.../OpenBSD/3.5/mvme88k/INSTALL.mvme88k
1.1 deraadt 365: </ul>
366: <hr>
367:
368: <p>
369: Quick installer information for people familiar with OpenBSD, and the
370: use of the "disklabel -E" command. If you are at all confused when
371: installing OpenBSD, read the relevant INSTALL.* file as listed above!
372: <p>
373:
374: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
375: <ul>
376: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
377: release is on CD1. If your BIOS does not support booting from CD, you will need
378: to create a boot floppy to install from. To create a boot floppy write
1.2 deraadt 379: <i>CD1:3.5/i386/floppy35.fs</i> to a floppy and boot via the floppy drive.
1.1 deraadt 380:
381: <p>
1.2 deraadt 382: Use <i>CD1:3.5/i386/floppyB35.fs</i> instead for greater scsi controller
383: support, or <i>CD1:3.5/i386/floppyC35.fs</i> for better laptop support.
1.1 deraadt 384:
385: <p>
1.83 tom 386: If you can't boot from a CD or a floppy disk,
387: you can install across the network using PXE as described in
388: the included INSTALL.i386 document.
389:
390: <p>
1.1 deraadt 391: If you are planning on dual booting OpenBSD with another OS, you will need to
1.83 tom 392: read INSTALL.i386.
1.1 deraadt 393:
394: <p>
395: To make a boot floppy under MS-DOS, use the "rawrite" utility located
1.83 tom 396: at <i>CD1:3.5/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
1.109 ! beck 397: use the <a href="http://man.openbsd.org?query=
1.1 deraadt 398: dd&sektion=1">dd(1)</a> utility. The following is an example usage of
1.109 ! beck 399: <a href="http://man.openbsd.org?query=dd&sektion=1">dd(1)
1.1 deraadt 400: </a>, where the device could be "floppy", "rfd0c", or
401: "rfd0a".
402:
403: <ul><pre>
404: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
405: </pre></ul>
406:
407: <p>
408: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
409: your install will most likely fail. For more information on creating a boot
410: floppy and installing OpenBSD/i386 please refer to
411: <a href="faq/faq4.html#MkFlop">FAQ4.1</a>.
412: </ul>
413:
414: <p>
1.84 miod 415: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
1.1 deraadt 416: <ul>
1.84 miod 417: Boot over the network via mopbooting as described in INSTALL.vax.
1.1 deraadt 418: </ul>
419:
420: <p>
1.2 deraadt 421: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
422: <ul>
1.84 miod 423: The 3.5 release of OpenBSD/amd64 is located on CD2.
1.83 tom 424: Boot from the CD to begin the install - you may need to adjust
425: your BIOS options first.
426: If you can't boot from the CD, you can create a boot floppy to install from.
1.85 tom 427: To do this, write <i>CD2:3.5/amd64/floppy35.fs</i> to a floppy, then
1.83 tom 428: boot from the floppy drive.
429:
430: <p>
431: If you can't boot from a CD or a floppy disk,
432: you can install across the network using PXE as described in the included
433: INSTALL.amd64 document.
434:
435: <p>
436: If you are planning to dual boot OpenBSD with another OS, you will need to
437: read INSTALL.amd64.
1.2 deraadt 438: </ul>
439:
440: <p>
1.84 miod 441: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
1.1 deraadt 442: <ul>
1.84 miod 443: Put the CD2 in your CDROM drive and poweron your machine while holding down the
444: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
445:
446: <p>
447: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
448: /3.5/macppc/bsd.rd</i>
1.1 deraadt 449: </ul>
450:
451: <p>
452: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
453: <ul>
454: The 3.5 release of OpenBSD/sparc is located on CD3. To boot off of this CD you
455: can use one of the two commands listed below, depending on the version of your
456: ROM.
457:
458: <ul><pre>
1.86 miod 459: ok <strong>boot cdrom 3.5/sparc/bsd.rd</strong>
1.1 deraadt 460: or
1.86 miod 461: > <strong>b sd(0,6,0)3.5/sparc/bsd.rd</strong>
1.1 deraadt 462: </pre></ul>
463:
464: <p>
465: If your sparc does not have a CD drive, you can alternatively boot from floppy.
1.84 miod 466: To do so you need to write <i>CD3:3.5/sparc/floppy35.fs</i> to a floppy.
1.1 deraadt 467: For more information see <a href="faq/faq4.html#MkFlop">FAQ4.1</a>. To boot from
468: the floppy use one of the two commands listed below, depending on the version of
469: your ROM.
470:
471: <ul><pre>
1.86 miod 472: ok <strong>boot floppy</strong>
1.1 deraadt 473: or
1.95 miod 474: > <strong>boot fd()</strong>
1.1 deraadt 475: </pre></ul>
476:
477: <p>
478: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
479: will most likely fail.
480:
481: <p>
482: If your sparc doesn't have a floppy drive nor a CD drive, you can either
483: setup a bootable tape, or install via network, as told in the
484: INSTALL.sparc file.
485: </ul>
486:
487: <p>
488: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
489: <ul>
490: Put the CD3 in your CDROM drive and type <i>boot cdrom</i>.
491:
492: <p>
493: If this doesn't work, or if you don't have a CDROM drive, you can write
1.2 deraadt 494: <i>CD3:3.5/sparc64/floppy35.fs</i> to a floppy and boot it with <i>boot
1.1 deraadt 495: floppy</i>.<br>
496: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
497: will most likely fail.
498:
499: <p>
1.2 deraadt 500: You can also write <i>CD3:3.5/sparc64/miniroot35.fs</i> to the swap partition on
1.1 deraadt 501: the disk and boot with <i>boot disk:b</i>.
502:
503: <p>
504: If nothing works, you can boot over the network as described in INSTALL.sparc64
505: </ul>
506:
507: <p>
508: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
509: <ul>
1.2 deraadt 510: <p>Write <i>FTP:3.5/alpha/floppy35.fs</i> or
511: <i>FTP:3.5/alpha/floppyB35.fs</i> (depending on your machine) to a diskette and
1.1 deraadt 512: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
513:
514: <p>
515: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
516: will most likely fail.
517:
518: </ul>
519:
520: <p>
1.87 miod 521: <h3><font color="#e00000">OpenBSD/cats:</font></h3>
522: <ul>
523: <p>
524: After updating the firmware to at least ABLE 1.95 if necessary, boot
525: <i>FTP:3.5/cats/bsd.rd</i> from an ABLE-supported device (such as a CD-ROM
526: or an existing FFS or EXT2FS partition).
527: </ul>
528:
529: <p>
1.1 deraadt 530: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
531: <ul>
532: <p>
533: Boot over the network by following the instructions in INSTALL.hp300.
534: </ul>
535:
536: <p>
537: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
538: <ul>
539: <p>
540: Boot over the network by following the instructions in INSTALL.hppa or the
541: <a href="hppa.html#netboot">hppa platform page</a>.
542: </ul>
543:
544: <p>
545: <h3><font color="#e00000">OpenBSD/mac68k:</font></h3>
546: <ul>
547: <p>
548: Boot MacOS as normal and partition your disk with the appropriate A/UX
549: configurations. Then, extract the Macside utilities from
550: <i>FTP:3.5/mac68k/utils</i> onto your hard disk. Run Mkfs to create your
551: filesystems on the A/UX partitions you just made. Then, use the
552: "BSD/Mac68k Installer" to copy all the sets in <i>FTP:3.5/mac68k/</i> onto your
553: partitions. Finally, you will be ready to configure the "BSD/Mac68k
554: Booter" with the location of your kernel and boot the system.
555: </ul>
556:
557: <p>
558: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
559: <ul>
560: <p>
561: You can create a bootable installation tape or boot over the network.<br>
562: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
563: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
564: for more details.
565: </ul>
566:
567: <p>
1.2 deraadt 568: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
569: <ul>
570: <p>
571: You can create a bootable installation tape or boot over the network.<br>
572: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
573: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
574: for more details.
575: </ul>
576:
577: <p>
1.1 deraadt 578: <h3><font color="#e00000">Notes about the source code:</font></h3>
579: <ul>
580: src.tar.gz contains a source archive starting at /usr/src. This file
581: contains everything you need except for the kernel sources, which are
582: in a separate archive. To extract:
583: <p>
584: <ul><pre>
585: # <strong>mkdir -p /usr/src</strong>
586: # <strong>cd /usr/src</strong>
587: # <strong>tar xvfz /tmp/src.tar.gz</strong>
588: </pre></ul>
589: <p>
590: sys.tar.gz contains a source archive starting at /usr/src/sys.
591: This file contains all the kernel sources you need to rebuild kernels.
592: To extract:
593: <p>
594: <ul><pre>
595: # <strong>mkdir -p /usr/src/sys</strong>
596: # <strong>cd /usr/src</strong>
597: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
598: </pre></ul>
599: <p>
600: Both of these trees are a regular CVS checkout. Using these trees it
601: is possible to get a head-start on using the anoncvs servers as
602: described <a href="anoncvs.html">here</a>.
603: Using these files
604: results in a much faster initial CVS update than you could expect from
605: a fresh checkout of the full OpenBSD source tree.
606: <p>
607: </ul>
608: <a name="ports"></a>
609: <hr>
610: <p>
611: <h3><font color="#0000e0">Ports Tree</font></h3>
612: <p>
613: A ports tree archive is also provided. To extract:
614: <p>
615: <ul><pre>
616: # <strong>cd /usr</strong>
617: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
618: # <strong>cd ports</strong>
619: </pre></ul>
620: <p>
621: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
1.98 jasper 622: read the <a href="faq/faq15.html">ports</a> page
1.1 deraadt 623: if you know nothing about ports
624: at this point. This text is not a manual of how to use ports.
625: Rather, it is a set of notes meant to kickstart the user on the
626: OpenBSD ports system.
627: <p>
628: The <i>ports/</i> directory represents a CVS (see the manpage for
1.109 ! beck 629: <a href="http://man.openbsd.org?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386&format=html">
1.1 deraadt 630: cvs(1)</a> if
631: you aren't familiar with CVS) checkout of our ports. As with our complete
632: source tree, our ports tree is available via anoncvs. So, in
633: order to keep current with it, you must make the <i>ports/</i> tree
634: available on a read-write medium and update the tree with a command
635: like:
636: <p>
637: <ul><pre>
1.96 deraadt 638: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_3_5</strong>
1.1 deraadt 639: </pre></ul>
640: <p>
641: [Of course, you must replace the local directory and server name here
642: with the location of your ports collection and a nearby anoncvs
643: server.]
644: <p>
645: Note that most ports are available as packages through ftp. Updated
646: packages for the 3.5 release will be made available if problems arise.
647: <p>
648: If you're interested in seeing a port added, would like to help out, or just
649: would like to know more, the mailing list ports@openbsd.org is a good
650: place to know.
651: <p>
652:
653: </body>
654: </html>