Annotation of www/51.html, Revision 1.2
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>
21: <a href="images/MAD.jpg">
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>
75: <li>[Not written yet]
76: </ul>
77: <p>
78:
1.2 ! deraadt 79: <li>Over ?,??? ports, major robustness and speed improvements in package tools.
1.1 deraadt 80: <li>Many pre-built packages for each architecture:
81: <table border=0 cellspacing=0 cellpadding=2 width="95%">
82: <tr>
83: <td valign="top" width="25%">
84: <ul>
85: <li>i386: 7229
86: <li>sparc64: 6599
87: <li>alpha: 5943
88: </ul></td><td valign=top width="25%"><ul>
1.2 ! deraadt 89: <li>sh: ?
1.1 deraadt 90: <li>amd64: 7181
91: <li>powerpc: 6852
92: </ul></td><td valign=top width="25%"><ul>
93: <li>sparc: 4152
1.2 ! deraadt 94: <li>arm: ?
1.1 deraadt 95: <li>hppa: 6159
96: </ul></td><td valign=top width="25%"><ul>
97: <li>vax: 2199
1.2 ! deraadt 98: <li>mips64: ?
1.1 deraadt 99: <li>mips64el: 5807
100: </ul></td></tr></table>
101: <p>
102:
103: <li>Some highlights:
104: <ul>
105: <li>Gnome 2.32.2 <li>KDE 3.5.10
106: <li>Xfce 4.8.0 <li>MySQL 5.1.54
107: <li>PostgreSQL 9.0.5 <li>Postfix 2.8.4
108: <li>OpenLDAP 2.3.43 and 2.4.25 <li>Mozilla Firefox 3.5.19, 3.6.18 and 5.0
109: <li>Mozilla Thunderbird 5.0 <li>GHC 7.0.4
110: <li>LibreOffice 3.4.1.3 <li>Emacs 21.4, 22.3 and 23.3
111: <li>Vim 7.3.154 <li>PHP 5.2.17 and 5.3.6
112: <li>Python 2.4.6, 2.5.4 and 2.7.1 <li>Ruby 1.8.7.352 and 1.9.2.200
113: <li>Tcl 8.5.9 <li>Jdk 1.7
114: <li>Mono 2.10.2 <li>Chromium 12.0.742.122
115: <li>Groff 1.21
116: </ul>
117: <p>
118:
119: <li>As usual, steady improvements in manual pages and other documentation.
120: <li>Base system and Xenocara manuals are now installed as source code,
121: 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/.
122: <li>If both formatted and source versions of manuals are installed,
123: <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.
124:
125: - The system includes the following major components from outside suppliers:
126: <li>Xenocara (based on X.Org 7.6 with xserver 1.9 + patches,
127: freetype 2.4.5, fontconfig 2.8.0, Mesa 7.8.2, xterm 270,
128: xkeyboard-config 2.3 and more)
129: <li>Gcc 2.95.3 (+ patches), 3.3.5 (+ patches) and 4.2.1 (+patches)
130: <li>Perl 5.12.2 (+ patches)
131: <li>Our improved and secured version of Apache 1.3, with
132: SSL/TLS and DSO support
133: <li>OpenSSL 1.0.0a (+ patches)
134: <li>Sendmail 8.14.5, with libmilter
135: <li>Bind 9.4.2-P2 (+ patches)
136: <li>Lynx 2.8.7rel.2 with HTTPS and IPv6 support (+ patches)
137: <li>Sudo 1.7.2p8
138: <li>Ncurses 5.7
139: <li>Heimdal 0.7.2 (+ patches)
140: <li>Arla 0.35.7
141: <li>Binutils 2.15 (+ patches)
142: <li>Gdb 6.3 (+ patches)
143: </ul>
144:
145: </ul>
146:
147: <a name="install"></a>
148: <hr>
149: <p>
150: <h3><font color="#0000e0">How to install</font></h3>
151: <p>
152: Following this are the instructions which you would have on a piece of
153: paper if you had purchased a CDROM set instead of doing an alternate
154: form of install. The instructions for doing an FTP (or other style
155: of) install are very similar; the CDROM instructions are left intact
156: so that you can see how much easier it would have been if you had
157: purchased a CDROM instead.
158: <p>
159:
160: <hr>
161: Please refer to the following files on the three CDROMs or FTP mirror for
162: extensive details on how to install OpenBSD 5.1 on your machine:
163: <p>
164: <ul>
165: <li>CD1:5.1/i386/INSTALL.i386
166: <p>
167: <li>CD2:5.1/amd64/INSTALL.amd64
168: <li>CD2:5.1/macppc/INSTALL.macppc
169: <p>
170: <li>CD3:5.1/sparc64/INSTALL.sparc64
171: <p>
172: <li>FTP:.../OpenBSD/5.1/alpha/INSTALL.alpha
173: <li>FTP:.../OpenBSD/5.1/armish/INSTALL.armish
174: <li>FTP:.../OpenBSD/5.1/hp300/INSTALL.hp300
175: <li>FTP:.../OpenBSD/5.1/hppa/INSTALL.hppa
176: <li>FTP:.../OpenBSD/5.1/landisk/INSTALL.landisk
177: <li>FTP:.../OpenBSD/5.1/loongson/INSTALL.loongson
178: <li>FTP:.../OpenBSD/5.1/mvme68k/INSTALL.mvme68k
179: <li>FTP:.../OpenBSD/5.1/mvme88k/INSTALL.mvme88k
180: <li>FTP:.../OpenBSD/5.1/sgi/INSTALL.sgi
181: <li>FTP:.../OpenBSD/5.1/socppc/INSTALL.socppc
182: <li>FTP:.../OpenBSD/5.1/sparc/INSTALL.sparc
183: <li>FTP:.../OpenBSD/5.1/vax/INSTALL.vax
184: <li>FTP:.../OpenBSD/5.1/zaurus/INSTALL.zaurus
185: </ul>
186: <hr>
187:
188: <p>
189: Quick installer information for people familiar with OpenBSD, and the
190: use of the "disklabel -E" command. If you are at all confused when
191: installing OpenBSD, read the relevant INSTALL.* file as listed above!
192: <p>
193:
194: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
195: <ul>
196: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
197: release is on CD1. If your BIOS does not support booting from CD, you will need
198: to create a boot floppy to install from. To create a boot floppy write
199: <i>CD1:5.1/i386/floppy51.fs</i> to a floppy and boot via the floppy drive.
200:
201: <p>
202: Use <i>CD1:5.1/i386/floppyB51.fs</i> instead for greater SCSI controller
203: support, or <i>CD1:5.1/i386/floppyC51.fs</i> for better laptop support.
204:
205: <p>
206: If you can't boot from a CD or a floppy disk,
207: you can install across the network using PXE as described in
208: the included INSTALL.i386 document.
209:
210: <p>
211: If you are planning on dual booting OpenBSD with another OS, you will need to
212: read INSTALL.i386.
213:
214: <p>
215: To make a boot floppy under MS-DOS, use the "rawrite" utility located
216: at <i>CD1:5.1/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
217: use the
218: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
219: utility. The following is an example usage of
220: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
221: where the device could be "floppy", "rfd0c", or
222: "rfd0a".
223:
224: <ul><pre>
225: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
226: </pre></ul>
227:
228: <p>
229: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
230: your install will most likely fail. For more information on creating a boot
231: floppy and installing OpenBSD/i386 please refer to
232: <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
233: </ul>
234:
235: <p>
236: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
237: <ul>
238: The 5.1 release of OpenBSD/amd64 is located on CD2.
239: Boot from the CD to begin the install - you may need to adjust
240: your BIOS options first.
241: If you can't boot from the CD, you can create a boot floppy to install from.
242: To do this, write <i>CD2:5.1/amd64/floppy51.fs</i> to a floppy, then
243: boot from the floppy drive.
244:
245: <p>
246: If you can't boot from a CD or a floppy disk,
247: you can install across the network using PXE as described in the included
248: INSTALL.amd64 document.
249:
250: <p>
251: If you are planning to dual boot OpenBSD with another OS, you will need to
252: read INSTALL.amd64.
253: </ul>
254:
255: <p>
256: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
257: <ul>
258: Put CD2 in your CDROM drive and poweron your machine while holding down the
259: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
260:
261: <p>
262: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
263: /5.1/macppc/bsd.rd</i>
264: </ul>
265:
266: <p>
267: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
268: <ul>
269: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
270:
271: <p>
272: If this doesn't work, or if you don't have a CDROM drive, you can write
273: <i>CD3:5.1/sparc64/floppy51.fs</i> or <i>CD3:5.1/sparc64/floppyB51.fs</i>
274: (depending on your machine) to a floppy and boot it with <i>boot
275: floppy</i>. Refer to INSTALL.sparc64 for details.
276:
277: <p>
278: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
279: will most likely fail.
280:
281: <p>
282: You can also write <i>CD3:5.1/sparc64/miniroot51.fs</i> to the swap partition on
283: the disk and boot with <i>boot disk:b</i>.
284:
285: <p>
286: If nothing works, you can boot over the network as described in INSTALL.sparc64.
287: </ul>
288:
289: <p>
290: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
291: <ul>
292: <p>Write <i>FTP:5.1/alpha/floppy51.fs</i> or
293: <i>FTP:5.1/alpha/floppyB51.fs</i> (depending on your machine) to a diskette and
294: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
295:
296: <p>
297: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
298: will most likely fail.
299:
300: </ul>
301:
302: <p>
303: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
304: <ul>
305: <p>
306: After connecting a serial port, Thecus can boot directly from the network
307: either tftp or http. Configure the network using fconfig, reset,
308: then load bsd.rd, see INSTALL.armish for specific details.
309: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
310: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
311: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
312: More details are available in INSTALL.armish.
313: </ul>
314:
315: <p>
316: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
317: <ul>
318: <p>
319: Boot over the network by following the instructions in INSTALL.hp300.
320: </ul>
321:
322: <p>
323: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
324: <ul>
325: <p>
326: Boot over the network by following the instructions in INSTALL.hppa or the
327: <a href="hppa.html#install">hppa platform page</a>.
328: </ul>
329:
330: <p>
331: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
332: <ul>
333: <p>
334: Write <i>miniroot51.fs</i> to the start of the CF
335: or disk, and boot normally.
336: </ul>
337:
338: <p>
339: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
340: <ul>
341: <p>
342: Write <i>miniroot51.fs</i> to a USB stick and boot bsd.rd from it
343: or boot bsd.rd via tftp.
344: Refer to the instructions in INSTALL.loongson for more details.
345: </ul>
346: <p>
347:
348: <p>
349: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
350: <ul>
351: <p>
352: You can create a bootable installation tape or boot over the network.<br>
353: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
354: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
355: for more details.
356: </ul>
357:
358: <p>
359: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
360: <ul>
361: <p>
362: You can create a bootable installation tape or boot over the network.<br>
363: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
364: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
365: for more details.
366: </ul>
367:
368: <p>
369: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
370: <ul>
371: <p>
372: To install on an O2, burn cd51.iso on a CD-R, put it in the CD drive of your
373: machine and select <i>Install System Software</i> from the System Maintenance
374: menu.
375:
376: <p>
377: On other systems, or if your machine doesn't have a CD drive, you can
378: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd.IP##" using
379: the kernel matching your system type.
380: Refer to the instructions in INSTALL.sgi for more details.
381: </ul>
382:
383: <p>
384: <h3><font color="#e00000">OpenBSD/socppc:</font></h3>
385: <ul>
386: <p>
387: After connecting a serial port, boot over the network via DHCP/tftp.
388: Refer to the instructions in INSTALL.socppc for more details.
389: </ul>
390:
391: <p>
392: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
393: <ul>
394: Boot from one of the provided install ISO images, using one of the two
395: commands listed below, depending on the version of your ROM.
396:
397: <ul><pre>
398: ok <strong>boot cdrom 5.1/sparc/bsd.rd</strong>
399: or
400: > <strong>b sd(0,6,0)5.1/sparc/bsd.rd</strong>
401: </pre></ul>
402:
403: <p>
404: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
405: To do so you need to write <i>floppy51.fs</i> to a floppy.
406: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
407: To boot from the floppy use one of the two commands listed below,
408: depending on the version of your ROM.
409:
410: <ul><pre>
411: ok <strong>boot floppy</strong>
412: or
413: > <strong>b fd()</strong>
414: </pre></ul>
415:
416: <p>
417: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
418: will most likely fail.
419:
420: <p>
421: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
422: setup a bootable tape, or install via network, as told in the
423: INSTALL.sparc file.
424: </ul>
425:
426: <p>
427: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
428: <ul>
429: Boot over the network via mopbooting as described in INSTALL.vax.
430: </ul>
431:
432: <p>
433: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
434: <ul>
435: <p>
436: Using the Linux built-in graphical ipkg installer, install the
437: openbsd51_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
438: for a few important details.
439: </ul>
440:
441: <p>
442: <h3><font color="#e00000">Notes about the source code:</font></h3>
443: <ul>
444: src.tar.gz contains a source archive starting at /usr/src. This file
445: contains everything you need except for the kernel sources, which are
446: in a separate archive. To extract:
447: <p>
448: <ul><pre>
449: # <strong>mkdir -p /usr/src</strong>
450: # <strong>cd /usr/src</strong>
451: # <strong>tar xvfz /tmp/src.tar.gz</strong>
452: </pre></ul>
453: <p>
454: sys.tar.gz contains a source archive starting at /usr/src/sys.
455: This file contains all the kernel sources you need to rebuild kernels.
456: To extract:
457: <p>
458: <ul><pre>
459: # <strong>mkdir -p /usr/src/sys</strong>
460: # <strong>cd /usr/src</strong>
461: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
462: </pre></ul>
463: <p>
464: Both of these trees are a regular CVS checkout. Using these trees it
465: is possible to get a head-start on using the anoncvs servers as
466: described <a href="anoncvs.html">here</a>.
467: Using these files
468: results in a much faster initial CVS update than you could expect from
469: a fresh checkout of the full OpenBSD source tree.
470: <p>
471: </ul>
472:
473: <a name="upgrade"></a>
474: <hr>
475: <p>
476: <h3><font color="#0000e0">How to upgrade</font></h3>
477: <p>
1.2 ! deraadt 478: If you already have an OpenBSD 5.0 system, and do not want to reinstall,
1.1 deraadt 479: upgrade instructions and advice can be found in the
480: <a href="faq/upgrade51.html">Upgrade Guide</a>.
481:
482: <a name="ports"></a>
483: <hr>
484: <p>
485: <h3><font color="#0000e0">Ports Tree</font></h3>
486: <p>
487: A ports tree archive is also provided. To extract:
488: <p>
489: <ul><pre>
490: # <strong>cd /usr</strong>
491: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
492: # <strong>cd ports</strong>
493: </pre></ul>
494: <p>
495: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
496: read the <a href="faq/ports/index.html">ports</a> page
497: if you know nothing about ports
498: at this point. This text is not a manual of how to use ports.
499: Rather, it is a set of notes meant to kickstart the user on the
500: OpenBSD ports system.
501: <p>
502: The <i>ports/</i> directory represents a CVS (see the manpage for
503: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386">
504: cvs(1)</a> if
505: you aren't familiar with CVS) checkout of our ports. As with our complete
506: source tree, our ports tree is available via anoncvs. So, in
507: order to keep current with it, you must make the <i>ports/</i> tree
508: available on a read-write medium and update the tree with a command
509: like:
510: <p>
511: <ul><pre>
1.2 ! deraadt 512: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_1</strong>
1.1 deraadt 513: </pre></ul>
514: <p>
515: [Of course, you must replace the local directory and server name here
516: with the location of your ports collection and a nearby anoncvs
517: server.]
518: <p>
519: Note that most ports are available as packages through FTP. Updated
520: packages for the 5.1 release will be made available if problems arise.
521: <p>
522: If you're interested in seeing a port added, would like to help out, or just
523: would like to know more, the mailing list ports@openbsd.org is a good
524: place to know.
525: <p>
526:
527: <hr>
528: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
529: alt="OpenBSD"></a>
530: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
531: <br><small>
1.2 ! deraadt 532: $OpenBSD: 51.html,v 1.1 2012/03/13 21:01:34 deraadt Exp $
1.1 deraadt 533: </small>
534:
535: </body>
536: </html>