Annotation of www/47.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 4.7 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.7">
9: <meta name="keywords" content="openbsd,main">
10: <meta name="distribution" content="global">
1.17 jasper 11: <meta name="copyright" content="This document copyright 2010 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/xxx.jpg">
22: <img align="left" width="227" height="343" hspace="24" vspace="30"
23: src="images/xxx.jpg" alt="OpenBSD 4.7 logo"></a>
24: <h2><font color="#0000e0">The OpenBSD 4.7 Release:</font></h2>
25: <p>
26: Released May 19, 2010<br>
27: Copyright 1997-2010, Theo de Raadt.<br>
28: <font color="#e00000">ISBN 978-0-9784475-5-7</font>
29: <br>
30: <a href="lyrics.html#47">4.7 Song: "xxx"</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/4.7/</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="errata47.html">The 4.7 Errata page</a> for a list
50: of bugs and workarounds.
51: <li>See a <a href="plus47.html">detailed log of changes</a> between the
52: 4.6 and 4.7 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.7.
70: For a comprehensive list, see the <a href="plus47.html">changelog</a> leading
71: to 4.7.
72: <p>
73:
74: <ul>
75:
76: <li>New/extended platforms:
77: <ul>
1.7 kettenis 78: <li><a href="alpha.html">OpenBSD/alpha</a>
79: <ul>
80: <li>Added support for the DS15/DS25/ES45.
81: </ul>
82: <li><a href="loongson.html">OpenBSD/loongson</a><br>
83: New platform for systems based on the Loongson 2E and 2F
84: MIPS-compatible processors. Supported machines include:
85: <ul>
86: <li>Lemote Fuloong 2F mini-PC
87: <li>Lemote Lynloong all-in-one-PC
88: <li>Lemote Yeeloong netbook (8.9" and 10.1" models)
89: <li>EMTEC Gdium Liberty 1000 netbook
90: </ul>
91: <li><a href="sgi.html">OpenBSD/sgi</a>
92: <ul>
1.29 ! miod 93: <li>Added support for multi-node SGI Origin systems, in M mode.
! 94: <li>Added support for the SGI Origin 350, Onyx 350, Onyx 4 and Tezro
! 95: systems.
! 96: <li>Added SMP support on the SGI Octane.
! 97: <li>Support for many more onboard devices on Octane and Origin
! 98: systems. (see below)
1.7 kettenis 99: </ul>
100: <li><a href="socppc.html">OpenBSD/socppc</a>
101: <ul>
102: <li>Added support for the RouterBOARD RB600A.
103: </ul>
1.1 deraadt 104: </ul>
105: <p>
106:
107: <li>Improved hardware support, including:
108: <ul>
1.12 matthieu 109: <li>Revamped SCSI midlayer and improved driver support.
1.13 matthieu 110: <li>Added <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mpath&sektion=4&format=html">mpath(4)</a>,
111: a driver that steals paths to scsi devices if they could be
112: available via multiple paths and then made available
113: via <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mpath&sektion=4&format=html">mpath(4)</a>.
114: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=aibs&sektion=4&format=html">aibs(4)</a>
115: driver for ASUSTeK AI Booster hardware monitoring.
1.16 matthieu 116: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=uthum&sektion=4">uthum(4)</a>
1.13 matthieu 117: driver for the TEMPerHUM USB temperature and humidity sensors.
1.20 jsg 118: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=utrh&sektion=4">utrh(4)</a>
119: driver for USBRH temperature and humidity sensors.
1.12 matthieu 120: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=uyurex&sektion=4">uyurex(4)</a>
1.13 matthieu 121: driver for the Maywa-denki & KAYAC YUREX twitch/jiggle of knee sensor.
1.12 matthieu 122: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=urndis&sektion=4">urndis(4)</a>
1.13 matthieu 123: driver for remote NDIS Ethernet over USB devices (phones).
124: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=wsudl&sektion=0">xf86-video-wsudl(4)</a>
125: Xorg driver for USB DisplayLink devices supported by
1.12 matthieu 126: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=udl&sektion=4">udl(4)</a>.
1.20 jsg 127: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mpii&sektion=4">mpii(4)</a>
128: driver for LSI Logic Fusion MPT Message Passing Interface II based SAS 2 controllers.
129: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=athn&sektion=4">athn(4)</a>
130: driver for Atheros IEEE 802.11a/g/n wireless network devices.
131: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=alc&sektion=4">alc(4)</a>
132: driver for Atheros AR8131/AR8132 10/100/Gigabit Ethernet devices.
133: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=lisa&sektion=4">lisa(4)</a>
134: driver for STMicroelectronics LIS331DL MEMS motion sensors.
135: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gcu&sektion=4">gcu(4)</a>
136: driver for Intel EP80579 Global Configuration Unit.
137: <li>Support for EP80579 integrated Ethernet and ICH9 M V has been added to
138: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=em&sektion=4">em(4)</a>
139: <li>Support for 82599 and SFP+ 82598 devices has been added to
140: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ix&sektion=4">ix(4)</a>
1.13 matthieu 141: <li>Improved touchscreen support in
142: the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ws&sektion=0">xf86-input-ws(4)</a>
143: Xorg driver and improved calibration using the new device
144: properties from Xinput.
1.12 matthieu 145: in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=xtsscale&sektion=1">xtsscale(1)</a>.
146: <li>Several improvements and bug fixes to existing ethernet
1.13 matthieu 147: drivers, including
148: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=em&sektion=4">em(4)</a>,
149: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=re&sektion=4">re(4)</a>,
150: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ti&sektion=4">ti(4)</a>
151: and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=vge&sektion=4">vge(4)</a>.
1.29 ! miod 152: <li>Support for the <i>PIC</i> PCI-X controller added to the SGI
! 153: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=xbridge&sektion=4&arch=sgi">xbridge(4)</a> driver.
! 154: <li>Support for the onboard Fast Ethernet interface found on SGI Octane and
! 155: many SGI Origin family systems,
! 156: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=iec&sektion=4&arch=sgi">iec(4)</a>.
! 157: <li>Support for more SGI input and video devices on Octane and Origin systems, with
! 158: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=iockbc&sektion=4&arch=sgi">iockbc(4)</a>,
! 159: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=impact&sektion=4&arch=sgi">impact(4)</a>,
! 160: and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=odyssey&sektion=4&arch=sgi">odyssey(4)</a>.
1.1 deraadt 161: </ul>
162: <p>
163:
164: <li>New tools:
165: <ul>
1.9 otto 166: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=newfs_ext2fs&sektion=8">newfs_ext2fs(8)</a> for creating ext2 filesystems.
1.27 sobrado 167: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mkuboot&sektion=8">mkuboot(8)</a> for creating U-Boot boot loader images.
1.1 deraadt 168: <li>...
169: </ul>
170: <p>
171:
1.6 beck 172: <li>Filesystem Midlayer improvements:
1.2 beck 173: <ul>
174: <li> Dynamic Buffer Cache now supported to a max size set with sysctl <tt>kern.bufcachepercent</tt>
175: <li> Dynamic VFS name cache rewrite, now uses Red/Black trees instead of linked lists.
176: <li> Numerous NFS client stability fixes.
177: </ul>
178: <p>
179:
1.1 deraadt 180: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a> improvements:
181: <ul>
182: <li>...
183: </ul>
184: <p>
185:
186: <li>OpenBGPD, OpenOSPFD and other routing daemon improvements:
187: <ul>
1.28 stsp 188: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ospf6d&section=8">ospf6d(8)</a> is now installed by default. It is still work-in-progress but testing is highly appreciated.</li>
1.1 deraadt 189: </ul>
190: <p>
191:
192: <li>Generic Network-Stack improvements:
193: <ul>
194: <li>...
195: </ul>
196: <p>
197:
1.9 otto 198: <li>Assorted improvements:
199: <ul>
200: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=malloc&sektion=3">malloc(2)</a>
201: now has an <tt>S</tt> flag to turn on the options that help debugging
202: and improve security.
203: <li>updated <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=terminfo&sektion=3">terminfo(3)</a>
204: database and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ncurses&sektion=3">ncurses(3)</a>
205: library.
1.16 matthieu 206: <li>added support for lazy binding in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ld.so&sektion=1">ld.so(1)</a>
207: on hppa.
1.9 otto 208: <li>...
209: </ul>
210: <p>
211:
1.1 deraadt 212: <li>Install/Upgrade process changes:
213: <ul>
1.24 deraadt 214: <li>...
1.1 deraadt 215: </ul>
216: <p>
217:
1.16 matthieu 218: <li>OpenSSH 5.4:
1.1 deraadt 219: <ul>
1.21 sobrado 220: <li>New features:
221: <ul>
222: <li>SSH protocol 1 is disabled by default.
223: <li>Remove the libsectok/OpenSC-based smartcard code and add support
224: for PKCS#11 tokens.
225: <li>Add support for certificate authentication of users and hosts using
226: a new, minimal OpenSSH certificate format (not X.509).
227: <li>Added a 'netcat mode' to
228: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>.
229: <li>Add the ability to revoke keys in
230: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>
231: and
232: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>.
233: <li>Rewrite the
234: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
235: multiplexing support to support non-blocking operation of the mux
236: master.
237: <li>Add a 'read-only' mode to
238: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp-server&sektion=8">sftp-server(8)</a>
239: that disables open in write mode and all other fs-modifying
240: protocol methods. (bz#430)
241: <li>Allow setting an explicit umask on the
242: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp-server&sektion=8">sftp-server(8)</a>
243: commandline to override whatever default the user has. (bz#1229)
244: <li>Many improvements to the
245: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp&sektion=1">sftp(1)</a>
246: client.
1.23 sobrado 247: <li>New RSA keys will be generated with a public exponent of 65537
248: instead of the previous value 35.
1.21 sobrado 249: <li>Passphrase-protected SSH protocol 2 private keys are now protected
250: with AES-128 instead of 3DES.
251: </ul>
252: <li>The following significant bugs have been fixed in this release:
253: <ul>
254: <li>Fixed a minor information leak of environment variables specified
255: in authorized_keys if an attacker happens to know the public key
256: in use.
257: <li>When using <em>ChrootDirectory</em>, make sure we test for the
258: existence of the user's shell inside the chroot and not outside.
259: (bz#1679)
260: <li>Cache user and group name lookups in sftp-server using
261: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pwcache&sektion=3">user_from_[ug]id(3)</a>
262: to improve performance on hosts where these operations are slow.
263: (bz#1495)
264: <li>Fix problem that prevented passphrase reading from being
265: interrupted in some circumstances. (bz#1590)
266: <li>Ignore and log any Protocol 1 keys where the claimed size is not
267: equal to the actual size.
268: <li>Make <em>HostBased</em> authentication work with a
269: <em>ProxyCommand</em>. (bz#1569)
270: <li>Avoid run-time failures when specifying hostkeys via a relative
271: path by prepending the current working directory in these cases.
272: (bz#1290)
273: <li>Do not prompt for a passphrase if we fail to open a keyfile, and
274: log the reason why the open failed to debug. (bz#1693)
275: <li>Document that the <em>PubkeyAuthentication</em> directive is
276: allowed in a
277: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5">sshd_config(5)</a>
278: <em>Match</em> block. (bz#1577)
279: <li>When converting keys, truncate key comments at 72 chars as per
280: RFC4716. (bz#1630)
281: <li>Do not allow logins if <em>/etc/nologin</em> exists but is not
282: readable by the user logging in.
283: <li>Output a debug log if
284: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>
285: can't open an existing <em>authorized_keys</em>. (bz#1694)
286: <li>Quell
287: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tcsetattr&sektion=3">tc[gs]etattr(3)</a>
288: warnings when forcing a tty (ssh -tt), since we usually don't
289: actually have a tty to read/set. (bz#1686)
290: <li>Prevent
291: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp&sektion=1">sftp(1)</a>
292: from crashing when given a "-" without a command; also, allow
293: whitespace to follow a "-". (bz#1691)
294: <li>After
295: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>
296: receives a SIGHUP, ignore subsequent HUPs while
297: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>
298: re-execs itself; prevents two HUPs in quick succession from
299: resulting in
300: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>
301: dying. (bz#1692)
302: <li>Clarify in
303: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5">sshd_config(5)</a>
304: that <em>StrictModes</em> does not apply to
305: <em>ChrootDirectory</em>; permissions and ownership are always
306: checked when chrooting. (bz#1532)
307: <li>Set close-on-exec on various descriptors so they don't get leaked
308: to child processes. (bz#1643)
309: <li>Fix very rare race condition in x11/agent channel allocation
310: <li>Fix incorrect exit status when multiplexing and channel ID 0 is
311: recycled. (bz#1570)
312: <li>Fail with an error when an attempt is made to connect to a server
313: with <em>ForceCommand=internal-sftp</em> with a shell session.
314: (bz#1606)
315: <li>Warn but do not fail if
316: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=stat&sektion=2">stat(2)</a>ing
317: the subsystem binary fails. (bz#1599)
318: <li>Change "Connecting to host..." message to "Connected to host."
319: and delay it until after the sftp protocol connection has been
320: established. (bz#1588)
321: <li>Use the <em>HostKeyAlias</em> rather than the hostname specified
322: on the commandline when prompting for passwords. (bz#1039)
1.25 sobrado 323: <li>Correct off-by-one in percent_expand(). (bz#1607)
1.21 sobrado 324: <li>Fix passing of empty options from
325: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=scp&sektion=1">scp(1)</a>
326: and
327: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp&sektion=1">sftp(1)</a>
328: to the underlying
329: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>;
330: also add support for the stop option "--".
331: <li>Fix an incorrect magic number and typo in PROTOCOL. (bz#1688)
332: <li>Don't escape backslashes when displaying the SSH2 banner. (bz#1533)
333: <li>Don't unnecessarily dup() the in and out fds for
334: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp-server&sektion=8">sftp-server(8)</a>.
335: (bz#1566)
336: <li>Force use of the correct hash function for random-art signature
337: display. (bz#1611)
338: <li>Do not fall back to adding keys without constraints when the agent
339: refuses the constrained add request. (bz#1612)
340: <li>Fix a race condition in
341: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-agent&sektion=1">ssh-agent(1)</a>
342: that could result in a wedged or spinning agent. (bz#1633)
343: <li>Flush stdio before exec() to ensure that everying has made it out
344: before the streams go away. (bz#1596)
345: <li>Set <em>FD_CLOEXEC</em> on in/out sockets in
346: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>.
347: (bz#1706)
348: </ul>
1.1 deraadt 349: </ul>
350: <p>
351:
1.15 espie 352: <li>Over 5,800 ports, major robustness and speed improvements in package tools.
1.1 deraadt 353: <li>Many pre-built packages for each architecture:
354: <table border=0 cellspacing=0 cellpadding=2 width="95%">
355: <tr>
356: <td valign="top" width="25%">
357: <ul>
1.5 deraadt 358: <li>i386: 5951
359: <li>sparc64: 5745
360: <li>alpha: 5489
1.1 deraadt 361: </ul></td><td valign=top width="25%"><ul>
1.5 deraadt 362: <li>sh: 1261
363: <li>amd64: 5889
364: <li>powerpc: 5783
1.1 deraadt 365: </ul></td><td valign=top width="25%"><ul>
1.5 deraadt 366: <li>sparc: 3584
367: <li>arm: 839
368: <li>hppa: 5179
1.1 deraadt 369: </ul></td><td valign=top width="25%"><ul>
1.5 deraadt 370: <li>vax: 1785
371: <li>mips64: 3677
372: <li>mips64el: 3661
1.1 deraadt 373: </ul></td></tr></table>
374: Some highlights:
375: <ul>
1.18 jasper 376: <li>Gnome 2.28.2.
1.1 deraadt 377: <li>KDE 3.5.10.
1.18 jasper 378: <li>Xfce 4.6.1.
1.11 otto 379: <li>MySQL 5.1.42.
1.18 jasper 380: <li>PostgreSQL 8.4.2.
381: <li>Postfix 2.6.5.
1.1 deraadt 382: <li>OpenLDAP 2.3.43.
1.22 jsg 383: <li>Mozilla Firefox 3.0.18 and 3.5.8.
1.11 otto 384: <li>Mozilla Thunderbird 2.0.0.23.
1.18 jasper 385: <li>OpenOffice.org 3.1.1.
1.1 deraadt 386: <li>Emacs 21.4 and 22.3
1.18 jasper 387: <li>Vim 7.2.267.
388: <li>PHP 5.2.13.
389: <li>Python 2.4.7, 2.5.4 and 2.6.3.
1.1 deraadt 390: <li>Ruby 1.8.6.369.
391: </ul>
392: <p>
393:
394: <li>As usual, steady improvements in manual pages and other documentation.
395: <p>
396:
397: <li>The system includes the following major components from outside suppliers:
398: <ul>
1.8 matthieu 399: <li>Xenocara (based on X.Org 7.4 with xserver 1.6.5 + patches,
400: freetype 2.3.9,
401: fontconfig 2.6.0, Mesa 7.4.2, xterm 250 and more)
1.1 deraadt 402: <li>Gcc 2.95.3 (+ patches) and 3.3.5 (+ patches)
1.10 otto 403: <li>Perl 5.10.1 (+ patches)
1.1 deraadt 404: <li>Our improved and secured version of Apache 1.3, with SSL/TLS
405: and DSO support
406: <li>OpenSSL 0.9.8k (+ patches)
407: <li>Groff 1.15
408: <li>Sendmail 8.14.3, with libmilter
409: <li>Bind 9.4.2-P2 (+ patches)
410: <li>Lynx 2.8.6rel.5 with HTTPS and IPv6 support (+ patches)
411: <li>Sudo 1.7.2
1.10 otto 412: <li>Ncurses 5.7
1.1 deraadt 413: <li>Latest KAME IPv6
414: <li>Heimdal 0.7.2 (+ patches)
415: <li>Arla 0.35.7
416: <li>Binutils 2.15 (+ patches)
417: <li>Gdb 6.3 (+ patches)
418: </ul>
419: <p>
420:
421: </ul>
422:
423: <a name="install"></a>
424: <hr>
425: <p>
426: <h3><font color="#0000e0">How to install</font></h3>
427: <p>
428: Following this are the instructions which you would have on a piece of
429: paper if you had purchased a CDROM set instead of doing an alternate
430: form of install. The instructions for doing an FTP (or other style
431: of) install are very similar; the CDROM instructions are left intact
432: so that you can see how much easier it would have been if you had
433: purchased a CDROM instead.
434: <p>
435:
436: <hr>
437: Please refer to the following files on the three CDROMs or FTP mirror for
438: extensive details on how to install OpenBSD 4.7 on your machine:
439: <p>
440: <ul>
441: <li>CD1:4.7/i386/INSTALL.i386
442: <p>
443: <li>CD2:4.7/amd64/INSTALL.amd64
444: <li>CD2:4.7/macppc/INSTALL.macppc
445: <p>
446: <li>CD3:4.7/sparc64/INSTALL.sparc64
447: <p>
448: <li>FTP:.../OpenBSD/4.7/alpha/INSTALL.alpha
449: <li>FTP:.../OpenBSD/4.7/armish/INSTALL.armish
450: <li>FTP:.../OpenBSD/4.7/hp300/INSTALL.hp300
451: <li>FTP:.../OpenBSD/4.7/hppa/INSTALL.hppa
452: <li>FTP:.../OpenBSD/4.7/landisk/INSTALL.landisk
1.19 otto 453: <li>FTP:.../OpenBSD/4.7/loongson/INSTALL.loongson
1.1 deraadt 454: <li>FTP:.../OpenBSD/4.7/mvme68k/INSTALL.mvme68k
455: <li>FTP:.../OpenBSD/4.7/mvme88k/INSTALL.mvme88k
456: <li>FTP:.../OpenBSD/4.7/sgi/INSTALL.sgi
457: <li>FTP:.../OpenBSD/4.7/socppc/INSTALL.socppc
458: <li>FTP:.../OpenBSD/4.7/sparc/INSTALL.sparc
459: <li>FTP:.../OpenBSD/4.7/vax/INSTALL.vax
460: <li>FTP:.../OpenBSD/4.7/zaurus/INSTALL.zaurus
461: </ul>
462: <hr>
463:
464: <p>
465: Quick installer information for people familiar with OpenBSD, and the
466: use of the "disklabel -E" command. If you are at all confused when
467: installing OpenBSD, read the relevant INSTALL.* file as listed above!
468: <p>
469:
470: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
471: <ul>
472: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
473: release is on CD1. If your BIOS does not support booting from CD, you will need
474: to create a boot floppy to install from. To create a boot floppy write
475: <i>CD1:4.7/i386/floppy47.fs</i> to a floppy and boot via the floppy drive.
476:
477: <p>
478: Use <i>CD1:4.7/i386/floppyB47.fs</i> instead for greater SCSI controller
479: support, or <i>CD1:4.7/i386/floppyC47.fs</i> for better laptop support.
480:
481: <p>
482: If you can't boot from a CD or a floppy disk,
483: you can install across the network using PXE as described in
484: the included INSTALL.i386 document.
485:
486: <p>
487: If you are planning on dual booting OpenBSD with another OS, you will need to
488: read INSTALL.i386.
489:
490: <p>
491: To make a boot floppy under MS-DOS, use the "rawrite" utility located
492: at <i>CD1:4.7/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
493: use the
494: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
495: utility. The following is an example usage of
496: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
497: where the device could be "floppy", "rfd0c", or
498: "rfd0a".
499:
500: <ul><pre>
501: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
502: </pre></ul>
503:
504: <p>
505: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
506: your install will most likely fail. For more information on creating a boot
507: floppy and installing OpenBSD/i386 please refer to
508: <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
509: </ul>
510:
511: <p>
512: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
513: <ul>
514: The 4.7 release of OpenBSD/amd64 is located on CD2.
515: Boot from the CD to begin the install - you may need to adjust
516: your BIOS options first.
517: If you can't boot from the CD, you can create a boot floppy to install from.
518: To do this, write <i>CD2:4.7/amd64/floppy47.fs</i> to a floppy, then
519: boot from the floppy drive.
520:
521: <p>
522: If you can't boot from a CD or a floppy disk,
523: you can install across the network using PXE as described in the included
524: INSTALL.amd64 document.
525:
526: <p>
527: If you are planning to dual boot OpenBSD with another OS, you will need to
528: read INSTALL.amd64.
529: </ul>
530:
531: <p>
532: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
533: <ul>
534: Put CD2 in your CDROM drive and poweron your machine while holding down the
535: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
536:
537: <p>
538: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
539: /4.7/macppc/bsd.rd</i>
540: </ul>
541:
542: <p>
543: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
544: <ul>
545: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
546:
547: <p>
548: If this doesn't work, or if you don't have a CDROM drive, you can write
549: <i>CD3:4.7/sparc64/floppy47.fs</i> or <i>CD3:4.7/sparc64/floppyB47.fs</i>
550: (depending on your machine) to a floppy and boot it with <i>boot
551: floppy</i>. Refer to INSTALL.sparc64 for details.
552:
553: <p>
554: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
555: will most likely fail.
556:
557: <p>
558: You can also write <i>CD3:4.7/sparc64/miniroot47.fs</i> to the swap partition on
559: the disk and boot with <i>boot disk:b</i>.
560:
561: <p>
562: If nothing works, you can boot over the network as described in INSTALL.sparc64.
563: </ul>
564:
565: <p>
566: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
567: <ul>
568: <p>Write <i>FTP:4.7/alpha/floppy47.fs</i> or
569: <i>FTP:4.7/alpha/floppyB47.fs</i> (depending on your machine) to a diskette and
570: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
571:
572: <p>
573: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
574: will most likely fail.
575:
576: </ul>
577:
578: <p>
579: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
580: <ul>
581: <p>
582: After connecting a serial port, Thecus can boot directly from the network
583: either tftp or http. Configure the network using fconfig, reset,
584: then load bsd.rd, see INSTALL.armish for specific details.
585: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
586: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
587: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
588: More details are available in INSTALL.armish.
589: </ul>
590:
591: <p>
592: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
593: <ul>
594: <p>
595: Boot over the network by following the instructions in INSTALL.hp300.
596: </ul>
597:
598: <p>
599: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
600: <ul>
601: <p>
602: Boot over the network by following the instructions in INSTALL.hppa or the
603: <a href="hppa.html#install">hppa platform page</a>.
604: </ul>
605:
606: <p>
607: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
608: <ul>
609: <p>
610: Write <i>miniroot47.fs</i> to the start of the CF
611: or disk, and boot normally.
612: </ul>
613:
614: <p>
1.19 otto 615: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
616: <ul>
617: <p>
618: Write <i>miniroot47.fs</i> to a USB stick and boot bsd.rd from it
619: or boot bsd.rd via tftp.
620: Refer to the instructions in INSTALL.loongson for more details.
621: </ul>
622: <p>
623:
1.1 deraadt 624: <p>
625: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
626: <ul>
627: <p>
628: You can create a bootable installation tape or boot over the network.<br>
629: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
630: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
631: for more details.
632: </ul>
633:
634: <p>
635: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
636: <ul>
637: <p>
638: You can create a bootable installation tape or boot over the network.<br>
639: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
640: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
641: for more details.
642: </ul>
643:
644: <p>
1.29 ! miod 645: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
! 646: <ul>
! 647: <p>
! 648: To install on an O2, burn cd47.iso on a CD-R, put it in the CD drive of your
! 649: machine and select <i>Install System Software</i> from the System Maintenance
! 650: menu.
! 651:
! 652: <p>
! 653: On other systems, or if your machine doesn't have a CD drive, you can
! 654: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd.IP##" using
! 655: the kernel matching your system type.
! 656: Refer to the instructions in INSTALL.sgi for more details.
! 657: </ul>
! 658:
! 659: <p>
! 660: <h3><font color="#e00000">OpenBSD/socppc:</font></h3>
! 661: <ul>
! 662: <p>
! 663: After connecting a serial port, boot over the network via DHCP/tftp.
! 664: Refer to the instructions in INSTALL.socppc for more details.
! 665: </ul>
! 666:
! 667: <p>
1.1 deraadt 668: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
669: <ul>
670: Boot from one of the provided install ISO images, using one of the two
671: commands listed below, depending on the version of your ROM.
672:
673: <ul><pre>
674: ok <strong>boot cdrom 4.7/sparc/bsd.rd</strong>
675: or
676: > <strong>b sd(0,6,0)4.7/sparc/bsd.rd</strong>
677: </pre></ul>
678:
679: <p>
680: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
681: To do so you need to write <i>floppy47.fs</i> to a floppy.
682: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
683: To boot from the floppy use one of the two commands listed below,
684: depending on the version of your ROM.
685:
686: <ul><pre>
687: ok <strong>boot floppy</strong>
688: or
689: > <strong>b fd()</strong>
690: </pre></ul>
691:
692: <p>
693: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
694: will most likely fail.
695:
696: <p>
697: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
698: setup a bootable tape, or install via network, as told in the
699: INSTALL.sparc file.
700: </ul>
701:
702: <p>
703: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
704: <ul>
705: Boot over the network via mopbooting as described in INSTALL.vax.
706: </ul>
707:
708: <p>
709: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
710: <ul>
711: <p>
712: Using the Linux built-in graphical ipkg installer, install the
713: openbsd47_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
714: for a few important details.
715: </ul>
716:
717: <p>
718: <h3><font color="#e00000">Notes about the source code:</font></h3>
719: <ul>
720: src.tar.gz contains a source archive starting at /usr/src. This file
721: contains everything you need except for the kernel sources, which are
722: in a separate archive. To extract:
723: <p>
724: <ul><pre>
725: # <strong>mkdir -p /usr/src</strong>
726: # <strong>cd /usr/src</strong>
727: # <strong>tar xvfz /tmp/src.tar.gz</strong>
728: </pre></ul>
729: <p>
730: sys.tar.gz contains a source archive starting at /usr/src/sys.
731: This file contains all the kernel sources you need to rebuild kernels.
732: To extract:
733: <p>
734: <ul><pre>
735: # <strong>mkdir -p /usr/src/sys</strong>
736: # <strong>cd /usr/src</strong>
737: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
738: </pre></ul>
739: <p>
740: Both of these trees are a regular CVS checkout. Using these trees it
741: is possible to get a head-start on using the anoncvs servers as
742: described <a href="anoncvs.html">here</a>.
743: Using these files
744: results in a much faster initial CVS update than you could expect from
745: a fresh checkout of the full OpenBSD source tree.
746: <p>
747: </ul>
748:
749: <a name="upgrade"></a>
750: <hr>
751: <p>
752: <h3><font color="#0000e0">How to upgrade</font></h3>
753: <p>
754: If you already have an OpenBSD 4.6 system, and do not want to reinstall,
755: upgrade instructions and advice can be found in the
756: <a href="faq/upgrade47.html">Upgrade Guide</a>.
757:
758: <a name="ports"></a>
759: <hr>
760: <p>
761: <h3><font color="#0000e0">Ports Tree</font></h3>
762: <p>
763: A ports tree archive is also provided. To extract:
764: <p>
765: <ul><pre>
766: # <strong>cd /usr</strong>
767: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
768: # <strong>cd ports</strong>
769: </pre></ul>
770: <p>
771: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
772: read the <a href="ports.html">ports</a> page
773: if you know nothing about ports
774: at this point. This text is not a manual of how to use ports.
775: Rather, it is a set of notes meant to kickstart the user on the
776: OpenBSD ports system.
777: <p>
778: The <i>ports/</i> directory represents a CVS (see the manpage for
779: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386">
780: cvs(1)</a> if
781: you aren't familiar with CVS) checkout of our ports. As with our complete
782: source tree, our ports tree is available via anoncvs. So, in
783: order to keep current with it, you must make the <i>ports/</i> tree
784: available on a read-write medium and update the tree with a command
785: like:
786: <p>
787: <ul><pre>
1.26 deraadt 788: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_4_7</strong>
1.1 deraadt 789: </pre></ul>
790: <p>
791: [Of course, you must replace the local directory and server name here
792: with the location of your ports collection and a nearby anoncvs
793: server.]
794: <p>
795: Note that most ports are available as packages through FTP. Updated
796: packages for the 4.7 release will be made available if problems arise.
797: <p>
798: If you're interested in seeing a port added, would like to help out, or just
799: would like to know more, the mailing list ports@openbsd.org is a good
800: place to know.
801: <p>
802:
803: <hr>
804: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
805: alt="OpenBSD"></a>
806: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
807: <br><small>
1.29 ! miod 808: $OpenBSD: 47.html,v 1.28 2010/03/09 16:45:05 stsp Exp $
1.1 deraadt 809: </small>
810:
811: </body>
812: </html>