Annotation of www/49.html, Revision 1.12
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 4.9 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 4.9>
9: <meta name="keywords" content="openbsd,main">
10: <meta name="distribution" content="global">
1.3 deraadt 11: <meta name="copyright" content="This document copyright 2011 by OpenBSD.">
1.1 deraadt 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/Hitchhiker.jpg">
22: <img align="left" width="227" height="343" hspace="24" vspace="30"
23: src="images/Hitchhiker.jpg" alt="OpenBSD 4.9 logo"></a>
24: <h2><font color="#0000e0">The OpenBSD 4.9 Release:</font></h2>
25: <p>
26: Released May 1, 2011<br>
27: Copyright 1997-2011, Theo de Raadt.<br>
28: <font color="#e00000">ISBN 978-0-9784475-7-1</font>
29: <br>
30: <a href="lyrics.html#49">4.9 Song: "The Answer"</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>Pre-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/4.9/</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="errata49.html">The 4.9 Errata page</a> for a list
50: of bugs and workarounds.
51: <li>See a <a href="plus49.html">detailed log of changes</a> between the
52: 4.8 and 4.9 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 4.9.
70: For a comprehensive list, see the <a href="plus49.html">changelog</a> leading
71: to 4.9.
72: <p>
73:
74: <ul>
75:
1.3 deraadt 76: <li>New/extended platforms:
77: <ul>
78: <li>i386 and amd64:
79: <ul>
1.11 jj 80: <li>Enabled the NTFS by default on GENERIC kernels.
81: <li>Added a <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=vmt&sektion=4&format=html">vmt(4)</a> driver for VMWare tools support as a guest.
82: <li>SMP kernels can now boot on machines with up to 64 cores.
83: <li>Maximum allocation size for i386 bumped to 2G.
1.3 deraadt 84: </ul>
85: <li>sparc64:
86: <ul>
87: <li>Support the virtual disk procotol on sun4v machines well enough
88: to install them from from virtual cdroms.
1.11 jj 89: <li>Added support for the XVR-300 graphics card.
1.3 deraadt 90: </ul>
91: <li>hppa:
92: <ul>
93: <li>Multiprocessor support.
94: </ul>
95: <li>...
96: <ul>
97: <li>...
98: </ul>
99: <li>...
100: <ul>
101: <li>...
102: </ul>
103: </ul>
104: <p>
105:
106: <li>Improved hardware support, including:
107: <ul>
1.9 kevlo 108: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=vte&sektion=4&format=html">vte(4)</a>
109: driver for RDC R6040 10/100 Ethernet devices.</li>
1.10 jsg 110: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rdcphy&sektion=4&format=html">rdcphy(4)</a>
111: driver for RDC Semiconductor R6040 10/100 Ethernet PHY.
112: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rsu&sektion=4&format=html">rsu(4)</a>
113: driver for Realtek RTL8188SU/RTL8192SU USB IEEE 802.11b/g/n.
114: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=urtwn&sektion=4&format=html">urtwn(4)</a>
115: driver for Realtek RTL8188CU/RTL8192CU USB IEEE 802.11b/g/n.
116: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=utwitch&sektion=4&format=html">utwitch(4)</a>
117: driver for YUREX USB twitch/jiggle of knee sensor.
118: <li>Support for AR9271, AR9280+AR7010 and AR9287+AR7010 USB IEEE 802.11a/g/n
119: adapters has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=athn&sektion=4&format=html">athn(4)</a>.
120: <li>Support for 82583V
121: has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=em&sektion=4">em(4)</a>.
122: <li>Support for Yukon 88E8059
123: has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=msk&sektion=4">msk(4)</a>.
124: <li>Support for SiS191
125: has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=se&sektion=4">se(4)</a>.
126: <li>Support for SAS2004
127: has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mpii&sektion=4">mpii(4)</a>.
128: <li>Support for NVIDIA MCP89 SATA
129: has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pciide&sektion=4">pciide(4)</a>.
130: <li>Suppport for Mobility Radeon HD 4200
131: has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=radeondrm&sektion=4">radeondrm(4)</a>.
1.3 deraadt 132: </ul>
133: <p>
134:
135: <li>Generic network stack improvements:
136: <ul>
1.7 dlg 137: <li>Reworking of the MCLGETI livelock algorithm to improve
138: forwarding and host performance under high network load.</li>
1.11 jj 139: <li>Added support for socket splicing.
140: <li>Added AES-GMAC support for IPSec.
1.3 deraadt 141: </ul>
142: <p>
143:
144: <li>SCSI improvements:
145: <ul>
1.6 dlg 146: <li>Improved safety when detaching SCSI devices by waiting for
147: the completion of pending commands.</li>
148: <li>Improved hotplug support on mpi(4), mpii(4).</li>
149: <li>Continued iopoolification of SCSI drivers, notably on
150: umass(4) which improves the reliability and performance of
151: multi-LUN devices.</li>
1.11 jj 152: <li>Added vscsi(4), a driver for userland handling of scsi device commands.
153: <li>Added iscsid(8), an iSCSI initiator.
1.3 deraadt 154: </ul>
155: <p>
156:
157: <li>Assorted improvements:
158: <ul>
1.11 jj 159: <li>Enabled wide character support in ncurses(3).
160: <li>Added nsd(8), an authoritative name server implementation.
1.3 deraadt 161: </ul>
162: <p>
163:
164: <li>Install/Upgrade process changes:
165: <ul>
1.8 deraadt 166: <li>Fixed the hppa CD installation process.
167: <li>Added some more free firmwares to the CD media that could fit them.
168: <li>Make the macppc upgrade script update the boot blocks (oddly, this
169: had been broken a very long time and noone noticed).
170: <li>Teach the install script about the configuration of 802.11 interfaces.
171: Visible networks can be listed, and even configured for WPA.
172: <li>The install script now passes collected entropy better to the
173: system which is booted next.
1.11 jj 174: <li>Installer now defaults to not checking non-root filesystems
1.3 deraadt 175: </ul>
176: <p>
177:
1.12 ! ajacouto 178: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rc.d&sektion=8">rc.d(8)</a>
! 179: for starting, stopping and reconfiguring package daemons:
! 180: <ul>
! 181: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rc.subr&sektion=8">rc.subr(8)</a>
! 182: framework allows for easy creation of rc scripts.
! 183: This framework is still evolving.
! 184: <li>Only a handful of packages have migrated for now.
! 185: <li>rc.local can still be used instead of or in addition to
! 186: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rc.d&sektion=8">rc.d(8)</a>.
! 187: </ul>
! 188: <p>
! 189:
1.4 sobrado 190: <li>OpenSSH 5.8:
1.3 deraadt 191: <ul>
192: <li>New features:
1.4 sobrado 193: <ul>
194: <li>Implement Elliptic Curve Cryptography modes for key exchange (ECDH)
195: and host/user keys (ECDSA) as specified by RFC5656. ECDH and ECDSA
196: offer better performance than plain DH and DSA at the same
197: equivalent symmetric key length, as well as much shorter keys.</li>
198: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp&sektion=1">sftp(1)</a>
199: and
200: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp-server&sektion=8">sftp-server(8)</a>:
201: add a protocol extension to support a hard link operation. It is
202: available through the "ln" command in the client. The old "ln"
203: behaviour of creating a symlink is available using its "-s" option
204: or through the preexisting "symlink" command.</li>
205: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=scp&sektion=1">scp(1)</a>:
206: Add a new -3 option to scp: Copies between two remote hosts are
207: transferred through the local host. Without this option the data is
208: copied directly between the two remote hosts.</li>
209: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>:
210: automatically order the hostkeys requested by the client based on
211: which hostkeys are already recorded in known_hosts. This avoids
212: hostkey warnings when connecting to servers with new ECDSA keys,
213: since these are now preferred when learning hostkeys for the first
214: time.</li>
215: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
216: and
217: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
218: add a new IPQoS option to specify arbitrary TOS/DSCP/QoS values
219: instead of hardcoding lowdelay/throughput. (bz#1733)</li>
220: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp&sektion=1">sftp(1)</a>:
221: the sftp client is now significantly faster at performing directory
222: listings, using OpenBSD glob(3) extensions to preserve the results
223: of stat(3) operations performed in the course of its execution
224: rather than performing expensive round trips to fetch them again
225: afterwards.</li>
226: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>:
227: "atomically" create the listening mux socket by binding it on a
228: temporary name and then linking it into position after listen() has
229: succeeded. This allows the mux clients to determine that the server
230: socket is either ready or stale without races. Stale server sockets
231: are now automatically removed. (also fixes bz#1711)</li>
232: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
233: and
234: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
235: add a <em>KexAlgorithms</em> knob to the client and server
236: configuration to allow selection of which key exchange methods are
237: used by
238: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
239: and
240: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>
241: and their order of preference.</li>
242: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp&sektion=1">sftp(1)</a>
243: and
244: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=scp&sektion=1">scp(1)</a>:
245: factor out bandwidth limiting code from
246: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=scp&sektion=1">scp(1)</a>
247: into a generic bandwidth limiter that can be attached using the
248: <em>atomicio</em> callback mechanism and use it to add a bandwidth
249: limit option to
250: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp&sektion=1">sftp(1)</a>.
251: (bz#1147)</li>
1.3 deraadt 252: </ul>
253: <li>The following significant bugs have been fixed in this release:
254: <ul>
1.4 sobrado 255: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
256: and
257: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-agent&sektion=1">ssh-agent(1)</a>:
258: honour <em>$TMPDIR</em> for client xauth and ssh-agent temporary
259: directories. (bz#1809)</li>
260: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>:
261: avoid <em>NULL</em> deref on receiving a channel request on an
262: unknown or invalid channel. (bz#1842)</li>
263: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
264: remove a <em>debug()</em> that pollutes stderr on client connecting
265: to a server in debug mode. (bz#1719)</li>
266: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=scp&sektion=1">scp(1)</a>:
267: pass through ssh command-line flags and options when doing
268: remote-remote transfers, e.g. to enable agent forwarding which is
269: particularly useful in this case. (bz#1837)</li>
270: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp-server&sektion=8">sftp-server(8)</a>:
271: <em>umask</em> should be parsed as octal.</li>
272: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp&sektion=1">sftp(1)</a>:
1.5 sobrado 273: escape '[' in filename tab-completion.</li>
1.4 sobrado 274: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>:
275: Typo in confirmation message. (bz#1827)</li>
276: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
277: prevent <em>free()</em> of string in <em>.rodata</em> when
278: overriding <em>AuthorizedKeys</em> in a <em>Match</em> block.</li>
279: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
1.5 sobrado 280: Use default shell <em>/bin/sh</em> if <em>$SHELL</em> is "".</li>
1.4 sobrado 281: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>:
282: kill proxy command on <em>fatal()</em> (we already killed it on
283: clean exit).</li>
284: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>:
1.5 sobrado 285: install a <em>SIGCHLD</em> handler to reap expired child process.
1.4 sobrado 286: (bz#1812)</li>
287: <li>Support building against openssl-1.0.0a</li>
288: <li>Fix vulnerability in legacy certificate signing introduced in
289: OpenSSH-5.6 and found by Mateusz Kocielski.</li>
1.3 deraadt 290: </ul>
291: </ul>
292: <p>
293:
294: <li>Mandoc 1.10.9:
295: <ul>
296: <li>New integrated <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tbl&sektion=7">tbl(7)</a> parser and renderer.
297: <li>Support the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=roff&sektion=7">roff(7)</a> .de, .rm, and .so requests.
298: <li>Support all roff code used in the standard <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pod2man&sektion=1">pod2man(1)</a> preamble.
299: <li>Fully support roff quoting in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=man&sektion=7">man(7)</a> documents.
300: <li>Mandoc now copes with most formatting errors that used to be fatal.
301: <li>Much simplified and improved reporting of errors and warnings.
302: <li>Significantly improved -Thtml output quality.
303: <li>The ports tree now allows ports to use either mandoc or groff
304: to render manuals.
305: </ul>
306: <p>
307:
308: <li>Over 6,400 XXXX ports, major robustness and speed improvements in package tools.
309: <li>Many pre-built packages for each architecture:
310: <table border=0 cellspacing=0 cellpadding=2 width="95%">
311: <tr>
312: <td valign="top" width="25%">
313: <ul>
314: <li>i386: 6620
315: <li>sparc64: 6225
316: <li>alpha: 6000
317: </ul></td><td valign=top width="25%"><ul>
318: <li>sh: XXXX
319: <li>amd64: 6570
320: <li>powerpc: 6272
321: </ul></td><td valign=top width="25%"><ul>
322: <li>sparc: 4184
1.8 deraadt 323: <li>arm: 5673
324: <li>hppa: 5838
1.3 deraadt 325: </ul></td><td valign=top width="25%"><ul>
326: <li>vax: 1068
327: <li>mips64: 5492
328: <li>mips64el: 5499
329: </ul></td></tr></table>
330: Some highlights:
331: <ul>
332: <li>Gnome 2.32.1.
333: <li>KDE 3.5.10.
334: <li>Xfce 4.8.0.
335: <li>MySQL 5.1.54.
336: <li>PostgreSQL 9.0.3.
337: <li>Postfix 2.7.2.
338: <li>OpenLDAP 2.3.43 and 2.4.23.
339: <li>Mozilla Firefox 3.5.16 and 3.6.13.
340: <li>Mozilla Thunderbird 3.1.7.
341: <li>OpenOffice.org 3.3.0rc9.
342: <li>LibreOffice 3.3.0.4
343: <li>Emacs 21.4 and 22.3.
344: <li>Vim 7.3.3.
345: <li>PHP 5.2.16.
346: <li>Python 2.4.6, 2.5.4 and 2.6.6.
347: <li>Ruby 1.8.7.330 and 1.9.2.136.
348: <li>Mono 2.8.2.
349: </ul>
350: <p>
351:
352: <li>As usual, steady improvements in manual pages and other documentation.
353: <p>
354:
355: <li>The system includes the following major components from outside suppliers:
356: <ul>
357: <li>Xenocara (based on X.Org 7.5 with xserver 1.8 + patches,
358: freetype 2.3.12,
359: fontconfig 2.8.0, Mesa 7.8.2, xterm 258 and more) XXXX
360: <li>Gcc 2.95.3 (+ patches), 3.3.5 (+ patches) and 4.2.1 (+patches) XXXX
1.11 jj 361: <li>Perl 5.12.2 (+ patches) XXXX
1.3 deraadt 362: <li>Our improved and secured version of Apache 1.3, with SSL/TLS
363: and DSO support XXXX
1.11 jj 364: <li>OpenSSL 1.0.0a (+ patches) XXXX
1.3 deraadt 365: <li>Sendmail 8.14.3, with libmilter XXXX
366: <li>Bind 9.4.2-P2 (+ patches) XXXX
367: <li>Lynx 2.8.6rel.5 with HTTPS and IPv6 support (+ patches) XXXX
368: <li>Sudo 1.7.2 XXXX
369: <li>Ncurses 5.7 XXXX
370: <li>Heimdal 0.7.2 (+ patches) XXXX
371: <li>Arla 0.35.7 XXXX
372: <li>Binutils 2.15 (+ patches) XXXX
373: <li>Gdb 6.3 (+ patches) XXXX
374: </ul>
1.1 deraadt 375: <p>
376:
377: </ul>
378:
379: <a name="install"></a>
380: <hr>
381: <p>
382: <h3><font color="#0000e0">How to install</font></h3>
383: <p>
384: Following this are the instructions which you would have on a piece of
385: paper if you had purchased a CDROM set instead of doing an alternate
386: form of install. The instructions for doing an FTP (or other style
387: of) install are very similar; the CDROM instructions are left intact
388: so that you can see how much easier it would have been if you had
389: purchased a CDROM instead.
390: <p>
391:
392: <hr>
393: Please refer to the following files on the three CDROMs or FTP mirror for
394: extensive details on how to install OpenBSD 4.9 on your machine:
395: <p>
396: <ul>
397: <li>CD1:4.9/i386/INSTALL.i386
398: <p>
399: <li>CD2:4.9/amd64/INSTALL.amd64
400: <li>CD2:4.9/macppc/INSTALL.macppc
401: <p>
402: <li>CD3:4.9/sparc64/INSTALL.sparc64
403: <p>
404: <li>FTP:.../OpenBSD/4.9/alpha/INSTALL.alpha
405: <li>FTP:.../OpenBSD/4.9/armish/INSTALL.armish
406: <li>FTP:.../OpenBSD/4.9/hp300/INSTALL.hp300
407: <li>FTP:.../OpenBSD/4.9/hppa/INSTALL.hppa
408: <li>FTP:.../OpenBSD/4.9/landisk/INSTALL.landisk
409: <li>FTP:.../OpenBSD/4.9/loongson/INSTALL.loongson
410: <li>FTP:.../OpenBSD/4.9/mvme68k/INSTALL.mvme68k
411: <li>FTP:.../OpenBSD/4.9/mvme88k/INSTALL.mvme88k
412: <li>FTP:.../OpenBSD/4.9/sgi/INSTALL.sgi
413: <li>FTP:.../OpenBSD/4.9/socppc/INSTALL.socppc
414: <li>FTP:.../OpenBSD/4.9/sparc/INSTALL.sparc
415: <li>FTP:.../OpenBSD/4.9/vax/INSTALL.vax
416: <li>FTP:.../OpenBSD/4.9/zaurus/INSTALL.zaurus
417: </ul>
418: <hr>
419:
420: <p>
421: Quick installer information for people familiar with OpenBSD, and the
422: use of the "disklabel -E" command. If you are at all confused when
423: installing OpenBSD, read the relevant INSTALL.* file as listed above!
424: <p>
425:
426: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
427: <ul>
428: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
429: release is on CD1. If your BIOS does not support booting from CD, you will need
430: to create a boot floppy to install from. To create a boot floppy write
431: <i>CD1:4.9/i386/floppy49.fs</i> to a floppy and boot via the floppy drive.
432:
433: <p>
434: Use <i>CD1:4.9/i386/floppyB49.fs</i> instead for greater SCSI controller
435: support, or <i>CD1:4.9/i386/floppyC49.fs</i> for better laptop support.
436:
437: <p>
438: If you can't boot from a CD or a floppy disk,
439: you can install across the network using PXE as described in
440: the included INSTALL.i386 document.
441:
442: <p>
443: If you are planning on dual booting OpenBSD with another OS, you will need to
444: read INSTALL.i386.
445:
446: <p>
447: To make a boot floppy under MS-DOS, use the "rawrite" utility located
448: at <i>CD1:4.9/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
449: use the
450: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
451: utility. The following is an example usage of
452: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
453: where the device could be "floppy", "rfd0c", or
454: "rfd0a".
455:
456: <ul><pre>
457: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
458: </pre></ul>
459:
460: <p>
461: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
462: your install will most likely fail. For more information on creating a boot
463: floppy and installing OpenBSD/i386 please refer to
464: <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
465: </ul>
466:
467: <p>
468: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
469: <ul>
470: The 4.9 release of OpenBSD/amd64 is located on CD2.
471: Boot from the CD to begin the install - you may need to adjust
472: your BIOS options first.
473: If you can't boot from the CD, you can create a boot floppy to install from.
474: To do this, write <i>CD2:4.9/amd64/floppy49.fs</i> to a floppy, then
475: boot from the floppy drive.
476:
477: <p>
478: If you can't boot from a CD or a floppy disk,
479: you can install across the network using PXE as described in the included
480: INSTALL.amd64 document.
481:
482: <p>
483: If you are planning to dual boot OpenBSD with another OS, you will need to
484: read INSTALL.amd64.
485: </ul>
486:
487: <p>
488: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
489: <ul>
490: Put CD2 in your CDROM drive and poweron your machine while holding down the
491: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
492:
493: <p>
494: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
495: /4.9/macppc/bsd.rd</i>
496: </ul>
497:
498: <p>
499: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
500: <ul>
501: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
502:
503: <p>
504: If this doesn't work, or if you don't have a CDROM drive, you can write
505: <i>CD3:4.9/sparc64/floppy49.fs</i> or <i>CD3:4.9/sparc64/floppyB49.fs</i>
506: (depending on your machine) to a floppy and boot it with <i>boot
507: floppy</i>. Refer to INSTALL.sparc64 for details.
508:
509: <p>
510: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
511: will most likely fail.
512:
513: <p>
514: You can also write <i>CD3:4.9/sparc64/miniroot49.fs</i> to the swap partition on
515: the disk and boot with <i>boot disk:b</i>.
516:
517: <p>
518: If nothing works, you can boot over the network as described in INSTALL.sparc64.
519: </ul>
520:
521: <p>
522: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
523: <ul>
524: <p>Write <i>FTP:4.9/alpha/floppy49.fs</i> or
525: <i>FTP:4.9/alpha/floppyB49.fs</i> (depending on your machine) to a diskette and
526: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
527:
528: <p>
529: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
530: will most likely fail.
531:
532: </ul>
533:
534: <p>
535: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
536: <ul>
537: <p>
538: After connecting a serial port, Thecus can boot directly from the network
539: either tftp or http. Configure the network using fconfig, reset,
540: then load bsd.rd, see INSTALL.armish for specific details.
541: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
542: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
543: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
544: More details are available in INSTALL.armish.
545: </ul>
546:
547: <p>
548: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
549: <ul>
550: <p>
551: Boot over the network by following the instructions in INSTALL.hp300.
552: </ul>
553:
554: <p>
555: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
556: <ul>
557: <p>
558: Boot over the network by following the instructions in INSTALL.hppa or the
559: <a href="hppa.html#install">hppa platform page</a>.
560: </ul>
561:
562: <p>
563: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
564: <ul>
565: <p>
566: Write <i>miniroot49.fs</i> to the start of the CF
567: or disk, and boot normally.
568: </ul>
569:
570: <p>
571: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
572: <ul>
573: <p>
574: Write <i>miniroot49.fs</i> to a USB stick and boot bsd.rd from it
575: or boot bsd.rd via tftp.
576: Refer to the instructions in INSTALL.loongson for more details.
577: </ul>
578: <p>
579:
580: <p>
581: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
582: <ul>
583: <p>
584: You can create a bootable installation tape or boot over the network.<br>
585: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
586: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
587: for more details.
588: </ul>
589:
590: <p>
591: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
592: <ul>
593: <p>
594: You can create a bootable installation tape or boot over the network.<br>
595: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
596: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
597: for more details.
598: </ul>
599:
600: <p>
601: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
602: <ul>
603: <p>
604: To install on an O2, burn cd49.iso on a CD-R, put it in the CD drive of your
605: machine and select <i>Install System Software</i> from the System Maintenance
606: menu.
607:
608: <p>
609: On other systems, or if your machine doesn't have a CD drive, you can
610: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd.IP##" using
611: the kernel matching your system type.
612: Refer to the instructions in INSTALL.sgi for more details.
613: </ul>
614:
615: <p>
616: <h3><font color="#e00000">OpenBSD/socppc:</font></h3>
617: <ul>
618: <p>
619: After connecting a serial port, boot over the network via DHCP/tftp.
620: Refer to the instructions in INSTALL.socppc for more details.
621: </ul>
622:
623: <p>
624: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
625: <ul>
626: Boot from one of the provided install ISO images, using one of the two
627: commands listed below, depending on the version of your ROM.
628:
629: <ul><pre>
630: ok <strong>boot cdrom 4.9/sparc/bsd.rd</strong>
631: or
632: > <strong>b sd(0,6,0)4.9/sparc/bsd.rd</strong>
633: </pre></ul>
634:
635: <p>
636: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
637: To do so you need to write <i>floppy49.fs</i> to a floppy.
638: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
639: To boot from the floppy use one of the two commands listed below,
640: depending on the version of your ROM.
641:
642: <ul><pre>
643: ok <strong>boot floppy</strong>
644: or
645: > <strong>b fd()</strong>
646: </pre></ul>
647:
648: <p>
649: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
650: will most likely fail.
651:
652: <p>
653: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
654: setup a bootable tape, or install via network, as told in the
655: INSTALL.sparc file.
656: </ul>
657:
658: <p>
659: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
660: <ul>
661: Boot over the network via mopbooting as described in INSTALL.vax.
662: </ul>
663:
664: <p>
665: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
666: <ul>
667: <p>
668: Using the Linux built-in graphical ipkg installer, install the
669: openbsd49_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
670: for a few important details.
671: </ul>
672:
673: <p>
674: <h3><font color="#e00000">Notes about the source code:</font></h3>
675: <ul>
676: src.tar.gz contains a source archive starting at /usr/src. This file
677: contains everything you need except for the kernel sources, which are
678: in a separate archive. To extract:
679: <p>
680: <ul><pre>
681: # <strong>mkdir -p /usr/src</strong>
682: # <strong>cd /usr/src</strong>
683: # <strong>tar xvfz /tmp/src.tar.gz</strong>
684: </pre></ul>
685: <p>
686: sys.tar.gz contains a source archive starting at /usr/src/sys.
687: This file contains all the kernel sources you need to rebuild kernels.
688: To extract:
689: <p>
690: <ul><pre>
691: # <strong>mkdir -p /usr/src/sys</strong>
692: # <strong>cd /usr/src</strong>
693: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
694: </pre></ul>
695: <p>
696: Both of these trees are a regular CVS checkout. Using these trees it
697: is possible to get a head-start on using the anoncvs servers as
698: described <a href="anoncvs.html">here</a>.
699: Using these files
700: results in a much faster initial CVS update than you could expect from
701: a fresh checkout of the full OpenBSD source tree.
702: <p>
703: </ul>
704:
705: <a name="upgrade"></a>
706: <hr>
707: <p>
708: <h3><font color="#0000e0">How to upgrade</font></h3>
709: <p>
1.2 deraadt 710: If you already have an OpenBSD 4.8 system, and do not want to reinstall,
1.1 deraadt 711: upgrade instructions and advice can be found in the
712: <a href="faq/upgrade49.html">Upgrade Guide</a>.
713:
714: <a name="ports"></a>
715: <hr>
716: <p>
717: <h3><font color="#0000e0">Ports Tree</font></h3>
718: <p>
719: A ports tree archive is also provided. To extract:
720: <p>
721: <ul><pre>
722: # <strong>cd /usr</strong>
723: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
724: # <strong>cd ports</strong>
725: </pre></ul>
726: <p>
727: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
728: read the <a href="faq/ports/index.html">ports</a> page
729: if you know nothing about ports
730: at this point. This text is not a manual of how to use ports.
731: Rather, it is a set of notes meant to kickstart the user on the
732: OpenBSD ports system.
733: <p>
734: The <i>ports/</i> directory represents a CVS (see the manpage for
735: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386">
736: cvs(1)</a> if
737: you aren't familiar with CVS) checkout of our ports. As with our complete
738: source tree, our ports tree is available via anoncvs. So, in
739: order to keep current with it, you must make the <i>ports/</i> tree
740: available on a read-write medium and update the tree with a command
741: like:
742: <p>
743: <ul><pre>
744: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_4_9</strong>
745: </pre></ul>
746: <p>
747: [Of course, you must replace the local directory and server name here
748: with the location of your ports collection and a nearby anoncvs
749: server.]
750: <p>
751: Note that most ports are available as packages through FTP. Updated
752: packages for the 4.9 release will be made available if problems arise.
753: <p>
754: If you're interested in seeing a port added, would like to help out, or just
755: would like to know more, the mailing list ports@openbsd.org is a good
756: place to know.
757: <p>
758:
759: <hr>
760: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
761: alt="OpenBSD"></a>
762: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
763: <br><small>
1.12 ! ajacouto 764: $OpenBSD: 49.html,v 1.11 2011/04/22 08:42:04 jj Exp $
1.1 deraadt 765: </small>
766:
767: </body>
768: </html>