Annotation of www/51.html, Revision 1.29
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 5.1 Release</title>
5: <link rev=made href="mailto:www@openbsd.org">
6: <meta name="resource-type" content="document">
7: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
8: <meta name="description" content="OpenBSD 5.1">
9: <meta name="keywords" content="openbsd,main">
10: <meta name="distribution" content="global">
11: <meta name="copyright" content="This document copyright 2011 by OpenBSD.">
12: </head>
13:
14: <body bgcolor="#ffffff" text="#000000" link="#24248E">
15:
16: <a href="index.html">
17: <img alt="[OpenBSD]" height="30" width="141" hspace="24" src="images/smalltitle.gif" border="0"></a>
18: <hr>
19:
20: <p>
1.5 deraadt 21: <a href="images/Bugbusters.jpg">
1.1 deraadt 22: <img align="left" width="227" height="343" hspace="24" vspace="30"
23: src="images/Bugbusters.jpg" alt="OpenBSD 5.1 logo"></a>
24: <h2><font color="#0000e0">The OpenBSD 5.1 Release:</font></h2>
25: <p>
26: To be released May 1, 2012<br>
27: Copyright 1997-2012, Theo de Raadt.<br>
28: <font color="#e00000">ISBN 978-0-9784475-9-5</font>
29: <br>
30: <a href="lyrics.html#51">5.1 Song: "Bug Busters"</a>
31: <p>
32:
33: <a href="#new">What's New</a><br>
34: <a href="#install">How to install</a><br>
35: <a href="#upgrade">How to upgrade</a><br>
36: <a href="#ports">How to use the ports tree</a><br>
37: <a href="orders.html">Ordering a CD set</a><br>
38:
39: <p>
40: <h3><font color="#0000e0">
41: To get the files for this release:
42: <ul>
43: <li>Order a CDROM from our <a href="orders.html">ordering system</a>.
44: <li>See the information on <a href="ftp.html">The FTP page</a> for
45: a list of mirror machines.
46: <li>Go to the <font color="#e00000">pub/OpenBSD/5.1/</font> directory on
47: one of the mirror sites.
48: <li>Briefly read the rest of this document.
49: <li>Have a look at <a href="errata51.html">The 5.1 Errata page</a> for a list
50: of bugs and workarounds.
51: <li>See a <a href="plus51.html">detailed log of changes</a> between the
52: 5.0 and 5.1 releases.
53: </ul>
54: </font></h3>
55: <br clear=all>
56:
57: <strong>Note:</strong> All applicable copyrights and credits can be found
58: in the applicable file sources found in the files src.tar.gz, sys.tar.gz,
59: xenocara.tar.gz, or in the files fetched via ports.tar.gz. The distribution
60: files used to build packages from the ports.tar.gz file are not included on
61: the CDROM because of lack of space.
62: <p>
63:
64: <a name="new"></a>
65: <hr>
66: <p>
67: <h3><font color="#0000e0">What's New</font></h3>
68: <p>
69: This is a partial list of new features and systems included in OpenBSD 5.1.
70: For a comprehensive list, see the <a href="plus51.html">changelog</a> leading
71: to 5.1.
72: <p>
73:
74: <ul>
1.3 guenther 75: <li>Improved hardware support, including:
76: <ul>
1.12 jsg 77: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=umsm&sektion=4">umsm(4)</a> supports additional mobile broadband devices.
78: <li>Non-GigE <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ale&sektion=4">ale(4)</a> devices can now establish link to a GigE link partner.
79: <li>Support for Intel 82580 has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=em&sektion=4">em(4)</a>.
80: <li>Support for MegaRAID 9240 has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mfi&sektion=4">mfi(4)</a>.
81: <li>Support for Nuvoton NCT6776F has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=lm&sektion=4">lm(4)</a>.
82: <li>Support for Centrino Advanced-N 6205 has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=iwn&sektion=4">iwn(4)</a>.
83: <li>Support for SiS 1182/1183 SATA has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pciide&sektion=4">pciide(4)</a>.
1.18 matthieu 84: <li>Support for Synaptics touch pads through the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=synaptics&sektion=4">synaptics(4)</a> X.Org input driver is now enabled by default.
85: <li>Support for Intel Sandy Bridge integrated graphics cards has been added to the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=intel&sektion=4">intel(4)</a> X.Org driver.
1.20 mikeb 86: <li>Assembler implementation of the AES-GCM mode for new Intel and future AMD CPUs has been added.
1.29 ! brett 87: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=usb&manpath=OpenBSD%20Current&sektion=4&format=html">usb(4)</a> probes bus after resume, improves functionality for some laptops.
1.4 deraadt 88: </ul>
1.3 guenther 89: <p>
90:
91: <li>Generic network stack improvements:
92: <ul>
1.26 deraadt 93: <li>RFC4638 MTU negotiation for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pppoe&sektion=4">pppoe(4)</a>.
1.29 ! brett 94: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=npppdctl&manpath=OpenBSD%20Current&sektion=8&format=html">npppdctl(8)</a> replaced with <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=npppctl&manpath=OpenBSD%20Current&sektion=8&format=html">npppctl(8)</a>, written from scratch. Includes support for IPv6 as tunnel source address.
! 95: <li>Improve performance (throughput and loss rate) for PPTP, <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pppd&manpath=OpenBSD%20Current&sektion=8&format=html">pppd(8)</a> or L2TP(/IPsec) on unstable latency networks (eg mobile).
1.17 henning 96: <li>Improved IPv6 fragment handling.
1.7 sthen 97: <li>Many robustness improvements for IEEE 802.11 (particularly hostap).
98: <li>Improved vlan priority support, including mapping to interface queues.
1.13 sperreau 99: <li>Initial rdomains support for IPv6.
1.26 deraadt 100: <li>Robustness improvements for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=carp&sektion=4">carp(4)</a>.
101: <li>Various IPv6 and rdomain related improvements for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=carp&sektion=4">carp(4)</a>.
1.4 deraadt 102: </ul>
1.3 guenther 103: <p>
1.24 deraadt 104:
1.3 guenther 105: <li>Routing daemons and other userland network improvements:
106: <ul>
1.26 deraadt 107: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fstat&sektion=8">fstat(8)</a> now displays routing table ID and socket-splicing information and ps can display routing table ID.
1.27 gonzalo 108: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=traceroute&sektion=8">traceroute(8)</a> and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=traceroute6&sektion=8">traceroute6(8)</a> can look up ASNs for each hop.
109: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=snmpd&sektion=8">snmpd(8)</a> adds a MIB to show statistics for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=carp&sektion=4">carp(4)</a> interfaces.
110: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bgpctl&sektion=8">bgpctl(8)</a> parses and display MRT routing table dumps.
111: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ntpd&sektion=8">ntpd(8)</a> supports multiple rdomains.
112: <li>When <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ospfd&sektion=8">ospfd(8)</a> detects route socket overflow, it now delays before it reloads the fib.
1.16 deraadt 113: <li>Improved and more consistent ToS support in various network tools
1.27 gonzalo 114: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tcpbench&sektion=8">tcpbench(8)</a>, <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nc&sektion=8">nc(8)</a>, <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pingt&sektion=8">ping(8)</a>, <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=traceroute&sektion=8">traceroute(8)</a>).
1.29 ! brett 115: <li>Initial inport of <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=login_yubikey&manpath=OpenBSD%20Current&sektion=8&format=html">login_yubikey(8)</a> for logging in using yubikeys.
1.4 deraadt 116: </ul>
1.3 guenther 117: <p>
1.4 deraadt 118:
1.3 guenther 119: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a> improvements:
120: <ul>
1.27 gonzalo 121: <li>One-shot rule support for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a>, for use with proxies via anchors.
1.26 deraadt 122: <li>NAT64 support in PF using the <b>af-to</b> keyword.
1.24 deraadt 123: <li>Much improved IPv6 fragment handling.
124: <li>Various enhancements with ICMP and especially ICMPv6 states
125: <li>Improved IPv6 Neighbor Discovery and Multicast Listener Discovery handling.
1.27 gonzalo 126: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pfctl&sektion=8">pfctl(8)</a> now prints port numbers instead of service names by default.
127: <li>Netflow v9 and ipfix support for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pflow&sektion=4">pflow(4)</a>.
128: <li>Many <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pfsync&sektion=4">pfsync(4)</a> fixes and improvements including jumbo frames and automatically requesting a bulk update after a physical interface comes online.
1.4 deraadt 129: </ul>
1.3 guenther 130: <p>
1.24 deraadt 131:
1.11 espie 132: <li>Assorted improvements:
133: <ul>
134: <li>Improved locale support.
1.24 deraadt 135: <li>Support for MSG_NOSIGNAL.
1.27 gonzalo 136: <li>KERN_PROC_CWD <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sysctl&sektion=3">sysctl(3)</a> for fetching the path to a process's working directory.
137: <li>Improved <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fnmatch&sektion=3">fnmatch(3)</a>, <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=glob&sektion=3">glob(3)</a>, and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=regcomp&sektion=3">regcomp(3)</a> implementations to resist
1.16 deraadt 138: DoS attacks.
1.11 espie 139: <li>Lots of HISTORY and AUTHORS information added to manpages.
140: <li>Improved checking of file-offset wraparound.
1.27 gonzalo 141: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pwrite&sektion=2">pwrite(2)</a>/<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pwritev&sektion=2">pwritev(2)</a> now correctly by ignored O_APPEND.
1.11 espie 142: <li>Improved conformance of header files with standards.
143: <li>Improved cancelation support in both user-threads (libpthread) and rthreads.
1.16 deraadt 144: <li>Improved correctness of execing, coredumping, signal delivery,
145: alternate signal stacks, blocking socket accepts(), mutexes and
146: condition variables, per-thread errno, symbol binding, and
147: ktracing when rthreads are in use.
148: <li>Architecture-independent kernel support for thread-control-block
149: handling for rthreads.
1.11 espie 150: <li>Small improvements to Linux compat (only available on i386).
1.27 gonzalo 151: <li>Multiple bugs have been fixed in the Intel 10Gb driver <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ix&sektion=4">ix(4)</a>.
1.25 stsp 152: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=softraid&sektion=4">softraid(4)</a> now supports a concatenating discipline.
153: <li>On amd64, i386, and sparc64, the root filesystem can reside in a <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=softraid&sektion=4">softraid(4)</a> volume. The kernel needs to be booted from a non-softraid partition.
154: <li>On amd64, the system can be booted from a <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=softraid&sektion=4">softraid(4)</a> RAID1 volume.
1.29 ! brett 155: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=aucat&manpath=OpenBSD%20Current&sektion=1&format=html">aucat(1)</a> adds a "device number" component in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sndio&manpath=OpenBSD%20Current&sektion=7&format=html">sndio(7)</a> device names, allowing a single aucat instance to handle all audio and MIDI services.
! 156: <li>Built-in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sndiod&manpath=OpenBSD%20Current&sektion=1&format=html">sndiod(1)</a> sound daemon now uses default rate 48kHz and the default block size 10ms. These settings ensure video players and programs using MTC are smooth by default.
! 157: <li>Many updates to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=smtpd&manpath=OpenBSD%20Current&sektion=8&format=html">smtpd(8)</a>: a new scheduler_backend API introduced, more MIME 1.0 support added, new filter callbacks for network events, improved DNS error reporting and envelope handling, and the purge/ directory is now cleared via a priviledge-separated child.
! 158: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tmux&manpath=OpenBSD%20Current&sektion=1&format=html">tmux(1)</a> is extended to support a larger history, minimizes redundant log messages and does some code reordering for more local and less global variables. Support is added for the ESC[s and ESC[u save/restore cursor-position key sequences. $HOME (or ~) may now be used as default-path in tmux.conf.
! 159: <li>Enhanced <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cwm&manpath=OpenBSD%20Current&sektion=1&format=html">cwm(1)</a> event support, added {r,}cycleingroup to cycle through clients belonging to the same group as the active client, simplified color initialization.
! 160: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mg&manpath=OpenBSD%20Current&sektion=1&format=html">mg(1)</a> emacs-like editor: now uses absolute filenames while pushing and popping off the stack. In dired mode: corrected cursor movements and added missing keybindings.
1.11 espie 161: </ul>
162: <p>
1.24 deraadt 163:
1.11 espie 164: <li>Over 7,000 ports, major performance and stability improvements in
165: the package build process
1.8 espie 166: <ul>
1.16 deraadt 167: <li>Downloading of distfiles is simpler, can resume interrupted download,
1.8 espie 168: discover file moves, and expire old files. Distfiles mirror sites now use
169: the new and improved method.
1.16 deraadt 170: <li>Dependency handling during ports build and package creation is at least
1.8 espie 171: twice as fast, twenty times as fast in pathological cases. This also affects
172: user scripts such as out-of-date
1.16 deraadt 173: <li>More checks are done during package builds, for increased user friendliness
174: <li>The long term process of documenting the infrastructure is now 100% done.
1.8 espie 175: <li>The distributed ports builder (dpb) can now clean up old dependencies,
176: thus helping package builds be more reproducible.
177: This found tens of hidden build dependencies in the ports tree already.
1.16 deraadt 178: <li>The semantics of pkg_add -a have been nailed down and a few minor bugs
1.8 espie 179: have been fixed.
1.16 deraadt 180: <li>The arch-dependent issues are better classified, leading to better builds on
1.8 espie 181: old architectures in some complicated cases. In particular, dpb explicitly
182: purges from memory info about packages it cannot build and stuff that
183: depends on it, leading to better life on sparc and vax which have very
184: small data-size limits.
185: <li>dpb recognizes full builds and trims some duplicate package builds
186: </ul>
187: <p>
1.1 deraadt 188: <li>Many pre-built packages for each architecture:
189: <table border=0 cellspacing=0 cellpadding=2 width="95%">
190: <tr>
191: <td valign="top" width="25%">
192: <ul>
193: <li>i386: 7229
194: <li>sparc64: 6599
195: <li>alpha: 5943
196: </ul></td><td valign=top width="25%"><ul>
1.28 deraadt 197: <li>sh: 2459
1.1 deraadt 198: <li>amd64: 7181
199: <li>powerpc: 6852
200: </ul></td><td valign=top width="25%"><ul>
201: <li>sparc: 4152
1.21 sthen 202: <li>arm: 5536
1.1 deraadt 203: <li>hppa: 6159
204: </ul></td><td valign=top width="25%"><ul>
205: <li>vax: 2199
1.15 deraadt 206: <li>mips64: 5785
1.1 deraadt 207: <li>mips64el: 5807
208: </ul></td></tr></table>
209: <p>
210:
211: <li>Some highlights:
212: <ul>
1.21 sthen 213: <li>Gnome 3.2.1 <li>KDE 3.5.10
214: <li>Xfce 4.8.3 <li>MySQL 5.1.60
215: <li>PostgreSQL 9.1.2 <li>Postfix 2.8.8
216: <li>OpenLDAP 2.3.43 and 2.4.26 <li>Mozilla Firefox 3.5.19, 3.6.25 and 9.0.1
217: <li>Mozilla Thunderbird 9.0.1 <li>GHC 7.0.4
218: <li>LibreOffice 3.4.5.2 <li>Emacs 21.4, 22.3 and 23.4
219: <li>Vim 7.3.154 <li>PHP 5.2.17 and 5.3.10
220: <li>Python 2.5.4, 2.7.1 and 3.2.2 <li>Ruby 1.8.7.357 and 1.9.3.0
221: <li>Tcl 8.5.11 <li>Jdk 1.7
222: <li>Mono 2.10.6 <li>Chromium 16.0.912.77
1.1 deraadt 223: <li>Groff 1.21
224: </ul>
225: <p>
226:
227: <li>As usual, steady improvements in manual pages and other documentation.
228: <li>Base system and Xenocara manuals are now installed as source code,
229: making <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=grep&sektion=1">grep(1)</a> more useful in /usr/share/man/ and /usr/X11R6/man/.
230: <li>If both formatted and source versions of manuals are installed,
231: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=man&sektion=1">man(1)</a> automatically displays the newer version of each page.
1.29 ! brett 232: <p>
1.1 deraadt 233:
1.29 ! brett 234: <li> The system includes the following major components from outside suppliers:
! 235: <ul>
1.6 matthieu 236: <li>Xenocara (based on X.Org 7.6 with xserver 1.11.4 + patches,
237: freetype 2.4.8, fontconfig 2.8.0, Mesa 7.10.3, xterm 276,
238: xkeyboard-config 2.5 and more)
1.29 ! brett 239: <li>In the Xenocara Radeon driver: version 6.12.2 (the last known working version in "zaphod" mode) is renamed to radeonold; xf86-video-ati is updated to 6.14.3, supporting most Radeon cards.
1.19 matthieu 240: <li>Gcc 4.2.1 (+patches), 3.3.5 (+ patches) and 2.95.3 (+ patches)
1.1 deraadt 241: <li>Perl 5.12.2 (+ patches)
242: <li>Our improved and secured version of Apache 1.3, with
243: SSL/TLS and DSO support
1.22 gsoares 244: <li>OpenSSL 1.0.0f (+ patches)
1.1 deraadt 245: <li>Sendmail 8.14.5, with libmilter
246: <li>Bind 9.4.2-P2 (+ patches)
247: <li>Lynx 2.8.7rel.2 with HTTPS and IPv6 support (+ patches)
248: <li>Sudo 1.7.2p8
249: <li>Ncurses 5.7
250: <li>Heimdal 0.7.2 (+ patches)
251: <li>Arla 0.35.7
252: <li>Binutils 2.15 (+ patches)
253: <li>Gdb 6.3 (+ patches)
1.29 ! brett 254: <li>Less 444 (+ patches)
! 255: <li>Awk Aug 10, 2011 version
1.1 deraadt 256: </ul>
257:
258: </ul>
259:
260: <a name="install"></a>
261: <hr>
262: <p>
263: <h3><font color="#0000e0">How to install</font></h3>
264: <p>
265: Following this are the instructions which you would have on a piece of
266: paper if you had purchased a CDROM set instead of doing an alternate
267: form of install. The instructions for doing an FTP (or other style
268: of) install are very similar; the CDROM instructions are left intact
269: so that you can see how much easier it would have been if you had
270: purchased a CDROM instead.
271: <p>
272:
273: <hr>
274: Please refer to the following files on the three CDROMs or FTP mirror for
275: extensive details on how to install OpenBSD 5.1 on your machine:
276: <p>
277: <ul>
278: <li>CD1:5.1/i386/INSTALL.i386
279: <p>
280: <li>CD2:5.1/amd64/INSTALL.amd64
281: <li>CD2:5.1/macppc/INSTALL.macppc
282: <p>
283: <li>CD3:5.1/sparc64/INSTALL.sparc64
284: <p>
285: <li>FTP:.../OpenBSD/5.1/alpha/INSTALL.alpha
286: <li>FTP:.../OpenBSD/5.1/armish/INSTALL.armish
287: <li>FTP:.../OpenBSD/5.1/hp300/INSTALL.hp300
288: <li>FTP:.../OpenBSD/5.1/hppa/INSTALL.hppa
289: <li>FTP:.../OpenBSD/5.1/landisk/INSTALL.landisk
290: <li>FTP:.../OpenBSD/5.1/loongson/INSTALL.loongson
1.14 miod 291: <li>FTP:.../OpenBSD/5.1/luna88k/INSTALL.luna88k
1.1 deraadt 292: <li>FTP:.../OpenBSD/5.1/mvme68k/INSTALL.mvme68k
293: <li>FTP:.../OpenBSD/5.1/mvme88k/INSTALL.mvme88k
294: <li>FTP:.../OpenBSD/5.1/sgi/INSTALL.sgi
295: <li>FTP:.../OpenBSD/5.1/socppc/INSTALL.socppc
296: <li>FTP:.../OpenBSD/5.1/sparc/INSTALL.sparc
297: <li>FTP:.../OpenBSD/5.1/vax/INSTALL.vax
298: <li>FTP:.../OpenBSD/5.1/zaurus/INSTALL.zaurus
299: </ul>
300: <hr>
301:
302: <p>
303: Quick installer information for people familiar with OpenBSD, and the
304: use of the "disklabel -E" command. If you are at all confused when
305: installing OpenBSD, read the relevant INSTALL.* file as listed above!
306: <p>
307:
308: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
309: <ul>
310: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
311: release is on CD1. If your BIOS does not support booting from CD, you will need
312: to create a boot floppy to install from. To create a boot floppy write
313: <i>CD1:5.1/i386/floppy51.fs</i> to a floppy and boot via the floppy drive.
314:
315: <p>
316: Use <i>CD1:5.1/i386/floppyB51.fs</i> instead for greater SCSI controller
317: support, or <i>CD1:5.1/i386/floppyC51.fs</i> for better laptop support.
318:
319: <p>
320: If you can't boot from a CD or a floppy disk,
321: you can install across the network using PXE as described in
322: the included INSTALL.i386 document.
323:
324: <p>
325: If you are planning on dual booting OpenBSD with another OS, you will need to
326: read INSTALL.i386.
327:
328: <p>
329: To make a boot floppy under MS-DOS, use the "rawrite" utility located
330: at <i>CD1:5.1/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
331: use the
332: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
333: utility. The following is an example usage of
334: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
335: where the device could be "floppy", "rfd0c", or
336: "rfd0a".
337:
338: <ul><pre>
339: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
340: </pre></ul>
341:
342: <p>
343: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
344: your install will most likely fail. For more information on creating a boot
345: floppy and installing OpenBSD/i386 please refer to
346: <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
347: </ul>
348:
349: <p>
350: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
351: <ul>
352: The 5.1 release of OpenBSD/amd64 is located on CD2.
353: Boot from the CD to begin the install - you may need to adjust
354: your BIOS options first.
355: If you can't boot from the CD, you can create a boot floppy to install from.
356: To do this, write <i>CD2:5.1/amd64/floppy51.fs</i> to a floppy, then
357: boot from the floppy drive.
358:
359: <p>
360: If you can't boot from a CD or a floppy disk,
361: you can install across the network using PXE as described in the included
362: INSTALL.amd64 document.
363:
364: <p>
365: If you are planning to dual boot OpenBSD with another OS, you will need to
366: read INSTALL.amd64.
367: </ul>
368:
369: <p>
370: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
371: <ul>
372: Put CD2 in your CDROM drive and poweron your machine while holding down the
373: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
374:
375: <p>
376: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
377: /5.1/macppc/bsd.rd</i>
378: </ul>
379:
380: <p>
381: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
382: <ul>
383: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
384:
385: <p>
386: If this doesn't work, or if you don't have a CDROM drive, you can write
387: <i>CD3:5.1/sparc64/floppy51.fs</i> or <i>CD3:5.1/sparc64/floppyB51.fs</i>
388: (depending on your machine) to a floppy and boot it with <i>boot
389: floppy</i>. Refer to INSTALL.sparc64 for details.
390:
391: <p>
392: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
393: will most likely fail.
394:
395: <p>
396: You can also write <i>CD3:5.1/sparc64/miniroot51.fs</i> to the swap partition on
397: the disk and boot with <i>boot disk:b</i>.
398:
399: <p>
400: If nothing works, you can boot over the network as described in INSTALL.sparc64.
401: </ul>
402:
403: <p>
404: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
405: <ul>
406: <p>Write <i>FTP:5.1/alpha/floppy51.fs</i> or
407: <i>FTP:5.1/alpha/floppyB51.fs</i> (depending on your machine) to a diskette and
408: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
409:
410: <p>
411: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
412: will most likely fail.
413:
414: </ul>
415:
416: <p>
417: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
418: <ul>
419: <p>
420: After connecting a serial port, Thecus can boot directly from the network
421: either tftp or http. Configure the network using fconfig, reset,
422: then load bsd.rd, see INSTALL.armish for specific details.
423: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
424: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
425: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
426: More details are available in INSTALL.armish.
427: </ul>
428:
429: <p>
430: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
431: <ul>
432: <p>
433: Boot over the network by following the instructions in INSTALL.hp300.
434: </ul>
435:
436: <p>
437: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
438: <ul>
439: <p>
440: Boot over the network by following the instructions in INSTALL.hppa or the
441: <a href="hppa.html#install">hppa platform page</a>.
442: </ul>
443:
444: <p>
445: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
446: <ul>
447: <p>
448: Write <i>miniroot51.fs</i> to the start of the CF
449: or disk, and boot normally.
450: </ul>
451:
452: <p>
453: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
454: <ul>
455: <p>
456: Write <i>miniroot51.fs</i> to a USB stick and boot bsd.rd from it
457: or boot bsd.rd via tftp.
458: Refer to the instructions in INSTALL.loongson for more details.
459: </ul>
460: <p>
461:
462: <p>
1.14 miod 463: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
464: <ul>
465: <p>
466: Copy bsd.rd to a Mach or UniOS partition, and boot it from the PROM.
467: Alternatively, you can create a bootable tape and boot from it. Refer to
468: the instructions in INSTALL.luna88k for more details.
469: </ul>
470:
471: <p>
1.1 deraadt 472: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
473: <ul>
474: <p>
475: You can create a bootable installation tape or boot over the network.<br>
476: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
477: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
478: for more details.
479: </ul>
480:
481: <p>
482: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
483: <ul>
484: <p>
485: You can create a bootable installation tape or boot over the network.<br>
486: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
487: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
488: for more details.
489: </ul>
490:
491: <p>
492: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
493: <ul>
494: <p>
495: To install on an O2, burn cd51.iso on a CD-R, put it in the CD drive of your
496: machine and select <i>Install System Software</i> from the System Maintenance
497: menu.
498:
499: <p>
500: On other systems, or if your machine doesn't have a CD drive, you can
501: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd.IP##" using
502: the kernel matching your system type.
503: Refer to the instructions in INSTALL.sgi for more details.
504: </ul>
505:
506: <p>
507: <h3><font color="#e00000">OpenBSD/socppc:</font></h3>
508: <ul>
509: <p>
510: After connecting a serial port, boot over the network via DHCP/tftp.
511: Refer to the instructions in INSTALL.socppc for more details.
512: </ul>
513:
514: <p>
515: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
516: <ul>
517: Boot from one of the provided install ISO images, using one of the two
518: commands listed below, depending on the version of your ROM.
519:
520: <ul><pre>
521: ok <strong>boot cdrom 5.1/sparc/bsd.rd</strong>
522: or
523: > <strong>b sd(0,6,0)5.1/sparc/bsd.rd</strong>
524: </pre></ul>
525:
526: <p>
527: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
528: To do so you need to write <i>floppy51.fs</i> to a floppy.
529: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
530: To boot from the floppy use one of the two commands listed below,
531: depending on the version of your ROM.
532:
533: <ul><pre>
534: ok <strong>boot floppy</strong>
535: or
536: > <strong>b fd()</strong>
537: </pre></ul>
538:
539: <p>
540: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
541: will most likely fail.
542:
543: <p>
544: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
545: setup a bootable tape, or install via network, as told in the
546: INSTALL.sparc file.
547: </ul>
548:
549: <p>
550: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
551: <ul>
552: Boot over the network via mopbooting as described in INSTALL.vax.
553: </ul>
554:
555: <p>
556: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
557: <ul>
558: <p>
559: Using the Linux built-in graphical ipkg installer, install the
560: openbsd51_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
561: for a few important details.
562: </ul>
563:
564: <p>
565: <h3><font color="#e00000">Notes about the source code:</font></h3>
566: <ul>
567: src.tar.gz contains a source archive starting at /usr/src. This file
568: contains everything you need except for the kernel sources, which are
569: in a separate archive. To extract:
570: <p>
571: <ul><pre>
572: # <strong>mkdir -p /usr/src</strong>
573: # <strong>cd /usr/src</strong>
574: # <strong>tar xvfz /tmp/src.tar.gz</strong>
575: </pre></ul>
576: <p>
577: sys.tar.gz contains a source archive starting at /usr/src/sys.
578: This file contains all the kernel sources you need to rebuild kernels.
579: To extract:
580: <p>
581: <ul><pre>
582: # <strong>mkdir -p /usr/src/sys</strong>
583: # <strong>cd /usr/src</strong>
584: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
585: </pre></ul>
586: <p>
587: Both of these trees are a regular CVS checkout. Using these trees it
588: is possible to get a head-start on using the anoncvs servers as
589: described <a href="anoncvs.html">here</a>.
590: Using these files
591: results in a much faster initial CVS update than you could expect from
592: a fresh checkout of the full OpenBSD source tree.
593: <p>
594: </ul>
595:
596: <a name="upgrade"></a>
597: <hr>
598: <p>
599: <h3><font color="#0000e0">How to upgrade</font></h3>
600: <p>
1.2 deraadt 601: If you already have an OpenBSD 5.0 system, and do not want to reinstall,
1.1 deraadt 602: upgrade instructions and advice can be found in the
603: <a href="faq/upgrade51.html">Upgrade Guide</a>.
604:
605: <a name="ports"></a>
606: <hr>
607: <p>
608: <h3><font color="#0000e0">Ports Tree</font></h3>
609: <p>
610: A ports tree archive is also provided. To extract:
611: <p>
612: <ul><pre>
613: # <strong>cd /usr</strong>
614: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
615: # <strong>cd ports</strong>
616: </pre></ul>
617: <p>
618: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
619: read the <a href="faq/ports/index.html">ports</a> page
620: if you know nothing about ports
621: at this point. This text is not a manual of how to use ports.
622: Rather, it is a set of notes meant to kickstart the user on the
623: OpenBSD ports system.
624: <p>
625: The <i>ports/</i> directory represents a CVS (see the manpage for
626: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386">
627: cvs(1)</a> if
628: you aren't familiar with CVS) checkout of our ports. As with our complete
629: source tree, our ports tree is available via anoncvs. So, in
630: order to keep current with it, you must make the <i>ports/</i> tree
631: available on a read-write medium and update the tree with a command
632: like:
633: <p>
634: <ul><pre>
1.2 deraadt 635: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_1</strong>
1.1 deraadt 636: </pre></ul>
637: <p>
638: [Of course, you must replace the local directory and server name here
639: with the location of your ports collection and a nearby anoncvs
640: server.]
641: <p>
642: Note that most ports are available as packages through FTP. Updated
643: packages for the 5.1 release will be made available if problems arise.
644: <p>
645: If you're interested in seeing a port added, would like to help out, or just
646: would like to know more, the mailing list ports@openbsd.org is a good
647: place to know.
648: <p>
649:
650: <hr>
651: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
652: alt="OpenBSD"></a>
653: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
654: <br><small>
1.29 ! brett 655: $OpenBSD: 51.html,v 1.28 2012/04/24 02:23:30 deraadt Exp $
1.1 deraadt 656: </small>
657:
658: </body>
659: </html>