Annotation of www/51.html, Revision 1.16
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.4 deraadt 84: </ul>
1.3 guenther 85: <p>
86:
87: <li>Generic network stack improvements:
88: <ul>
1.10 sthen 89: <li>NAT64 support in PF using the af-to keyword.
1.7 sthen 90: <li>RFC4638 MTU negotiation for pppoe(4).
91: <li>pflow(4) now supports Netflow v9/ipfix.
92: <li>Improved IPv6 fragment checking in PF and the network stack.
1.16 ! deraadt 93: <li>Various enhancements with ICMP/ICMPv6 states in pf(4).
1.7 sthen 94: <li>Many robustness improvements for IEEE 802.11 (particularly hostap).
95: <li>pfsync(4) improvements including jumbo frames and automatically requesting a bulk update after a physical interface comes online.
1.16 ! deraadt 96: <li>One-shot rule support for pf(4), for use with proxies via anchors.
1.7 sthen 97: <li>Improved vlan priority support, including mapping to interface queues.
1.13 sperreau 98: <li>Initial rdomains support for IPv6.
1.4 deraadt 99: </ul>
1.3 guenther 100: <p>
101: <li>Routing daemons and other userland network improvements:
102: <ul>
1.16 ! deraadt 103: <li>fstat(8) now displays routing table ID and socket-splicing information and ps can display routing table ID.
! 104: <li>traceroute(8) and traceroute6(8) can look up ASNs for each hop.
1.7 sthen 105: <li>snmpd(8) adds a MIB to show statistics for carp(4) interfaces.
1.16 ! deraadt 106: <li>bgpctl(8) parses and display MRT routing table dumps.
! 107: <li>ntpd(8) supports multiple rdomains.
! 108: <li>When ospfd(8) detects route socket overflow, it now delays before
! 109: it reloads the fib.
! 110: <li>Improved and more consistent ToS support in various network tools
! 111: (tcpbench(8), nc(8), ping(8), traceroute(8)).
1.3 guenther 112: <li>[Not written yet]
1.4 deraadt 113: </ul>
1.3 guenther 114: <p>
1.4 deraadt 115:
1.3 guenther 116: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a> improvements:
117: <ul>
118: <li>[Not written yet]
1.4 deraadt 119: </ul>
1.3 guenther 120: <p>
121: <li>SCSI improvements:
122: <ul>
123: <li>[Not written yet]
1.4 deraadt 124: </ul>
1.3 guenther 125: <p>
1.11 espie 126: <li>Assorted improvements:
127: <ul>
128: <li>Improved locale support.
129: <li>Support for MSG_NOSIGNAL
1.16 ! deraadt 130: <li>KERN_PROC_CWD sysctl(3) for fetching the path to a process's working directory.
! 131: <li>Improved fnmatch(3), glob(3), and regcomp(3) implementations to resist
! 132: DoS attacks.
1.11 espie 133: <li>Lots of HISTORY and AUTHORS information added to manpages.
134: <li>Improved checking of file-offset wraparound.
1.16 ! deraadt 135: <li>pwrite(2)/pwritev(2) now correctly by ignored O_APPEND.
1.11 espie 136: <li>Improved conformance of header files with standards.
137: <li>Improved cancelation support in both user-threads (libpthread) and rthreads.
1.16 ! deraadt 138: <li>Improved correctness of execing, coredumping, signal delivery,
! 139: alternate signal stacks, blocking socket accepts(), mutexes and
! 140: condition variables, per-thread errno, symbol binding, and
! 141: ktracing when rthreads are in use.
! 142: <li>Architecture-independent kernel support for thread-control-block
! 143: handling for rthreads.
1.11 espie 144: <li>Small improvements to Linux compat (only available on i386).
145: </ul>
146: <p>
147: <li>Over 7,000 ports, major performance and stability improvements in
148: the package build process
1.8 espie 149: <ul>
1.16 ! deraadt 150: <li>Downloading of distfiles is simpler, can resume interrupted download,
1.8 espie 151: discover file moves, and expire old files. Distfiles mirror sites now use
152: the new and improved method.
1.16 ! deraadt 153: <li>Dependency handling during ports build and package creation is at least
1.8 espie 154: twice as fast, twenty times as fast in pathological cases. This also affects
155: user scripts such as out-of-date
1.16 ! deraadt 156: <li>More checks are done during package builds, for increased user friendliness
! 157: <li>The long term process of documenting the infrastructure is now 100% done.
1.8 espie 158: <li>The distributed ports builder (dpb) can now clean up old dependencies,
159: thus helping package builds be more reproducible.
160: This found tens of hidden build dependencies in the ports tree already.
1.16 ! deraadt 161: <li>The semantics of pkg_add -a have been nailed down and a few minor bugs
1.8 espie 162: have been fixed.
1.16 ! deraadt 163: <li>The arch-dependent issues are better classified, leading to better builds on
1.8 espie 164: old architectures in some complicated cases. In particular, dpb explicitly
165: purges from memory info about packages it cannot build and stuff that
166: depends on it, leading to better life on sparc and vax which have very
167: small data-size limits.
168: <li>dpb recognizes full builds and trims some duplicate package builds
169: </ul>
170: <p>
1.1 deraadt 171: <li>Many pre-built packages for each architecture:
172: <table border=0 cellspacing=0 cellpadding=2 width="95%">
173: <tr>
174: <td valign="top" width="25%">
175: <ul>
176: <li>i386: 7229
177: <li>sparc64: 6599
178: <li>alpha: 5943
179: </ul></td><td valign=top width="25%"><ul>
1.2 deraadt 180: <li>sh: ?
1.1 deraadt 181: <li>amd64: 7181
182: <li>powerpc: 6852
183: </ul></td><td valign=top width="25%"><ul>
184: <li>sparc: 4152
1.2 deraadt 185: <li>arm: ?
1.1 deraadt 186: <li>hppa: 6159
187: </ul></td><td valign=top width="25%"><ul>
188: <li>vax: 2199
1.15 deraadt 189: <li>mips64: 5785
1.1 deraadt 190: <li>mips64el: 5807
191: </ul></td></tr></table>
192: <p>
193:
194: <li>Some highlights:
195: <ul>
196: <li>Gnome 2.32.2 <li>KDE 3.5.10
197: <li>Xfce 4.8.0 <li>MySQL 5.1.54
198: <li>PostgreSQL 9.0.5 <li>Postfix 2.8.4
199: <li>OpenLDAP 2.3.43 and 2.4.25 <li>Mozilla Firefox 3.5.19, 3.6.18 and 5.0
200: <li>Mozilla Thunderbird 5.0 <li>GHC 7.0.4
201: <li>LibreOffice 3.4.1.3 <li>Emacs 21.4, 22.3 and 23.3
202: <li>Vim 7.3.154 <li>PHP 5.2.17 and 5.3.6
203: <li>Python 2.4.6, 2.5.4 and 2.7.1 <li>Ruby 1.8.7.352 and 1.9.2.200
204: <li>Tcl 8.5.9 <li>Jdk 1.7
205: <li>Mono 2.10.2 <li>Chromium 12.0.742.122
206: <li>Groff 1.21
207: </ul>
208: <p>
209:
210: <li>As usual, steady improvements in manual pages and other documentation.
211: <li>Base system and Xenocara manuals are now installed as source code,
212: 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/.
213: <li>If both formatted and source versions of manuals are installed,
214: <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.
215:
216: - The system includes the following major components from outside suppliers:
1.6 matthieu 217: <li>Xenocara (based on X.Org 7.6 with xserver 1.11.4 + patches,
218: freetype 2.4.8, fontconfig 2.8.0, Mesa 7.10.3, xterm 276,
219: xkeyboard-config 2.5 and more)
1.1 deraadt 220: <li>Gcc 2.95.3 (+ patches), 3.3.5 (+ patches) and 4.2.1 (+patches)
221: <li>Perl 5.12.2 (+ patches)
222: <li>Our improved and secured version of Apache 1.3, with
223: SSL/TLS and DSO support
224: <li>OpenSSL 1.0.0a (+ patches)
225: <li>Sendmail 8.14.5, with libmilter
226: <li>Bind 9.4.2-P2 (+ patches)
227: <li>Lynx 2.8.7rel.2 with HTTPS and IPv6 support (+ patches)
228: <li>Sudo 1.7.2p8
229: <li>Ncurses 5.7
230: <li>Heimdal 0.7.2 (+ patches)
231: <li>Arla 0.35.7
232: <li>Binutils 2.15 (+ patches)
233: <li>Gdb 6.3 (+ patches)
234: </ul>
235:
236: </ul>
237:
238: <a name="install"></a>
239: <hr>
240: <p>
241: <h3><font color="#0000e0">How to install</font></h3>
242: <p>
243: Following this are the instructions which you would have on a piece of
244: paper if you had purchased a CDROM set instead of doing an alternate
245: form of install. The instructions for doing an FTP (or other style
246: of) install are very similar; the CDROM instructions are left intact
247: so that you can see how much easier it would have been if you had
248: purchased a CDROM instead.
249: <p>
250:
251: <hr>
252: Please refer to the following files on the three CDROMs or FTP mirror for
253: extensive details on how to install OpenBSD 5.1 on your machine:
254: <p>
255: <ul>
256: <li>CD1:5.1/i386/INSTALL.i386
257: <p>
258: <li>CD2:5.1/amd64/INSTALL.amd64
259: <li>CD2:5.1/macppc/INSTALL.macppc
260: <p>
261: <li>CD3:5.1/sparc64/INSTALL.sparc64
262: <p>
263: <li>FTP:.../OpenBSD/5.1/alpha/INSTALL.alpha
264: <li>FTP:.../OpenBSD/5.1/armish/INSTALL.armish
265: <li>FTP:.../OpenBSD/5.1/hp300/INSTALL.hp300
266: <li>FTP:.../OpenBSD/5.1/hppa/INSTALL.hppa
267: <li>FTP:.../OpenBSD/5.1/landisk/INSTALL.landisk
268: <li>FTP:.../OpenBSD/5.1/loongson/INSTALL.loongson
1.14 miod 269: <li>FTP:.../OpenBSD/5.1/luna88k/INSTALL.luna88k
1.1 deraadt 270: <li>FTP:.../OpenBSD/5.1/mvme68k/INSTALL.mvme68k
271: <li>FTP:.../OpenBSD/5.1/mvme88k/INSTALL.mvme88k
272: <li>FTP:.../OpenBSD/5.1/sgi/INSTALL.sgi
273: <li>FTP:.../OpenBSD/5.1/socppc/INSTALL.socppc
274: <li>FTP:.../OpenBSD/5.1/sparc/INSTALL.sparc
275: <li>FTP:.../OpenBSD/5.1/vax/INSTALL.vax
276: <li>FTP:.../OpenBSD/5.1/zaurus/INSTALL.zaurus
277: </ul>
278: <hr>
279:
280: <p>
281: Quick installer information for people familiar with OpenBSD, and the
282: use of the "disklabel -E" command. If you are at all confused when
283: installing OpenBSD, read the relevant INSTALL.* file as listed above!
284: <p>
285:
286: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
287: <ul>
288: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
289: release is on CD1. If your BIOS does not support booting from CD, you will need
290: to create a boot floppy to install from. To create a boot floppy write
291: <i>CD1:5.1/i386/floppy51.fs</i> to a floppy and boot via the floppy drive.
292:
293: <p>
294: Use <i>CD1:5.1/i386/floppyB51.fs</i> instead for greater SCSI controller
295: support, or <i>CD1:5.1/i386/floppyC51.fs</i> for better laptop support.
296:
297: <p>
298: If you can't boot from a CD or a floppy disk,
299: you can install across the network using PXE as described in
300: the included INSTALL.i386 document.
301:
302: <p>
303: If you are planning on dual booting OpenBSD with another OS, you will need to
304: read INSTALL.i386.
305:
306: <p>
307: To make a boot floppy under MS-DOS, use the "rawrite" utility located
308: at <i>CD1:5.1/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
309: use the
310: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
311: utility. The following is an example usage of
312: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
313: where the device could be "floppy", "rfd0c", or
314: "rfd0a".
315:
316: <ul><pre>
317: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
318: </pre></ul>
319:
320: <p>
321: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
322: your install will most likely fail. For more information on creating a boot
323: floppy and installing OpenBSD/i386 please refer to
324: <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
325: </ul>
326:
327: <p>
328: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
329: <ul>
330: The 5.1 release of OpenBSD/amd64 is located on CD2.
331: Boot from the CD to begin the install - you may need to adjust
332: your BIOS options first.
333: If you can't boot from the CD, you can create a boot floppy to install from.
334: To do this, write <i>CD2:5.1/amd64/floppy51.fs</i> to a floppy, then
335: boot from the floppy drive.
336:
337: <p>
338: If you can't boot from a CD or a floppy disk,
339: you can install across the network using PXE as described in the included
340: INSTALL.amd64 document.
341:
342: <p>
343: If you are planning to dual boot OpenBSD with another OS, you will need to
344: read INSTALL.amd64.
345: </ul>
346:
347: <p>
348: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
349: <ul>
350: Put CD2 in your CDROM drive and poweron your machine while holding down the
351: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
352:
353: <p>
354: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
355: /5.1/macppc/bsd.rd</i>
356: </ul>
357:
358: <p>
359: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
360: <ul>
361: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
362:
363: <p>
364: If this doesn't work, or if you don't have a CDROM drive, you can write
365: <i>CD3:5.1/sparc64/floppy51.fs</i> or <i>CD3:5.1/sparc64/floppyB51.fs</i>
366: (depending on your machine) to a floppy and boot it with <i>boot
367: floppy</i>. Refer to INSTALL.sparc64 for details.
368:
369: <p>
370: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
371: will most likely fail.
372:
373: <p>
374: You can also write <i>CD3:5.1/sparc64/miniroot51.fs</i> to the swap partition on
375: the disk and boot with <i>boot disk:b</i>.
376:
377: <p>
378: If nothing works, you can boot over the network as described in INSTALL.sparc64.
379: </ul>
380:
381: <p>
382: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
383: <ul>
384: <p>Write <i>FTP:5.1/alpha/floppy51.fs</i> or
385: <i>FTP:5.1/alpha/floppyB51.fs</i> (depending on your machine) to a diskette and
386: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
387:
388: <p>
389: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
390: will most likely fail.
391:
392: </ul>
393:
394: <p>
395: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
396: <ul>
397: <p>
398: After connecting a serial port, Thecus can boot directly from the network
399: either tftp or http. Configure the network using fconfig, reset,
400: then load bsd.rd, see INSTALL.armish for specific details.
401: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
402: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
403: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
404: More details are available in INSTALL.armish.
405: </ul>
406:
407: <p>
408: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
409: <ul>
410: <p>
411: Boot over the network by following the instructions in INSTALL.hp300.
412: </ul>
413:
414: <p>
415: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
416: <ul>
417: <p>
418: Boot over the network by following the instructions in INSTALL.hppa or the
419: <a href="hppa.html#install">hppa platform page</a>.
420: </ul>
421:
422: <p>
423: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
424: <ul>
425: <p>
426: Write <i>miniroot51.fs</i> to the start of the CF
427: or disk, and boot normally.
428: </ul>
429:
430: <p>
431: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
432: <ul>
433: <p>
434: Write <i>miniroot51.fs</i> to a USB stick and boot bsd.rd from it
435: or boot bsd.rd via tftp.
436: Refer to the instructions in INSTALL.loongson for more details.
437: </ul>
438: <p>
439:
440: <p>
1.14 miod 441: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
442: <ul>
443: <p>
444: Copy bsd.rd to a Mach or UniOS partition, and boot it from the PROM.
445: Alternatively, you can create a bootable tape and boot from it. Refer to
446: the instructions in INSTALL.luna88k for more details.
447: </ul>
448:
449: <p>
1.1 deraadt 450: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
451: <ul>
452: <p>
453: You can create a bootable installation tape or boot over the network.<br>
454: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
455: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
456: for more details.
457: </ul>
458:
459: <p>
460: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
461: <ul>
462: <p>
463: You can create a bootable installation tape or boot over the network.<br>
464: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
465: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
466: for more details.
467: </ul>
468:
469: <p>
470: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
471: <ul>
472: <p>
473: To install on an O2, burn cd51.iso on a CD-R, put it in the CD drive of your
474: machine and select <i>Install System Software</i> from the System Maintenance
475: menu.
476:
477: <p>
478: On other systems, or if your machine doesn't have a CD drive, you can
479: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd.IP##" using
480: the kernel matching your system type.
481: Refer to the instructions in INSTALL.sgi for more details.
482: </ul>
483:
484: <p>
485: <h3><font color="#e00000">OpenBSD/socppc:</font></h3>
486: <ul>
487: <p>
488: After connecting a serial port, boot over the network via DHCP/tftp.
489: Refer to the instructions in INSTALL.socppc for more details.
490: </ul>
491:
492: <p>
493: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
494: <ul>
495: Boot from one of the provided install ISO images, using one of the two
496: commands listed below, depending on the version of your ROM.
497:
498: <ul><pre>
499: ok <strong>boot cdrom 5.1/sparc/bsd.rd</strong>
500: or
501: > <strong>b sd(0,6,0)5.1/sparc/bsd.rd</strong>
502: </pre></ul>
503:
504: <p>
505: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
506: To do so you need to write <i>floppy51.fs</i> to a floppy.
507: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
508: To boot from the floppy use one of the two commands listed below,
509: depending on the version of your ROM.
510:
511: <ul><pre>
512: ok <strong>boot floppy</strong>
513: or
514: > <strong>b fd()</strong>
515: </pre></ul>
516:
517: <p>
518: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
519: will most likely fail.
520:
521: <p>
522: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
523: setup a bootable tape, or install via network, as told in the
524: INSTALL.sparc file.
525: </ul>
526:
527: <p>
528: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
529: <ul>
530: Boot over the network via mopbooting as described in INSTALL.vax.
531: </ul>
532:
533: <p>
534: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
535: <ul>
536: <p>
537: Using the Linux built-in graphical ipkg installer, install the
538: openbsd51_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
539: for a few important details.
540: </ul>
541:
542: <p>
543: <h3><font color="#e00000">Notes about the source code:</font></h3>
544: <ul>
545: src.tar.gz contains a source archive starting at /usr/src. This file
546: contains everything you need except for the kernel sources, which are
547: in a separate archive. To extract:
548: <p>
549: <ul><pre>
550: # <strong>mkdir -p /usr/src</strong>
551: # <strong>cd /usr/src</strong>
552: # <strong>tar xvfz /tmp/src.tar.gz</strong>
553: </pre></ul>
554: <p>
555: sys.tar.gz contains a source archive starting at /usr/src/sys.
556: This file contains all the kernel sources you need to rebuild kernels.
557: To extract:
558: <p>
559: <ul><pre>
560: # <strong>mkdir -p /usr/src/sys</strong>
561: # <strong>cd /usr/src</strong>
562: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
563: </pre></ul>
564: <p>
565: Both of these trees are a regular CVS checkout. Using these trees it
566: is possible to get a head-start on using the anoncvs servers as
567: described <a href="anoncvs.html">here</a>.
568: Using these files
569: results in a much faster initial CVS update than you could expect from
570: a fresh checkout of the full OpenBSD source tree.
571: <p>
572: </ul>
573:
574: <a name="upgrade"></a>
575: <hr>
576: <p>
577: <h3><font color="#0000e0">How to upgrade</font></h3>
578: <p>
1.2 deraadt 579: If you already have an OpenBSD 5.0 system, and do not want to reinstall,
1.1 deraadt 580: upgrade instructions and advice can be found in the
581: <a href="faq/upgrade51.html">Upgrade Guide</a>.
582:
583: <a name="ports"></a>
584: <hr>
585: <p>
586: <h3><font color="#0000e0">Ports Tree</font></h3>
587: <p>
588: A ports tree archive is also provided. To extract:
589: <p>
590: <ul><pre>
591: # <strong>cd /usr</strong>
592: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
593: # <strong>cd ports</strong>
594: </pre></ul>
595: <p>
596: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
597: read the <a href="faq/ports/index.html">ports</a> page
598: if you know nothing about ports
599: at this point. This text is not a manual of how to use ports.
600: Rather, it is a set of notes meant to kickstart the user on the
601: OpenBSD ports system.
602: <p>
603: The <i>ports/</i> directory represents a CVS (see the manpage for
604: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386">
605: cvs(1)</a> if
606: you aren't familiar with CVS) checkout of our ports. As with our complete
607: source tree, our ports tree is available via anoncvs. So, in
608: order to keep current with it, you must make the <i>ports/</i> tree
609: available on a read-write medium and update the tree with a command
610: like:
611: <p>
612: <ul><pre>
1.2 deraadt 613: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_1</strong>
1.1 deraadt 614: </pre></ul>
615: <p>
616: [Of course, you must replace the local directory and server name here
617: with the location of your ports collection and a nearby anoncvs
618: server.]
619: <p>
620: Note that most ports are available as packages through FTP. Updated
621: packages for the 5.1 release will be made available if problems arise.
622: <p>
623: If you're interested in seeing a port added, would like to help out, or just
624: would like to know more, the mailing list ports@openbsd.org is a good
625: place to know.
626: <p>
627:
628: <hr>
629: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
630: alt="OpenBSD"></a>
631: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
632: <br><small>
1.16 ! deraadt 633: $OpenBSD: 51.html,v 1.15 2012/03/23 01:13:07 deraadt Exp $
1.1 deraadt 634: </small>
635:
636: </body>
637: </html>