Annotation of www/41.html, Revision 1.117
1.111 bentley 1: <!doctype html>
2: <html lang=en id=release>
3: <meta charset=utf-8>
4:
1.94 deraadt 5: <title>OpenBSD 4.1</title>
1.1 deraadt 6: <meta name="description" content="OpenBSD 4.1">
1.105 tj 7: <meta name="viewport" content="width=device-width, initial-scale=1">
8: <link rel="stylesheet" type="text/css" href="openbsd.css">
1.107 tb 9: <link rel="canonical" href="https://www.openbsd.org/41.html">
1.1 deraadt 10:
1.111 bentley 11: <h2 id=OpenBSD>
1.1 deraadt 12: <a href="index.html">
1.111 bentley 13: <i>Open</i><b>BSD</b></a>
14: 4.1
1.105 tj 15: </h2>
1.1 deraadt 16:
1.111 bentley 17: <table>
18: <tr>
19: <td>
1.85 deraadt 20: <a href="images/openbsd41_cover.gif">
1.111 bentley 21: <img width="227" height="343"
22: src="images/PuffyBaba.jpg" alt="Puffy Baba"></a>
23: <td>
1.91 jj 24: Released May 1, 2007<br>
1.1 deraadt 25: Copyright 1997-2007, Theo de Raadt.<br>
1.111 bentley 26: <cite class=isbn>ISBN 978-0-9731791-9-4</cite>
1.1 deraadt 27: <br>
1.102 deraadt 28: 4.1 Song: <a href="lyrics.html#41">"Puffy Baba and the 40 Vendors"</a>
1.110 deraadt 29: <br>
30: <br>
1.1 deraadt 31: <ul>
1.117 ! deraadt 32: <li>See the information on <a href="ftp.html">the FTP page</a> for
1.1 deraadt 33: a list of mirror machines.
1.111 bentley 34: <li>Go to the <code class=reldir>pub/OpenBSD/4.1/</code> directory on
1.1 deraadt 35: one of the mirror sites.
1.10 deraadt 36: <li>Have a look at <a href="errata41.html">The 4.1 Errata page</a> for a list
1.1 deraadt 37: of bugs and workarounds.
1.9 deraadt 38: <li>See a <a href="plus41.html">detailed log of changes</a> between the
1.1 deraadt 39: 4.0 and 4.1 releases.
40: </ul>
1.105 tj 41: <p>
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.116 deraadt 44: files fetched via <code>ports.tar.gz</code>.
1.111 bentley 45: </table>
1.105 tj 46:
47: <hr>
1.1 deraadt 48:
1.111 bentley 49: <section id=new>
50: <h3>What's New</h3>
1.1 deraadt 51: <p>
52: This is a partial list of new features and systems included in OpenBSD 4.1.
1.9 deraadt 53: For a comprehensive list, see the <a href="plus41.html">changelog</a> leading
1.1 deraadt 54: to 4.1.
55: <p>
56:
57: <ul>
58:
59: <li>New/extended platforms:
60: <ul>
1.4 dlg 61: <li><a href="landisk.html">OpenBSD/landisk</a>.<br>
1.2 deraadt 62: Various SH4-based appliances, made by IO-Data and resold by Plextor.
1.1 deraadt 63: <li><a href="sparc64.html">OpenBSD/sparc64</a>.<br>
1.31 kettenis 64: UltraSPARC III based machines are now supported even better, and
65: run at full speed now!
1.1 deraadt 66: </ul>
67: <p>
68:
1.6 deraadt 69: <li>Removed platforms:
70: <ul>
71: <li><a href="cats.html">OpenBSD/cats</a>.<br>
1.14 henning 72: Because the machines are very hard to find, and the developers
1.6 deraadt 73: hate them.
74: </ul>
75: <p>
76:
1.1 deraadt 77: <li>Improved hardware support, including:
78: <ul>
1.7 dlg 79: <li>New USB client controller support:
80: <ul>
81: <li>Support for the USB client functionality in the
1.111 bentley 82: <a href="https://man.openbsd.org/zaurus/pxaudc.4">pxaudc(4)</a> driver on the Zaurus.
83: <li>New <a href="https://man.openbsd.org/usbf.4">usbf(4)</a> midlayer for USB Client controllers.
84: <li>New <a href="https://man.openbsd.org/cdcef.4">cdcef(4)</a> driver for providing a CDCE function on USB client controllers.
85: </ul>
86: <li>New <a href="https://man.openbsd.org/cas.4">cas(4)</a> driver for Sun Cassini 10/100/Gigabit Ethernet devices.
87: <li>New <a href="https://man.openbsd.org/uow.4">uow(4)</a> driver for Maxim/Dallas DS2490 USB 1-Wire devices.
88: <li>New <a href="https://man.openbsd.org/owsbm.4">owsbm(4)</a> driver for 1-Wire smart battery monitor devices.
89: <li>New <a href="https://man.openbsd.org/zyd.4">zyd(4)</a> driver for ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network devices.
90: <li>New <a href="https://man.openbsd.org/moscom.4">moscom(4)</a> driver for MosChip Semiconductor MCS7703 based USB serial adapters.
91: <li>New <a href="https://man.openbsd.org/i386/glxsb.4">glxsb(4)</a> driver for hardware random numbers and AES acceleration on the AMD Geode LX processor.
92: <li>New <a href="https://man.openbsd.org/vic.4">vic(4)</a> driver for VMware VMXnet Virtual Interface Controllers.
93: <li>New <a href="https://man.openbsd.org/malo.4">malo(4)</a> driver for Marvell Libertas IEEE 802.11b/g wireless network devices.
94: <li>New <a href="https://man.openbsd.org/pwdog.4">pwdog(4)</a> driver for Quancom PWDOG1 watchdog timer devices.
95: <li>New <a href="https://man.openbsd.org/uberry.4">uberry(4)</a> driver for Research In Motion Blackberry devices.
96: <li>New <a href="https://man.openbsd.org/mbg.4">mbg(4)</a> driver for Meinberg Funkuhren radio clocks.
97: <li>New <a href="https://man.openbsd.org/macppc/mesh.4">mesh(4)</a> driver for the on-board SCSI controller of old world Apple Power Macintosh systems.
98: <li>New <a href="https://man.openbsd.org/macppc/mc.4">mc(4)</a> driver for the on-board Ethernet of many old world Apple Power Macintosh systems
99: <li>Improved <a href="https://man.openbsd.org/msk.4">msk(4)</a> driver now supports many more Marvell Yukon-2 variants including dual port cards and fiber cards.
100: <li>The <a href="https://man.openbsd.org/gem.4">gem(4)</a> driver now supports fiber cards.
1.37 tom 101: <li>The <a href="amd64.html">OpenBSD/amd64</a>
1.35 otto 102: platform now has more accurate and robust time keeping.
1.37 tom 103: <li>The <a href="i386.html">OpenBSD/i386</a>
1.111 bentley 104: <a href="https://man.openbsd.org/i386/boot.8">boot(8)</a>
1.37 tom 105: program now works properly on Intel-based Macs.
1.111 bentley 106: <li>The <a href="https://man.openbsd.org/pciide.4">pciide(4)</a> driver has had support added for newer chipsets, including:
1.48 jasper 107: <ul>
1.75 tom 108: <li>AMD CS5536 IDE;
1.112 deraadt 109: <li>Intel i31244;
110: <li>NVIDIA MCP67 PATA, MCP67 SATA.
111: </ul>
1.111 bentley 112: <li>The <a href="https://man.openbsd.org/com.4">com(4)</a> driver now supports ST16C654 devices.
113: <li>The <a href="https://man.openbsd.org/adt.4">adt(4)</a> driver supports some newer chipsets, such as the ADT7475.
1.84 gwk 114: <li>The <a href="macppc.html">OpenBSD/macppc</a> platform now automatically turns the machine back on following an unexpected loss of power.
115: <li>boot.mac an XCOFF formated boot loader for <a href="macppc.html">OpenBSD/macppc</a> capable of booting on many old world macs.
1.1 deraadt 116: </ul>
117: <p>
118:
119: <li>New tools:
120: <ul>
1.111 bentley 121: <li>BSD-licensed <a href="https://man.openbsd.org/pkg-config.1">pkg-config(1)</a>, a complete rewrite of the GNU tool of
1.113 deraadt 122: the same name, significantly smaller and more maintainable.
1.111 bentley 123: <li><a href="https://man.openbsd.org/hoststated.8">hoststated(8)</a>, a layer 3 and layer 7 server load balancing daemon with host monitoring capacities.
124: <li>new BSD-licensed <a href="https://man.openbsd.org/ripd.8">ripd(8)</a>.
125: <li><a href="https://man.openbsd.org/bgplg.8">bgplg(8)</a>, a CGI looking glass for OpenBGPD, is now available for use with the system httpd.
126: <li><a href="https://man.openbsd.org/bgplgsh.8">bgplgsh(8)</a>, a looking glass shell for OpenBGPD, is now available for use as a restricted read-only command line interface.
1.1 deraadt 127: </ul>
128: <p>
129:
130: <li>New functionality:
131: <ul>
1.111 bentley 132: <li><a href="https://man.openbsd.org/syslogd.8">syslogd(8)</a>
1.27 henning 133: can now pipe logs directly to other programs, making real-time log analysis easier.
1.70 deraadt 134: <li>The IP_RECVTTL
1.111 bentley 135: <a href="https://man.openbsd.org/ip.4">ip(4)</a>
1.21 henning 136: socket option allows programs to receive the incoming ttl on raw and udp sockets.
1.70 deraadt 137: <li>The IP_MINTTL
1.111 bentley 138: <a href="https://man.openbsd.org/ip.4">ip(4)</a>
1.21 henning 139: socket option allows programs to ask the kernel to discard any packets with a ttl
1.29 henning 140: smaller than the given one, for implementing the IP TTL security hack aka the Generalized
1.21 henning 141: TTL Security Mechanism specified in RFC 3682.
1.113 deraadt 142: <li>Multiple, independent routing tables, with
1.111 bentley 143: <a href="https://man.openbsd.org/pf.4">pf(4)</a>
1.23 henning 144: acting as selector.
1.111 bentley 145: <a href="https://man.openbsd.org/route.8">route(8)</a>
1.23 henning 146: can be told which table to work with now, and routing daemons have been modified to
147: cope as well.
1.70 deraadt 148: <li>The
1.111 bentley 149: <a href="https://man.openbsd.org/pflog.4">pflog(4)</a>
1.23 henning 150: interface is now clonable.
1.111 bentley 151: <a href="https://man.openbsd.org/pf.4">pf(4)</a>
1.23 henning 152: can log to multiple pflog interfaces now, each rule can specify which pflog interface
153: to log to.
1.111 bentley 154: <a href="https://man.openbsd.org/pflogd.8">pflogd(8)</a> and
155: <a href="https://man.openbsd.org/spamlogd.8">spamlogd(8)</a>
1.23 henning 156: can now be told which pflog interface to work with.
1.70 deraadt 157: <li>The
1.111 bentley 158: <a href="https://man.openbsd.org/pfsync.4">pfsync(4)</a>
1.23 henning 159: interface is now clonable as well, thus only there when actually needed.
1.24 henning 160: <li>
1.111 bentley 161: <a href="https://man.openbsd.org/pfctl.8">pfctl(8)</a>
1.24 henning 162: can now expire table entries.
1.111 bentley 163: <li><i>keep state</i> is now the default for <a href="https://man.openbsd.org/pf.conf.5">pf.conf(5)</a> rules, as is the <i>flags S/SA</i> option on TCP connections. <i>no state</i> and <i>flags any</i> can be used to disable stateful filtering or TCP flags checking.
164: <li>The <a href="https://man.openbsd.org/pfctl.8">pfctl(8)</a> ruleset optimiser can be enabled in <a href="https://man.openbsd.org/pf.conf.5">pf.conf(5)</a>.
165: <li><a href="https://man.openbsd.org/pf.4">pf(4)</a> anchors can now be loaded inline in the main <a href="https://man.openbsd.org/pf.conf.5">pf.conf(5)</a> and can be printed recursively.
1.70 deraadt 166: <li>Allow
1.111 bentley 167: <a href="https://man.openbsd.org/pf.4">pf(4)</a>
1.70 deraadt 168: rules inside anchors to have their counters reset, and make counter read
169: & reset an atomic operation.
1.24 henning 170: <li>
1.111 bentley 171: <a href="https://man.openbsd.org/sensorsd.8">sensorsd(8)</a>
1.24 henning 172: dampens status changes now, thus not alerting for a single wrong sensor read, since many
173: sensors lie once in a while.
1.46 beck 174: <li>
1.113 deraadt 175: <a href="https://man.openbsd.org/spamd.8">spamd(8)</a> and
1.111 bentley 176: <a href="https://man.openbsd.org/spamlogd.8">spamlogd(8)</a> now support synchronisation of the greylist database across multiple hosts. The greytrapping mechanism now allows for whole domain traps, and noticing out of order MX use.
1.51 beck 177: <li>
1.111 bentley 178: <a href="https://man.openbsd.org/spamd.8">spamd(8)</a> database format has changed from DB_BTREE to DB_HASH for much better performance on large installations with big databases.
1.66 reyk 179: <li>
180: The
1.111 bentley 181: <a href="https://man.openbsd.org/bridge.4">bridge(4)</a> driver and the
182: <a href="https://man.openbsd.org/brconfig.8">brconfig(8)</a> tool now support
1.66 reyk 183: the Rapid Spanning Tree Protocol (RSTP).
184: The new RSTP mode is now used by default when enabled with the <em>stp</em> option.
1.111 bentley 185: <li><a href="https://man.openbsd.org/cd.4">cd(4)</a> now supports reading from region protected DVDs.
1.77 krw 186: <li>Detect
1.111 bentley 187: <a href="https://man.openbsd.org/mount_msdos.8">MS-DOS filesystems</a>
1.77 krw 188: and spoof disklabel partitions for them even when there is no MBR, e.g. on some newer iPods.
1.1 deraadt 189: </ul>
190: <p>
191: <li>Assorted improvements and code cleanup:
192: <ul>
1.111 bentley 193: <li>The <a href="https://man.openbsd.org/fsck_ffs.8">fsck_ffs(8)</a>
1.25 otto 194: command has been improved to be more robust to various forms of inode and
195: superblock corruption.
1.111 bentley 196: <li>The <a href="https://man.openbsd.org/top.1">top(1)</a>
1.25 otto 197: command got some new ways of filtering the display.
1.111 bentley 198: <li><a href="https://man.openbsd.org/pthreads.3">pthreads(3)</a>
1.36 kurt 199: file descriptor handling has been improved to eliminate several race and deadlock conditions and improve performance.
1.111 bentley 200: <li>The <a href="https://man.openbsd.org/mount_msdos.8">MS-DOS filesystem</a>
1.38 tom 201: has had a potential corruption issue fixed, and is more reliable when given
202: a corrupted filesystem to mount.
1.111 bentley 203: <li>The <a href="https://man.openbsd.org/mount_msdos.8">MS-DOS filesystem</a>
1.76 krw 204: and the
1.111 bentley 205: <a href="https://man.openbsd.org/i386/fdisk.8">fdisk(8)</a>
1.76 krw 206: command have been enhanced to work on devices with 2048 byte sectors,
207: e.g. newer iPods.
1.111 bentley 208: <li>The <a href="https://man.openbsd.org/rcs.1">OpenRCS</a> tools
1.54 niallo 209: are smarter at handling files, especially when dealing with binary files.
210: GNU RCS compatibility has also been improved.
1.111 bentley 211: <li>The <a href="https://man.openbsd.org/mg.1">mg(1)</a>
1.56 jasper 212: editor now displays column numbers in the status bar. It has also
213: received several improvements which make it more reliable: line
214: numbers, file insertions, and search wrapping all now work as
1.55 jasper 215: expected.
1.111 bentley 216: <li>The <a href="https://man.openbsd.org/systat.1">systat(1)</a>
1.63 deanna 217: command has a cleaner look, and a display was added for hardware sensors.
1.68 kettenis 218: <li>The <a href="alpha.html">OpenBSD/alpha</a> platform now uses gcc3.
1.77 krw 219: <li>Improved support for usb attached cd drives and ever more odd
1.111 bentley 220: <a href="https://man.openbsd.org/umass.4">umass(4)</a>
1.79 jmc 221: devices.
1.77 krw 222: <li>Don't treat NetBSD or FreeBSD MBR partitions as substitutes for an OpenBSD partition. i.e. don't try to boot from them or use them to store OpenBSD disklabels.
1.47 niallo 223: </ul>
1.1 deraadt 224: <p>
225:
1.88 aanriot 226: <li>Install/Upgrade process changes:
1.1 deraadt 227: <ul>
1.70 deraadt 228: <li>More reliable detection of disk and cd devices.
229: <li>More reliable installation from MSDOS FAT partitions.
230: <li>New sanity check in case sets for the wrong architecture are selected.
231: <li>No need to specify the filesystem types of source partitions during disk
232: or cd installs.
233: <li>No need to select a source partition during disk or cd installs when
234: there is only one to choose from.
1.1 deraadt 235: </ul>
236: <p>
237:
1.17 henning 238: <li>OpenBGPD 4.1:
239: <ul>
1.79 jmc 240: <li>Fixes for sessions with tcp md5sig and ipsec. Now sessions can be migrated
1.70 deraadt 241: from and to any form of ipsec and tcpmd5 with just a simple
242: <em>bgpctl reload</em>, and the session migrates the next time it gets
243: established.
244: <li>Include file support in the config parser.
245: <li>Can now use the new IP_MINTTL socket option to implement the ttl security
246: mechanism.
1.17 henning 247: </ul>
248: <p>
249:
1.78 claudio 250: <li>OpenOSPFD 4.1:
251: <ul>
252: <li>Reload support added. It is no longer needed to restart ospfd after a
253: configuration change.
254: <li>Multiple networks per interface are now supported.
255: <li>It is now possible to specify the route metric and type for each
256: redistribution rule.
257: </ul>
258: <p>
259:
1.17 henning 260: <li>OpenNTPD 4.1:
261: <ul>
1.70 deraadt 262: <li>Greatly improved support for timedelta sensors.
1.111 bentley 263: <li><a href="https://man.openbsd.org/ntpd.8">ntpd</a>
1.70 deraadt 264: now uses a strictly monotonically increasing time (uptime, basically)
265: for its internal timers, so setting the system clock doesn't influence
266: query rates, trust levels, etc. any more.
1.17 henning 267: </ul>
268: <p>
269:
1.86 djm 270: <li>OpenSSH 4.6:
271: <ul>
1.111 bentley 272: <li><a href="https://man.openbsd.org/sshd.8">sshd</a>
1.86 djm 273: now allows the enabling and disabling of authentication
274: methods on a per user, group, host and network basis via the
1.113 deraadt 275: <em>Match</em> directive in
1.111 bentley 276: <a href="https://man.openbsd.org/sshd_config.5">sshd_config(5)</a>.
1.86 djm 277: </ul>
278: <p>
279:
1.113 deraadt 280: <li>Over 4200 ports, 4000 pre-built packages (for i386), minor robustness improvements
1.40 espie 281: in package tools. Some highlights:
282: <ul>
283: <li>gstreamer-0.10 tools.
284: <li>OpenOffice.org package, available through ftp for size reasons.
285: <li>KDE 3.5.6 and koffice 1.6.2.
1.45 espie 286: <li>a large (> 500) number of new/updated perl modules, from CPAN, including
287: most of the catalyst web framework.
1.42 bernd 288: <li>NetBeans 5.5 Java IDE.
1.43 jasper 289: <li>updated Linux emulation support by using Fedora Core libraries.
1.44 jasper 290: <li>Mozilla Firefox 2.0.0.2 (with translations).
291: <li>PostgreSQL 8.2.3.
1.40 espie 292: </ul>
1.1 deraadt 293: <p>
294:
295: <li>As usual, steady improvements in manual pages and other documentation.
296: <p>
297:
298: <li>The system includes the following major components from outside suppliers:
299: <ul>
300: <li>X.Org 6.9.0 (+ patches, and i386 contains XFree86 3.3.6 servers
301: (+ patches) for legacy chipsets not supported by X.Org)
302: <li>Gcc 2.95.3
1.111 bentley 303: (+ <a href="https://man.openbsd.org/gcc-local.1">patches</a>)
1.1 deraadt 304: and 3.3.5
1.111 bentley 305: (+ <a href="https://man.openbsd.org/gcc-local.1">patches</a>)
1.1 deraadt 306: <li>Perl 5.8.8 (+ patches)
1.15 henning 307: <li>our improved and secured version of Apache 1.3, with SSL/TLS and DSO support
1.1 deraadt 308: <li>OpenSSL 0.9.7j (+ patches)
309: <li>Groff 1.15
1.11 david 310: <li>Sendmail 8.14.0, with libmilter
311: <li>Bind 9.3.4 (+ patches)
1.1 deraadt 312: <li>Lynx 2.8.5rel.4 with HTTPS and IPv6 support (+ patches)
313: <li>Sudo 1.6.8p9
314: <li>Ncurses 5.2
315: <li>Latest KAME IPv6
316: <li>Heimdal 0.7.2 (+ patches)
317: <li>Arla 0.35.7
318: <li>Binutils 2.15 (+ patches)
319: <li>Gdb 6.3 (+ patches)
320: </ul>
321:
322: </ul>
1.111 bentley 323: </section>
1.1 deraadt 324:
325: <hr>
1.111 bentley 326:
327: <section id=install>
328: <h3>How to install</h3>
1.1 deraadt 329: <p>
330: Following this are the instructions which you would have on a piece of
331: paper if you had purchased a CDROM set instead of doing an alternate
332: form of install. The instructions for doing an FTP (or other style
333: of) install are very similar; the CDROM instructions are left intact
334: so that you can see how much easier it would have been if you had
335: purchased a CDROM instead.
336: <p>
337:
338: <hr>
339: Please refer to the following files on the three CDROMs or FTP mirror for
340: extensive details on how to install OpenBSD 4.1 on your machine:
341: <p>
342: <ul>
1.114 deraadt 343: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.1/i386/INSTALL.i386">
344: .../OpenBSD/4.1/i386/INSTALL.i386 (on CD1)</a>
1.1 deraadt 345: <p>
1.114 deraadt 346: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.1/amd64/INSTALL.amd64">
347: .../OpenBSD/4.1/amd64/INSTALL.amd64 (on CD2)</a>
348: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.1/macppc/INSTALL.macppc">
349: .../OpenBSD/4.1/macppc/INSTALL.macppc (on CD2)</a>
350: <p>
351: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.1/sparc/INSTALL.sparc">
352: .../OpenBSD/4.1/sparc/INSTALL.sparc (on CD3)</a>
353: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.1/sparc64/INSTALL.sparc64">
354: .../OpenBSD/4.1/sparc64/INSTALL.sparc64 (on CD3)</a>
355: <p>
356: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.1/alpha/INSTALL.alpha">
357: .../OpenBSD/4.1/alpha/INSTALL.alpha</a>
358: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.1/armish/INSTALL.armish">
359: .../OpenBSD/4.1/armish/INSTALL.armish</a>
360: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.1/hp300/INSTALL.hp300">
361: .../OpenBSD/4.1/hp300/INSTALL.hp300</a>
362: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.1/hppa/INSTALL.hppa">
363: .../OpenBSD/4.1/hppa/INSTALL.hppa</a>
364: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.1/landisk/INSTALL.landisk">
365: .../OpenBSD/4.1/landisk/INSTALL.landisk</a>
366: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.1/luna88k/INSTALL.luna88k">
367: .../OpenBSD/4.1/luna88k/INSTALL.luna88k</a>
368: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.1/mac68k/INSTALL.mac68k">
369: .../OpenBSD/4.1/mac68k/INSTALL.mac68k</a>
370: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.1/mvme68k/INSTALL.mvme68k">
371: .../OpenBSD/4.1/mvme68k/INSTALL.mvme68k</a>
372: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.1/mvme88k/INSTALL.mvme88k">
373: .../OpenBSD/4.1/mvme88k/INSTALL.mvme88k</a>
374: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.1/sgi/INSTALL.sgi">
375: .../OpenBSD/4.1/sgi/INSTALL.sgi</a>
376: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.1/vax/INSTALL.vax">
377: .../OpenBSD/4.1/vax/INSTALL.vax</a>
378: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.1/zaurus/INSTALL.zaurus">
379: .../OpenBSD/4.1/zaurus/INSTALL.zaurus</a>
1.1 deraadt 380: </ul>
1.111 bentley 381: </section>
382:
1.1 deraadt 383: <hr>
384:
1.111 bentley 385: <section id=quickinstall>
386:
1.1 deraadt 387: <p>
388: Quick installer information for people familiar with OpenBSD, and the
389: use of the "disklabel -E" command. If you are at all confused when
390: installing OpenBSD, read the relevant INSTALL.* file as listed above!
1.111 bentley 391:
392: <h3>OpenBSD/i386:</h3>
393:
1.1 deraadt 394: <p>
395: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
396: release is on CD1. If your BIOS does not support booting from CD, you will need
397: to create a boot floppy to install from. To create a boot floppy write
398: <i>CD1:4.1/i386/floppy41.fs</i> to a floppy and boot via the floppy drive.
399:
400: <p>
401: Use <i>CD1:4.1/i386/floppyB41.fs</i> instead for greater SCSI controller
402: support, or <i>CD1:4.1/i386/floppyC41.fs</i> for better laptop support.
403:
404: <p>
405: If you can't boot from a CD or a floppy disk,
406: you can install across the network using PXE as described in
407: the included INSTALL.i386 document.
408:
409: <p>
410: If you are planning on dual booting OpenBSD with another OS, you will need to
411: read INSTALL.i386.
412:
413: <p>
414: To make a boot floppy under MS-DOS, use the "rawrite" utility located
415: at <i>CD1:4.1/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
416: use the
1.111 bentley 417: <a href="https://man.openbsd.org/dd.1">dd(1)</a>
1.1 deraadt 418: utility. The following is an example usage of
1.111 bentley 419: <a href="https://man.openbsd.org/dd.1">dd(1)</a>,
1.1 deraadt 420: where the device could be "floppy", "rfd0c", or
421: "rfd0a".
422:
1.111 bentley 423: <blockquote><pre>
1.114 deraadt 424: # <kbd>dd if=<file> of=/dev/<device> bs=32k</kbd>
1.111 bentley 425: </pre></blockquote>
1.1 deraadt 426:
427: <p>
428: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
429: your install will most likely fail. For more information on creating a boot
430: floppy and installing OpenBSD/i386 please refer to
1.106 tj 431: <a href="faq/faq4.html#MkFlop">this page</a>.
1.111 bentley 432:
433: <h3>OpenBSD/amd64:</h3>
1.1 deraadt 434:
435: <p>
436: The 4.1 release of OpenBSD/amd64 is located on CD2.
437: Boot from the CD to begin the install - you may need to adjust
438: your BIOS options first.
439: If you can't boot from the CD, you can create a boot floppy to install from.
440: To do this, write <i>CD2:4.1/amd64/floppy41.fs</i> to a floppy, then
441: boot from the floppy drive.
442:
443: <p>
444: If you can't boot from a CD or a floppy disk,
445: you can install across the network using PXE as described in the included
446: INSTALL.amd64 document.
447:
448: <p>
449: If you are planning to dual boot OpenBSD with another OS, you will need to
450: read INSTALL.amd64.
1.111 bentley 451:
452: <h3>OpenBSD/macppc:</h3>
1.1 deraadt 453:
454: <p>
455: Put CD2 in your CDROM drive and poweron your machine while holding down the
456: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
457:
458: <p>
459: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
460: /4.1/macppc/bsd.rd</i>
1.111 bentley 461:
462: <h3>OpenBSD/sparc:</h3>
1.1 deraadt 463:
464: <p>
465: The 4.1 release of OpenBSD/sparc is located on CD3. To boot off of this CD you
466: can use one of the two commands listed below, depending on the version of your
467: ROM.
468:
1.111 bentley 469: <blockquote><pre>
470: ok <kbd>boot cdrom 4.1/sparc/bsd.rd</kbd>
1.1 deraadt 471: or
1.111 bentley 472: > <kbd>b sd(0,6,0)4.1/sparc/bsd.rd</kbd>
473: </pre></blockquote>
1.1 deraadt 474:
475: <p>
476: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
477: To do so you need to write <i>CD3:4.1/sparc/floppy41.fs</i> to a floppy.
1.106 tj 478: For more information see <a href="faq/faq4.html#MkFlop">this page</a>.
1.1 deraadt 479: To boot from the floppy use one of the two commands listed below,
480: depending on the version of your ROM.
481:
1.111 bentley 482: <blockquote><pre>
483: ok <kbd>boot floppy</kbd>
1.1 deraadt 484: or
1.111 bentley 485: > <kbd>b fd()</kbd>
486: </pre></blockquote>
1.1 deraadt 487:
488: <p>
489: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
490: will most likely fail.
491:
492: <p>
493: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
494: setup a bootable tape, or install via network, as told in the
495: INSTALL.sparc file.
1.111 bentley 496:
497: <h3>OpenBSD/sparc64:</h3>
1.1 deraadt 498:
499: <p>
500: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
501:
502: <p>
503: If this doesn't work, or if you don't have a CDROM drive, you can write
504: <i>CD3:4.1/sparc64/floppy41.fs</i> or <i>CD3:4.1/sparc64/floppyB41.fs</i>
505: (depending on your machine) to a floppy and boot it with <i>boot
506: floppy</i>. Refer to INSTALL.sparc64 for details.
507:
508: <p>
509: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
510: will most likely fail.
511:
512: <p>
513: You can also write <i>CD3:4.1/sparc64/miniroot41.fs</i> to the swap partition on
514: the disk and boot with <i>boot disk:b</i>.
515:
516: <p>
517: If nothing works, you can boot over the network as described in INSTALL.sparc64.
1.111 bentley 518:
519: <h3>OpenBSD/alpha:</h3>
1.1 deraadt 520:
521: <p>
1.114 deraadt 522: Write <i>4.1/alpha/floppy41.fs</i> or
523: <i>4.1/alpha/floppyB41.fs</i> (depending on your machine) to a diskette and
1.1 deraadt 524: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
525:
526: <p>
527: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
528: will most likely fail.
529:
1.111 bentley 530: <h3>OpenBSD/armish:</h3>
1.1 deraadt 531:
532: <p>
533: After connecting a serial port, Thecus can boot directly from the network
534: either tftp or http. Configure the network using fconfig, reset,
535: then load bsd.rd, see INSTALL.armish for specific details.
536: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
537: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
538: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
539: More details are available in INSTALL.armish.
1.111 bentley 540:
541: <h3>OpenBSD/hp300:</h3>
1.1 deraadt 542:
543: <p>
1.3 deraadt 544: Boot over the network by following the instructions in INSTALL.hp300.
1.1 deraadt 545:
1.111 bentley 546: <h3>OpenBSD/hppa:</h3>
547:
1.1 deraadt 548: <p>
1.3 deraadt 549: Boot over the network by following the instructions in INSTALL.hppa or the
550: <a href="hppa.html#install">hppa platform page</a>.
1.111 bentley 551:
552: <h3>OpenBSD/landisk:</h3>
1.1 deraadt 553:
554: <p>
1.3 deraadt 555: Write <i>CD3:4.1/landisk/miniroot41.fs</i> to the start of the CF
556: or disk, and boot normally.
1.1 deraadt 557:
1.111 bentley 558: <h3>OpenBSD/luna88k:</h3>
559:
1.1 deraadt 560: <p>
561: Copy bsd.rd to a Mach or UniOS partition, and boot it from the PROM.
562: Alternatively, you can create a bootable tape and boot from it. Refer to
563: the instructions in INSTALL.luna88k for more details.
564:
1.111 bentley 565: <h3>OpenBSD/mac68k:</h3>
566:
1.1 deraadt 567: <p>
568: Boot MacOS as normal and extract the Macside "BSD/Mac68k Booter" utility from
1.114 deraadt 569: <i>4.1/mac68k/utils</i> onto your hard disk. Configure the "BSD/Mac68k
1.1 deraadt 570: Booter" with the location of your bsd.rd kernel and boot into the installer.
571: Refer to the instructions in INSTALL.mac68k for more details.
1.111 bentley 572:
573: <h3>OpenBSD/mvme68k:</h3>
1.1 deraadt 574:
575: <p>
576: You can create a bootable installation tape or boot over the network.<br>
577: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
578: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
579: for more details.
580:
1.111 bentley 581: <h3>OpenBSD/mvme88k:</h3>
582:
1.1 deraadt 583: <p>
584: You can create a bootable installation tape or boot over the network.<br>
585: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
586: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
587: for more details.
1.111 bentley 588:
589: <h3>OpenBSD/sgi:</h3>
1.1 deraadt 590:
591: <p>
592: Burn cd41.iso on a CD-R, put it in the CD drive of your machine and
593: select <i>Install System Software</i> from the System Maintenance menu.
594:
595: <p>
596: If your machine doesn't have a CD drive, you can
597: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd".
598: Refer to the instructions in INSTALL.sgi for more details.
1.111 bentley 599:
600: <h3>OpenBSD/vax:</h3>
1.1 deraadt 601:
602: <p>
603: Boot over the network via mopbooting as described in INSTALL.vax.
604:
1.111 bentley 605: <h3>OpenBSD/zaurus:</h3>
606:
1.1 deraadt 607: <p>
608: Using the Linux built-in graphical ipkg installer, install the
609: openbsd41_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
610: for a few important details.
1.114 deraadt 611: </section>
1.111 bentley 612:
1.114 deraadt 613: <hr>
1.111 bentley 614:
615: <section id=sourcecode>
1.114 deraadt 616: <h3>Notes about the source code</h3>
1.1 deraadt 617: <p>
1.116 deraadt 618: <code>src.tar.gz</code> contains a source archive starting at <code>/usr/src</code>.
619: This file contains everything you need except for the kernel sources, which are
1.1 deraadt 620: in a separate archive. To extract:
1.111 bentley 621:
622: <blockquote><pre>
623: # <kbd>mkdir -p /usr/src</kbd>
624: # <kbd>cd /usr/src</kbd>
625: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
626: </pre></blockquote>
627:
1.1 deraadt 628: <p>
1.116 deraadt 629: <code>sys.tar.gz</code> contains a source archive starting at <code>/usr/src/sys</code>.
1.1 deraadt 630: This file contains all the kernel sources you need to rebuild kernels.
631: To extract:
1.111 bentley 632:
633: <blockquote><pre>
634: # <kbd>mkdir -p /usr/src/sys</kbd>
635: # <kbd>cd /usr/src</kbd>
1.114 deraadt 636: # <kbd>tar xvfz /tmp/sys.tar.gz</kbd>
1.111 bentley 637: </pre></blockquote>
638:
1.1 deraadt 639: <p>
640: Both of these trees are a regular CVS checkout. Using these trees it
641: is possible to get a head-start on using the anoncvs servers as
642: described <a href="anoncvs.html">here</a>.
643: Using these files
644: results in a much faster initial CVS update than you could expect from
645: a fresh checkout of the full OpenBSD source tree.
1.111 bentley 646: </section>
647:
1.1 deraadt 648: <hr>
1.111 bentley 649:
650: <section id=upgrade>
651: <h3>How to upgrade</h3>
1.1 deraadt 652: <p>
653: If you already have an OpenBSD 4.0 system, and do not want to reinstall,
654: upgrade instructions and advice can be found in the
655: <a href="faq/upgrade41.html">Upgrade Guide</a>.
1.111 bentley 656: </section>
1.1 deraadt 657:
658: <hr>
1.111 bentley 659:
660: <section id=ports>
661: <h3>Ports Tree</h3>
1.1 deraadt 662: <p>
663: A ports tree archive is also provided. To extract:
1.111 bentley 664: <blockquote><pre>
665: # <kbd>cd /usr</kbd>
666: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
667: # <kbd>cd ports</kbd>
668: </pre></blockquote>
1.1 deraadt 669: <p>
670: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
1.92 jasper 671: read the <a href="faq/faq15.html">ports</a> page
1.1 deraadt 672: if you know nothing about ports
673: at this point. This text is not a manual of how to use ports.
674: Rather, it is a set of notes meant to kickstart the user on the
675: OpenBSD ports system.
676: <p>
677: The <i>ports/</i> directory represents a CVS (see the manpage for
1.115 bentley 678: <a href="https://man.openbsd.org/cvs.1">cvs(1)</a> if
1.1 deraadt 679: you aren't familiar with CVS) checkout of our ports. As with our complete
680: source tree, our ports tree is available via anoncvs. So, in
681: order to keep current with it, you must make the <i>ports/</i> tree
682: available on a read-write medium and update the tree with a command
683: like:
1.111 bentley 684: <blockquote><pre>
1.114 deraadt 685: # <kbd>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_4_1</kbd>
1.111 bentley 686: </pre></blockquote>
1.1 deraadt 687: <p>
688: [Of course, you must replace the local directory and server name here
689: with the location of your ports collection and a nearby anoncvs
690: server.]
691: <p>
1.114 deraadt 692: Note that most ports are available as packages on our mirrors. Updated
1.1 deraadt 693: packages for the 4.1 release will be made available if problems arise.
694: <p>
695: If you're interested in seeing a port added, would like to help out, or just
1.114 deraadt 696: would like to know more, the mailing list
697: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
1.111 bentley 698: </section>