Annotation of www/50.html, Revision 1.5
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 5.0 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.0">
9: <meta name="keywords" content="openbsd,main">
10: <meta name="distribution" content="global">
11: <meta name="copyright" content="This document copyright 2011 by OpenBSD.">
12: </head>
13:
14: <body bgcolor="#ffffff" text="#000000" link="#24248E">
15:
16: <a href="index.html">
17: <img alt="[OpenBSD]" height="30" width="141" hspace="24" src="images/smalltitle.gif" border="0"></a>
18: <hr>
19:
20: <p>
21: <a href="images/MAD.jpg">
22: <img align="left" width="227" height="343" hspace="24" vspace="30"
23: src="images/MAD.jpg" alt="OpenBSD 5.0 logo"></a>
24: <h2><font color="#0000e0">The OpenBSD 5.0 Release:</font></h2>
25: <p>
26: To be released Nov 1, 2011<br>
27: Copyright 1997-2011, Theo de Raadt.<br>
28: <font color="#e00000">ISBN 978-0-9784475-8-8</font>
29: <br>
30: <a href="lyrics.html#50">5.0 Song: "What Me Worry?"</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/5.0/</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="errata50.html">The 5.0 Errata page</a> for a list
50: of bugs and workarounds.
51: <li>See a <a href="plus50.html">detailed log of changes</a> between the
52: 4.9 and 5.0 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.0.
70: For a comprehensive list, see the <a href="plus50.html">changelog</a> leading
71: to 5.0.
72: <p>
73:
74: <ul>
75:
1.2 deraadt 76: <li>Improved hardware support, including:
77: <ul>
78: <li>MSI interrupts for many devices, on those architectures which can
79: support them (amd64, i386, sparc64 only so far).
80: <li>A new dma_alloc(9) API makes it easier for kernel code to allocate
81: dma-safe memory. Many drivers (especially network drivers) and
82: subsystems (in particular scsi and the buffer cache) were adapted
83: to use this.
84: <li>As a result, big-memory support has been enabled on all possible
85: architectures.
86: <li>The rather rare bce(4) driver now copies mbufs all the time, to cope
87: with the hardware having a 1GB limit.
88: <li>Added hds(4), a driver for Hitachi Modular Storage SCSI devices.
89: <li>Added myx(4), a driver for the Myricom Myri-10G 10GB Ethernet devices.
90: <li>Added dfs(4), a driver for Dynamic Frequency Switching on some macppc
91: systems.
92: <li>cardbus(4) and pcmcia(4) support on sgi.
93: <li>Suspend/resume support on Loongson Yeelong laptops.
94: </ul>
95: <p>
96:
97: <li>Generic network stack improvements:
98: <ul>
99: <li>Added support for sending Wake on Lan packets using arp(8).
100: <li>Permit turning Wake on Lan support on/off using ifconfig(8).
101: <li>Added Wake on Lan support to xl(4), re(4), and vr(4).
102: <li>Allow ftp-proxy to proxy across rdomains.
103: <li>The IPv4 stack will no longer accept ICMP redirects when
104: acting as a router.
105: <li>By default the IPv6 stack will not process ICMP6 redirects.
106: rtsol(8) will turn it back if -F is used.
107: <li>Reworked large parts of the dhclient(8) options processing for better
108: interoperability.
109: <li>Fixed carp(4) to work in IPv6 only setups.
110: <li>Make it possible to bind(2) to the local network broadcast address
111: on datagram and raw sockets.
112: <li>The default multicast reject route is now ignored if the UDP socket
113: uses the IP_MULTICAST_IF socket option.
114: <li>Make gre(4) work between systems in the same LAN.
115: <li>Removed the link1 mode special addressing mode on lo(4).
116: <li>Kernel randomization speed and quality improved substantially.
117: </ul>
118: <p>
119:
120: <li>Routing daemons and other userland network improvements:
121: <ul>
122: <li>bgpd(8) no longer bumps the rlimits: the rc.d framework respects
123: login classes which is a much better solution.
124: <li>Correctly set the network filtersets on reload in bgpd(8).
125: <li>The routing socket is now sending RTM_DESYNC messages if the
126: socketbuffer overflows.
127: <li>Allow ospfd(8) to send out LS updates and other messages
128: larger than the MTU.
129: <li>Fixed nexthop calculation in ospfd(8) for directly connected P2P links.
130: <li>First bits to support opaque LSA in ospfd(8). Only basic redistribute
131: logic and LSDB handling for now.
132: <li>Creating new interfaces will no longer cause a fatal error in ospf6d(8).
133: <li>ospf6d(8) handles link-state changes better.
134: <li>Better loopback handling in ospf6d(8).
135: <li>No longer install extra multicast routes in ripd(8) and ldpd(8).
136: <li>Make kqueue(2) work with sosplice(9).
137: <li>Enabled sosplice(9) in relayd(8) for TCP.
138: <li>Added support for divert-to which provides some benefits over
139: rdr-to in relayd(8).
140: <li>Fixed trap sending in snmpd(8).
141: <li>Make ping6(8) compare minimum amount of bytes between what
142: was received and what was sent out.
143: <li>Make traceroute(8) with type-of-service setted (-t) display
144: a message if the returned packet has a different tos type.
145: <li>Added the socket splicing fields of struct socket to netstat -vP output.
146: </ul>
147: <p>
148:
149: <li>pf(4) improvements:
150: <ul>
151: <li>Make pf(4) reassemble IPv6 fragments. In the forward case, pf
152: refragments the packets with the same maximum size.
153: <li>Allow pf(4) to filter on the rdomain a packet belongs to.
154: <li>Make pf(4) allow userland proxies to establish cross rdomain
155: proxy sessions.
156: <li>Added IPv6 ACK prioritization in pf(4).
157: <li>Change 'set skip on <...>' to work with interface groups.
158: <li>pfsync(4) supports IPv6 as network protocol.
159: <li>Switched ftp-proxy(8) over to divert-to instead of rdr-to.
160: <li>tftp-proxy(8) uses 'divert-to' as well.
161: </ul>
162: <p>
163:
164: <li>SCSI improvements:
165: <ul>
166: <li>most SCSI hardware drivers now use the new iopools infrastructure.
167: <li>scsi(4) devices are now all provided with a unique devid, which
168: is displayed during the probe process.
169: <li>ASC/ASCQ error codes and verbiage now in sync with
170: http://www.t10.org/lists/asc-num.txt.
171: <li>progress on iSCSI includes better login, better logout, preliminary
172: FSM support in iscsid(8), and improved logging and debug information.
173: <li>uk(4) can now safely and reliably detach an unknown SCSI device.
174: <li>mpath(4) device and kernel support is improved.
175: <li>vscsi(4) now ensures output always goes to the correct connection.
176: <li>vscsi(4) connections can now be reset gracefully.
177: <li>scsi(4) devices on fibre channel fabrics no longer inherit the adapter's
178: address.
179: </ul>
180: <p>
181:
182: <li>Assorted improvements:
183: <ul>
184: <li>For additional security, security(8) was rewritten in Perl.
185: <li>Mandoc 1.11.4: Now accepts eqn(7) input (no fancy formatting yet)
186: and supports -Tutf8 output (but no utf8 input yet).
187: <li>Removed a variety of OS-compat emulation code, leaving just the Linux
188: support.
189: <li>Small improvements to Linux compat (only available on i386).
190: <li>Improved our own pkg-config(1) implementation with extended comparison
191: scheme and implementing various new options.
192: <li>The math library, libm, was fully fleshed out to support all C99 required
193: parts. Many bugs for various architectures were fixed along the way.
194: <li>malloc(3) is a lot faster and has a few further security features (more
195: randomization, as well as the 'S' flag to enable all paranoia checks).
196: <li>'make depend' is no longer neccessary in kernel compilation directories
197: since the dependencies are calculated automatically.
198: <li>Increased the default size of the buffer cache.
199: <li>kqueue(2) now works on /dev/random and spliced sockets
200: <li>On MBR-based disks, scan through up to 256 extended partition tables
201: when looking for an OpenBSD partition table.
202: <li>Added POSIX 2008 fdopendir(3) and openat(2) functions, as well as the
203: O_CLOEXEC, O_DIRECTORY, and F_DUPFD_CLOEXEC flags.
204: <li>Improved lint format string checks and added a few other checks.
205: <li>kdump(8) now dumps stat and sockaddr structures, sysctl mib
206: strings, and decodes syscall flags and operation bits.
207: <li>Improved kernel pool debug checking.
208: <li>Improved correctness of signals and various syscalls when rthreads
209: are in use.
210: <li>Kernel malloc(9) space and stacks moved to non-dma memory.
211: <li>Fixed some shutdown/reboot hangs on NFS clients.
212: <li>UNIX-domain socket paths are now guaranteed to be NUL-terminated.
213: <li>Added support for *wprintf(3), wcs{,n}casecmp(3), and wcsdup(3).
214: <li>NULL is now a (void *).
215: </ul>
216: <p>
217:
218: <li>Install/Upgrade process changes:
219: <ul>
220: <li>Completed support for DUID disk installs, and enabled it fully.
221: <li>Tried to make sysmerge(8) work in the installer, but ran into small
222: problems and decided to disable it.
223: <li>Install non-free firmwares from the internet upon first boot, based on a
224: question in the installer.
225: <li>svnd(4)-like behaviour became the default for vnd(4) devices. This is
226: what is used to build the media.
227: </ul>
228: <p>
229:
230: <li>rc.d(8) framework improvements:
231: <ul>
1.3 deraadt 232: <li>rc.d(8) is now also used for the base system daemons.
1.2 deraadt 233: <li>Backward compatible with the historic way of starting daemons.
234: <li>Notify the user by appending (ok) or (failed) in interactive mode.
235: <li>Better diagnostics with the introduction of RC_DEBUG.
236: </ul>
237: <p>
238:
1.5 ! djm 239: <li>OpenSSH 5.9:
1.2 deraadt 240: <ul>
241: <li>New features:
242: <ul>
1.5 ! djm 243: <li>Introduce sandboxing of the pre-auth privsep child using an optional
! 244: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5">sshd_config(5)</a>
! 245: "UsePrivilegeSeparation=sandbox" mode that enables mandatory
! 246: restrictions on the syscalls the privsep child can perform.
! 247: <li>Add new SHA256-based HMAC transport integrity modes from
! 248: http://www.ietf.org/id/draft-dbider-sha2-mac-for-ssh-02.txt
! 249: These modes are hmac-sha2-256, hmac-sha2-256-96, hmac-sha2-512,
! 250: and hmac-sha2-512-96, and are available by default in
! 251: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
! 252: and
! 253: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>.
! 254: <li>The pre-authentication
! 255: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>
! 256: privilege separation slave process now logs via a socket shared with
! 257: the master process, avoiding the need to maintain /dev/log inside the
! 258: chroot.
! 259: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
! 260: now warns when a server refuses X11 forwarding.
! 261: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5">sshd_config(5)</a>'s
! 262: AuthorizedKeysFile now accepts multiple paths, separated by whitespace.
! 263: The undocumented AuthorizedKeysFile2 option is deprecated (though the
! 264: default for AuthorizedKeysFile includes .ssh/authorized_keys2).
! 265: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5">sshd_config(5)</a>:
! 266: similarly deprecate UserKnownHostsFile2 and GlobalKnownHostsFile2 by
! 267: making UserKnownHostsFile and GlobalKnownHostsFile accept multiple
! 268: options and default to include known_hosts2.
! 269: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5">sshd_config(5)</a>'s
! 270: ControlPath option now expands %L to the host portion of the
! 271: destination host name.
! 272: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5">sshd_config(5)</a>
! 273: "Host" options now support negated Host matching.
! 274: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5">sshd_config(5)</a>:
! 275: a new RequestTTY option provides control over when a TTY is requested
! 276: for a connection, similar to the existing -t/-tt/-T
! 277: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
! 278: commandline options.
! 279: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-keygen&sektion=1">ssh-keygen(1)</a>:
! 280: Add -A option. For each of the key types (rsa1, rsa, dsa and ecdsa) for
! 281: which host keys do not exist, generate the host keys with the default
! 282: key file path, an empty passphrase, default bits for the key type, and
! 283: default comment. This is useful for system initialisation scripts.
! 284: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>:
! 285: Allow graceful shutdown of multiplexing: request that a mux server
! 286: removes its listener socket and refuse future multiplexing requests but
! 287: don't kill existing connections. This may be requested using
! 288: "ssh -O stop ...".
! 289: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-add&sektion=1">ssh-add(1)</a>:
! 290: now accepts keys piped from standard input.
1.2 deraadt 291: </ul>
292: <li>The following significant bugs have been fixed in this release:
293: <ul>
1.5 ! djm 294: <li>Retain key comments when loading v.2 keys. These will be visible in
! 295: "ssh-add -l" and other places. (bz#439)
! 296: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
! 297: and
! 298: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
! 299: set IPv6 traffic class from IPQoS (as well as IPv4 ToS/DSCP). (bz#1855)
! 300: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
! 301: allow GSSAPI authentication to detect when a server-side failure causes
! 302: authentication failure and don't count such failures against
! 303: MaxAuthTries. (bz#1244)
! 304: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-keysign&sektion=8">ssh-keysign(8)</a>:
! 305: now signs hostbased authentication challenges correctly using ECDSA
! 306: keys. (bz#1858)
! 307: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp&sektion=1">sftp(1)</a>:
! 308: document that sftp accepts square brackets to delimit addresses
! 309: (useful for IPv6). (bz#1847a)
! 310: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>:
! 311: when using session multiplexing, the master process will change its
! 312: process title to reflect the control path in use and when a
! 313: ControlPersist-ed master is waiting to close. (bz#1883 and bz#1911)
! 314: <li>Other minor bugs fixed: (bz#1849, bz#1861, bz#1862, bz#1869, bz#1875,
! 315: bz#1878, bz#1879, bz#1892, bz#1900, bz#1905, and bz#1913)
1.2 deraadt 316: </ul>
317: </ul>
318: <p>
319:
320: <li>Over 7,200 ports, major robustness and speed improvements in package tools.
321: <li>Many pre-built packages for each architecture:
322: <table border=0 cellspacing=0 cellpadding=2 width="95%">
323: <tr>
324: <td valign="top" width="25%">
325: <ul>
326: <li>i386: 7008
327: <li>sparc64: 6456
328: <li>alpha: 6046
329: </ul></td><td valign=top width="25%"><ul>
330: <li>sh: 3721
331: <li>amd64: 6960
332: <li>powerpc: 6691
333: </ul></td><td valign=top width="25%"><ul>
334: <li>sparc: 3277
335: <li>arm: 2963
336: <li>hppa: 6125
337: </ul></td><td valign=top width="25%"><ul>
338: <li>vax: 1409
339: <li>mips64: 5689
340: <li>mips64el: 5709
341: </ul></td></tr></table>
342: <p>
343:
344: <li>Some highlights:
345: <ul>
346: <li>Gnome 2.32.2 <li>KDE 3.5.10
347: <li>Xfce 4.8.0 <li>MySQL 5.1.54
348: <li>PostgreSQL 9.0.5 <li>Postfix 2.8.4
349: <li>OpenLDAP 2.3.43 and 2.4.25 <li>Mozilla Firefox 3.5.19, 3.6.18 and 5.0
350: <li>Mozilla Thunderbird 5.0 <li>GHC 7.0.4
351: <li>LibreOffice 3.4.1.3 <li>Emacs 21.4, 22.3 and 23.3
352: <li>Vim 7.3.154 <li>PHP 5.2.17 and 5.3.6
353: <li>Python 2.4.6, 2.5.4 and 2.7.1 <li>Ruby 1.8.7.352 and 1.9.2.200
354: <li>Mono 2.10.2 <li>Chromium 12.0.742.122
355: <li>Groff 1.21
356: </ul>
357: <p>
358:
359: <li>As usual, steady improvements in manual pages and other documentation.
360: <li>Base system and Xenocara manuals are now installed as source code,
361: making grep(1) more useful in /usr/share/man/ and /usr/X11R6/man/.
362: <li>If both formatted and source versions of manuals are installed,
363: man(1) automatically displays the newer version of each page.
364:
365: - The system includes the following major components from outside suppliers:
366: <li>Xenocara (based on X.Org 7.6 with xserver 1.9 + patches,
367: freetype 2.4.5, fontconfig 2.8.0, Mesa 7.8.2, xterm 270,
368: xkeyboard-config 2.3 and more)
369: <li>Gcc 2.95.3 (+ patches), 3.3.5 (+ patches) and 4.2.1 (+patches)
370: <li>Perl 5.12.2 (+ patches)
371: <li>Our improved and secured version of Apache 1.3, with
372: SSL/TLS and DSO support
373: <li>OpenSSL 1.0.0a (+ patches)
374: <li>Sendmail 8.14.5, with libmilter
375: <li>Bind 9.4.2-P2 (+ patches)
376: <li>Lynx 2.8.7rel.2 with HTTPS and IPv6 support (+ patches)
377: <li>Sudo 1.7.2p8
378: <li>Ncurses 5.7
379: <li>Heimdal 0.7.2 (+ patches)
380: <li>Arla 0.35.7
381: <li>Binutils 2.15 (+ patches)
382: <li>Gdb 6.3 (+ patches)
383: </ul>
1.1 deraadt 384:
385: </ul>
386:
387: <a name="install"></a>
388: <hr>
389: <p>
390: <h3><font color="#0000e0">How to install</font></h3>
391: <p>
392: Following this are the instructions which you would have on a piece of
393: paper if you had purchased a CDROM set instead of doing an alternate
394: form of install. The instructions for doing an FTP (or other style
395: of) install are very similar; the CDROM instructions are left intact
396: so that you can see how much easier it would have been if you had
397: purchased a CDROM instead.
398: <p>
399:
400: <hr>
401: Please refer to the following files on the three CDROMs or FTP mirror for
402: extensive details on how to install OpenBSD 5.0 on your machine:
403: <p>
404: <ul>
405: <li>CD1:5.0/i386/INSTALL.i386
406: <p>
407: <li>CD2:5.0/amd64/INSTALL.amd64
408: <li>CD2:5.0/macppc/INSTALL.macppc
409: <p>
410: <li>CD3:5.0/sparc64/INSTALL.sparc64
411: <p>
412: <li>FTP:.../OpenBSD/5.0/alpha/INSTALL.alpha
413: <li>FTP:.../OpenBSD/5.0/armish/INSTALL.armish
414: <li>FTP:.../OpenBSD/5.0/hp300/INSTALL.hp300
415: <li>FTP:.../OpenBSD/5.0/hppa/INSTALL.hppa
416: <li>FTP:.../OpenBSD/5.0/landisk/INSTALL.landisk
417: <li>FTP:.../OpenBSD/5.0/loongson/INSTALL.loongson
418: <li>FTP:.../OpenBSD/5.0/mvme68k/INSTALL.mvme68k
419: <li>FTP:.../OpenBSD/5.0/mvme88k/INSTALL.mvme88k
420: <li>FTP:.../OpenBSD/5.0/sgi/INSTALL.sgi
421: <li>FTP:.../OpenBSD/5.0/socppc/INSTALL.socppc
422: <li>FTP:.../OpenBSD/5.0/sparc/INSTALL.sparc
423: <li>FTP:.../OpenBSD/5.0/vax/INSTALL.vax
424: <li>FTP:.../OpenBSD/5.0/zaurus/INSTALL.zaurus
425: </ul>
426: <hr>
427:
428: <p>
429: Quick installer information for people familiar with OpenBSD, and the
430: use of the "disklabel -E" command. If you are at all confused when
431: installing OpenBSD, read the relevant INSTALL.* file as listed above!
432: <p>
433:
434: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
435: <ul>
436: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
437: release is on CD1. If your BIOS does not support booting from CD, you will need
438: to create a boot floppy to install from. To create a boot floppy write
439: <i>CD1:5.0/i386/floppy50.fs</i> to a floppy and boot via the floppy drive.
440:
441: <p>
442: Use <i>CD1:5.0/i386/floppyB50.fs</i> instead for greater SCSI controller
443: support, or <i>CD1:5.0/i386/floppyC50.fs</i> for better laptop support.
444:
445: <p>
446: If you can't boot from a CD or a floppy disk,
447: you can install across the network using PXE as described in
448: the included INSTALL.i386 document.
449:
450: <p>
451: If you are planning on dual booting OpenBSD with another OS, you will need to
452: read INSTALL.i386.
453:
454: <p>
455: To make a boot floppy under MS-DOS, use the "rawrite" utility located
456: at <i>CD1:5.0/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
457: use the
458: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
459: utility. The following is an example usage of
460: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
461: where the device could be "floppy", "rfd0c", or
462: "rfd0a".
463:
464: <ul><pre>
465: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
466: </pre></ul>
467:
468: <p>
469: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
470: your install will most likely fail. For more information on creating a boot
471: floppy and installing OpenBSD/i386 please refer to
472: <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
473: </ul>
474:
475: <p>
476: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
477: <ul>
478: The 5.0 release of OpenBSD/amd64 is located on CD2.
479: Boot from the CD to begin the install - you may need to adjust
480: your BIOS options first.
481: If you can't boot from the CD, you can create a boot floppy to install from.
482: To do this, write <i>CD2:5.0/amd64/floppy50.fs</i> to a floppy, then
483: boot from the floppy drive.
484:
485: <p>
486: If you can't boot from a CD or a floppy disk,
487: you can install across the network using PXE as described in the included
488: INSTALL.amd64 document.
489:
490: <p>
491: If you are planning to dual boot OpenBSD with another OS, you will need to
492: read INSTALL.amd64.
493: </ul>
494:
495: <p>
496: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
497: <ul>
498: Put CD2 in your CDROM drive and poweron your machine while holding down the
499: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
500:
501: <p>
502: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
503: /5.0/macppc/bsd.rd</i>
504: </ul>
505:
506: <p>
507: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
508: <ul>
509: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
510:
511: <p>
512: If this doesn't work, or if you don't have a CDROM drive, you can write
513: <i>CD3:5.0/sparc64/floppy50.fs</i> or <i>CD3:5.0/sparc64/floppyB50.fs</i>
514: (depending on your machine) to a floppy and boot it with <i>boot
515: floppy</i>. Refer to INSTALL.sparc64 for details.
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: You can also write <i>CD3:5.0/sparc64/miniroot50.fs</i> to the swap partition on
523: the disk and boot with <i>boot disk:b</i>.
524:
525: <p>
526: If nothing works, you can boot over the network as described in INSTALL.sparc64.
527: </ul>
528:
529: <p>
530: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
531: <ul>
532: <p>Write <i>FTP:5.0/alpha/floppy50.fs</i> or
533: <i>FTP:5.0/alpha/floppyB50.fs</i> (depending on your machine) to a diskette and
534: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
535:
536: <p>
537: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
538: will most likely fail.
539:
540: </ul>
541:
542: <p>
543: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
544: <ul>
545: <p>
546: After connecting a serial port, Thecus can boot directly from the network
547: either tftp or http. Configure the network using fconfig, reset,
548: then load bsd.rd, see INSTALL.armish for specific details.
549: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
550: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
551: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
552: More details are available in INSTALL.armish.
553: </ul>
554:
555: <p>
556: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
557: <ul>
558: <p>
559: Boot over the network by following the instructions in INSTALL.hp300.
560: </ul>
561:
562: <p>
563: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
564: <ul>
565: <p>
566: Boot over the network by following the instructions in INSTALL.hppa or the
567: <a href="hppa.html#install">hppa platform page</a>.
568: </ul>
569:
570: <p>
571: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
572: <ul>
573: <p>
574: Write <i>miniroot50.fs</i> to the start of the CF
575: or disk, and boot normally.
576: </ul>
577:
578: <p>
579: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
580: <ul>
581: <p>
582: Write <i>miniroot50.fs</i> to a USB stick and boot bsd.rd from it
583: or boot bsd.rd via tftp.
584: Refer to the instructions in INSTALL.loongson for more details.
585: </ul>
586: <p>
587:
588: <p>
589: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
590: <ul>
591: <p>
592: You can create a bootable installation tape or boot over the network.<br>
593: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
594: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
595: for more details.
596: </ul>
597:
598: <p>
599: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
600: <ul>
601: <p>
602: You can create a bootable installation tape or boot over the network.<br>
603: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
604: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
605: for more details.
606: </ul>
607:
608: <p>
609: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
610: <ul>
611: <p>
612: To install on an O2, burn cd50.iso on a CD-R, put it in the CD drive of your
613: machine and select <i>Install System Software</i> from the System Maintenance
614: menu.
615:
616: <p>
617: On other systems, or if your machine doesn't have a CD drive, you can
618: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd.IP##" using
619: the kernel matching your system type.
620: Refer to the instructions in INSTALL.sgi for more details.
621: </ul>
622:
623: <p>
624: <h3><font color="#e00000">OpenBSD/socppc:</font></h3>
625: <ul>
626: <p>
627: After connecting a serial port, boot over the network via DHCP/tftp.
628: Refer to the instructions in INSTALL.socppc for more details.
629: </ul>
630:
631: <p>
632: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
633: <ul>
634: Boot from one of the provided install ISO images, using one of the two
635: commands listed below, depending on the version of your ROM.
636:
637: <ul><pre>
638: ok <strong>boot cdrom 5.0/sparc/bsd.rd</strong>
639: or
640: > <strong>b sd(0,6,0)5.0/sparc/bsd.rd</strong>
641: </pre></ul>
642:
643: <p>
644: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
645: To do so you need to write <i>floppy50.fs</i> to a floppy.
646: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
647: To boot from the floppy use one of the two commands listed below,
648: depending on the version of your ROM.
649:
650: <ul><pre>
651: ok <strong>boot floppy</strong>
652: or
653: > <strong>b fd()</strong>
654: </pre></ul>
655:
656: <p>
657: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
658: will most likely fail.
659:
660: <p>
661: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
662: setup a bootable tape, or install via network, as told in the
663: INSTALL.sparc file.
664: </ul>
665:
666: <p>
667: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
668: <ul>
669: Boot over the network via mopbooting as described in INSTALL.vax.
670: </ul>
671:
672: <p>
673: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
674: <ul>
675: <p>
676: Using the Linux built-in graphical ipkg installer, install the
677: openbsd50_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
678: for a few important details.
679: </ul>
680:
681: <p>
682: <h3><font color="#e00000">Notes about the source code:</font></h3>
683: <ul>
684: src.tar.gz contains a source archive starting at /usr/src. This file
685: contains everything you need except for the kernel sources, which are
686: in a separate archive. To extract:
687: <p>
688: <ul><pre>
689: # <strong>mkdir -p /usr/src</strong>
690: # <strong>cd /usr/src</strong>
691: # <strong>tar xvfz /tmp/src.tar.gz</strong>
692: </pre></ul>
693: <p>
694: sys.tar.gz contains a source archive starting at /usr/src/sys.
695: This file contains all the kernel sources you need to rebuild kernels.
696: To extract:
697: <p>
698: <ul><pre>
699: # <strong>mkdir -p /usr/src/sys</strong>
700: # <strong>cd /usr/src</strong>
701: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
702: </pre></ul>
703: <p>
704: Both of these trees are a regular CVS checkout. Using these trees it
705: is possible to get a head-start on using the anoncvs servers as
706: described <a href="anoncvs.html">here</a>.
707: Using these files
708: results in a much faster initial CVS update than you could expect from
709: a fresh checkout of the full OpenBSD source tree.
710: <p>
711: </ul>
712:
713: <a name="upgrade"></a>
714: <hr>
715: <p>
716: <h3><font color="#0000e0">How to upgrade</font></h3>
717: <p>
718: If you already have an OpenBSD 4.9 system, and do not want to reinstall,
719: upgrade instructions and advice can be found in the
720: <a href="faq/upgrade50.html">Upgrade Guide</a>.
721:
722: <a name="ports"></a>
723: <hr>
724: <p>
725: <h3><font color="#0000e0">Ports Tree</font></h3>
726: <p>
727: A ports tree archive is also provided. To extract:
728: <p>
729: <ul><pre>
730: # <strong>cd /usr</strong>
731: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
732: # <strong>cd ports</strong>
733: </pre></ul>
734: <p>
735: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
736: read the <a href="faq/ports/index.html">ports</a> page
737: if you know nothing about ports
738: at this point. This text is not a manual of how to use ports.
739: Rather, it is a set of notes meant to kickstart the user on the
740: OpenBSD ports system.
741: <p>
742: The <i>ports/</i> directory represents a CVS (see the manpage for
743: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386">
744: cvs(1)</a> if
745: you aren't familiar with CVS) checkout of our ports. As with our complete
746: source tree, our ports tree is available via anoncvs. So, in
747: order to keep current with it, you must make the <i>ports/</i> tree
748: available on a read-write medium and update the tree with a command
749: like:
750: <p>
751: <ul><pre>
1.4 nick 752: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_0</strong>
1.1 deraadt 753: </pre></ul>
754: <p>
755: [Of course, you must replace the local directory and server name here
756: with the location of your ports collection and a nearby anoncvs
757: server.]
758: <p>
759: Note that most ports are available as packages through FTP. Updated
760: packages for the 5.0 release will be made available if problems arise.
761: <p>
762: If you're interested in seeing a port added, would like to help out, or just
763: would like to know more, the mailing list ports@openbsd.org is a good
764: place to know.
765: <p>
766:
767: <hr>
768: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
769: alt="OpenBSD"></a>
770: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
771: <br><small>
1.5 ! djm 772: $OpenBSD: 50.html,v 1.4 2011/10/30 16:24:42 nick Exp $
1.1 deraadt 773: </small>
774:
775: </body>
776: </html>