Annotation of www/46.html, Revision 1.38
1.38 ! bentley 1: <!doctype html>
! 2: <html lang=en id=release>
! 3: <meta charset=utf-8>
! 4:
1.22 deraadt 5: <title>OpenBSD 4.6</title>
1.1 deraadt 6: <meta name="description" content="OpenBSD 4.6">
1.32 tj 7: <meta name="viewport" content="width=device-width, initial-scale=1">
8: <link rel="stylesheet" type="text/css" href="openbsd.css">
1.34 tb 9: <link rel="canonical" href="https://www.openbsd.org/46.html">
1.38 ! bentley 10: <style>
! 11: #sourcecode h3 {
! 12: color: var(--red);
! 13: }
! 14:
! 15: #sourcecode p {
! 16: margin-left: 2.75em;
! 17: }
! 18:
! 19: #sourcecode blockquote {
! 20: margin-left: 4.5em;
! 21: }
! 22: </style>
1.1 deraadt 23:
1.38 ! bentley 24: <h2 id=OpenBSD>
1.1 deraadt 25: <a href="index.html">
1.38 ! bentley 26: <i>Open</i><b>BSD</b></a>
! 27: 4.6
1.32 tj 28: </h2>
1.1 deraadt 29:
1.38 ! bentley 30: <table>
! 31: <tr>
! 32: <td>
1.5 deraadt 33: <a href="images/PlanetUsers.jpg">
1.38 ! bentley 34: <img width="227" height="343" src="images/PlanetUsers.jpg" alt="Planet of the Users"></a>
! 35: <td>
1.17 deraadt 36: Released Oct 18, 2009<br>
1.1 deraadt 37: Copyright 1997-2009, Theo de Raadt.<br>
1.38 ! bentley 38: <cite class=isbn>ISBN 978-0-9784475-4-0</cite>
1.1 deraadt 39: <br>
1.29 deraadt 40: 4.6 Song: <a href="lyrics.html#46">"Planet of the Users"</a>
1.37 deraadt 41: <br>
42: <br>
1.1 deraadt 43: <ul>
44: <li>See the information on <a href="ftp.html">The FTP page</a> for
45: a list of mirror machines.
1.38 ! bentley 46: <li>Go to the <code class=reldir>pub/OpenBSD/4.6/</code> directory on
1.1 deraadt 47: one of the mirror sites.
48: <li>Have a look at <a href="errata46.html">The 4.6 Errata page</a> for a list
49: of bugs and workarounds.
50: <li>See a <a href="plus46.html">detailed log of changes</a> between the
51: 4.5 and 4.6 releases.
52: </ul>
1.32 tj 53: <p>
54: All applicable copyrights and credits are in the src.tar.gz,
55: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
56: files fetched via ports.tar.gz.
1.38 ! bentley 57: </table>
1.32 tj 58:
59: <hr>
1.1 deraadt 60:
1.38 ! bentley 61: <section id=new>
! 62: <h3>What's New</h3>
! 63:
1.1 deraadt 64: <p>
65: This is a partial list of new features and systems included in OpenBSD 4.6.
66: For a comprehensive list, see the <a href="plus46.html">changelog</a> leading
67: to 4.6.
68: <p>
69:
70: <ul>
71:
72: <li>New/extended platforms:
73: <ul>
1.15 miod 74: <li> mvme68k
1.2 deraadt 75: <ul>
76: <li>Added support for the MVME141 and MVME165 boards.
77: </ul>
1.3 deraadt 78: <li>sparc
79: <ul>
80: <li>The bootblock load address was moved so that larger kernels
81: can be loaded.
82: </ul>
1.2 deraadt 83: <li>sparc64
84: <ul>
85: <li>Added acceleration support for many of the PCI frame buffer
86: drivers, such as Sun PGX, PGX64 and XVR-100, and Tech Source
87: Raptor GFX graphics cards.
88: </ul>
89: <li>sgi
90: <ul>
91: <li> Added support for the SGI Octane, SGI Origin 200 and SGI Fuel
92: families of systems.
93: <li> Several bugs in interrupt handling have been fixed, resulting
94: in much snappier system response.
95: </ul>
1.1 deraadt 96: </ul>
97: <p>
98:
99: <li>Improved hardware support, including:
1.2 deraadt 100: <ul>
101: <li>Several new/improved drivers for sensors, including:
102: <ul>
1.38 ! bentley 103: <li>The <a href="https://man.openbsd.org/ips.4">ips(4)</a> driver now has sensor support, complementing the bio support.
! 104: <li>The <a href="https://man.openbsd.org/acpithinkpad.4">acpithinkpad(4)</a> driver now has temperature and fan sensor support.
! 105: <li>New <a href="https://man.openbsd.org/endrun.4">endrun(4)</a> driver for the EndRun Technologies timedelta sensor.
! 106: <li>The <a href="https://man.openbsd.org/fins.4">fins(4)</a> driver now has support for F71806, F71862 and F71882.
! 107: <li>The <a href="https://man.openbsd.org/acpitz.4">acpitz(4)</a> driver now shows correct decimals for temperature.
1.2 deraadt 108: </ul>
1.38 ! bentley 109: <li>Added <a href="https://man.openbsd.org/radeonfb.4">radeonfb(4)</a> to sparc64, an accelerated framebuffer for
1.2 deraadt 110: Sun XVR-100 boards.
1.38 ! bentley 111: <li>Added support in <a href="https://man.openbsd.org/re.4">re(4)</a> for RTL8103E and RTL8168DP devices.
! 112: <li>Added support for BCM5709/BCM5716 devices in the <a href="https://man.openbsd.org/bnx.4">bnx(4)</a> driver.
! 113: <li>Added support for ICH10 variants of <a href="https://man.openbsd.org/em.4">em(4)</a>.
! 114: <li>Added support for VIA VX855 chipset in the <a href="https://man.openbsd.org/viapm.4">viapm(4)</a> and <a href="https://man.openbsd.org/pciide.4">pciide(4)</a> drivers.
! 115: <li>Added support for Intel SCH IDE to <a href="https://man.openbsd.org/pciide.4">pciide(4)</a>.
! 116: <li>Added support for the Broadcom HT-1100 chipset in the <a href="https://man.openbsd.org/piixpm.4">piixpm(4)</a> driver.
! 117: <li>Added support for 82574L based devices in the <a href="https://man.openbsd.org/em.4">em(4)</a> driver.
! 118: <li>A number of network drivers including <a href="https://man.openbsd.org/ix.4">ix(4)</a>, <a href="https://man.openbsd.org/sis.4">sis(4)</a>, <a href="https://man.openbsd.org/msk.4">msk(4)</a>, <a href="https://man.openbsd.org/bnx.4">bnx(4)</a>, and <a href="https://man.openbsd.org/vr.4">vr(4)</a> now
1.2 deraadt 119: use MCLGETI(9) to reduce memory usage and increase performance under load
120: and attack.
1.38 ! bentley 121: <li>Added support for VIA CX800 south bridge to the <a href="https://man.openbsd.org/viapm.4">viapm(4)</a> driver.
! 122: <li>Added support in <a href="https://man.openbsd.org/em.4">em(4)</a> for the newer 82575 (and maybe 82576) chips.
! 123: <li><a href="https://man.openbsd.org/zyd.4">zyd(4)</a> now supports devices with Airoha AL2230S radios.
! 124: <li><a href="https://man.openbsd.org/zyd.4">zyd(4)</a> now works on big-endian machines
! 125: <li><a href="https://man.openbsd.org/urtw.4">urtw(4)</a> now supports RTL8187B based devices.
! 126: <li>New <a href="https://man.openbsd.org/otus.4">otus(4)</a> driver for Atheros AR9001U USB 802.11a/b/g/Draft-N
1.2 deraadt 127: wireless devices.
1.38 ! bentley 128: <li>New <a href="https://man.openbsd.org/berkwdt.4">berkwdt(4)</a> driver for Berkshire Products PCI watchdog timers.
! 129: <li>New <a href="https://man.openbsd.org/udl.4">udl(4)</a> driver for USB video devices.
! 130: <li>Support for a variety of newer models in <a href="https://man.openbsd.org/bge.4">bge(4)</a>.
! 131: <li>Initial version of <a href="https://man.openbsd.org/vsw.4">vsw(4)</a>, a driver for the virtual network switch on
1.2 deraadt 132: sun4v sparc64s.
1.38 ! bentley 133: <li>Implemented <a href="https://man.openbsd.org/machfb.4">machfb(4)</a>, an accelerated driver for the sparc64 PGX/PGX64
1.2 deraadt 134: framebuffers.
1.38 ! bentley 135: <li>Added a <a href="https://man.openbsd.org/vcc.4">vcc(4)</a> and <a href="https://man.openbsd.org/vcctty.4">vcctty(4)</a> driver for the "Virtual Console Concentrator"
1.2 deraadt 136: found on the control domain of sun4v systems.
1.38 ! bentley 137: <li>Implemented 64-bit FIFO modes for <a href="https://man.openbsd.org/ciss.4">ciss(4)</a> devices.
! 138: <li>Enable hardware VLAN tagging/stripping on <a href="https://man.openbsd.org/ix.4">ix(4)</a>.
! 139: <li>Added basic support for Envy24HT chips in the <a href="https://man.openbsd.org/envy.4">envy(4)</a> driver.
! 140: <li>Many improvements and updates to the <a href="https://man.openbsd.org/isp.4">isp(4)</a> driver.
! 141: <li>Added support for 88E8057-based Yukon 2 Ultra 2-devices in <a href="https://man.openbsd.org/msk.4">msk(4)</a>.
! 142: <li>The <a href="https://man.openbsd.org/ips.4">ips(4)</a> driver now works reliably.
! 143: <li>Added <a href="https://man.openbsd.org/raptor.4">raptor(4)</a>, an accelerated framebuffer driver for the Tech Source
1.2 deraadt 144: Raptor GFX cards on the sparc64 platform.
1.38 ! bentley 145: <li>Enabled <a href="https://man.openbsd.org/schsio.4">schsio(4)</a> on i386 and amd64 and added watchdog timer support.
! 146: <li>New <a href="https://man.openbsd.org/acpivideo.4">acpivideo(4)</a> driver for ACPI display switching and brightness control.
1.2 deraadt 147: </ul>
1.1 deraadt 148: <p>
149:
150: <li>New tools:
1.2 deraadt 151: <ul>
1.38 ! bentley 152: <li>Added <a href="https://man.openbsd.org/smtpd.8">smtpd(8)</a>, a new privilege-separated SMTP daemon.
! 153: <li>Imported the <a href="https://man.openbsd.org/tmux.1">tmux(1)</a> terminal multiplexer, replacing window(1).
1.2 deraadt 154: </ul>
155: <p>
156:
1.38 ! bentley 157: <li><a href="https://man.openbsd.org/pf.4">pf(4)</a> improvements:
1.2 deraadt 158: <ul>
1.38 ! bentley 159: <li>Enabled <a href="https://man.openbsd.org/pf.4">pf(4)</a> by default in the rc.conf(8).
! 160: <li>Removed <a href="https://man.openbsd.org/pf.4">pf(4)</a> scrub rules, and only do one kind of packet reassembly.
1.2 deraadt 161: Rulesets with scrub rules need to be modified because of this.
162: <li>Regular rules can now have per-rule scrub options.
163: <li>Added new "match" keyword which only applies rule options but does
164: not change the current pass/block state.
1.38 ! bentley 165: <li>Make all <a href="https://man.openbsd.org/pf.4">pf(4)</a> operations transactional to improve atomicity of reloads.
! 166: <li>Stricter <a href="https://man.openbsd.org/pf.4">pf(4)</a> checking for ICMP and ICMPv6 packets.
! 167: <li>Various improvements to <a href="https://man.openbsd.org/pfsync.4">pfsync(4)</a> to lower sync traffic bandwidth and
1.2 deraadt 168: optionally allow active-active firewall setups.
1.38 ! bentley 169: <li>Fix <a href="https://man.openbsd.org/pf.4">pf(4)</a> scrub max-mss for IPv6 traffic.
1.2 deraadt 170: </ul>
1.1 deraadt 171: <p>
172:
1.2 deraadt 173: <li>OpenBGPD, OpenOSPFD and other routing daemon improvements:
174: <ul>
1.38 ! bentley 175: <li>In <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a>, rework most of the RDE to allow multiple RIBs.
1.2 deraadt 176: It is possible to filter per-RIB and attach neighbors to a specific RIB.
1.38 ! bentley 177: <li>Added an option to <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a> to change the "connect-retry" timer.
! 178: <li>Allow <a href="https://man.openbsd.org/bgpd.conf.5">bgpd.conf(5)</a> and <a href="https://man.openbsd.org/bgpctl.8">bgpctl(8)</a> to contain 32-bit ASN numbers written in
1.2 deraadt 179: ASPLAIN format.
1.38 ! bentley 180: <li>Fix <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a> to correctly encode MP unreachable NLRI so IPv6 prefixes get
1.2 deraadt 181: removed correctly.
1.38 ! bentley 182: <li>Changed the behaviour of "redistribute default" for <a href="https://man.openbsd.org/ospfd.8">ospfd(8)</a> and <a href="https://man.openbsd.org/ripd.8">ripd(8)</a>.
1.2 deraadt 183: A default route has to be present in the FIB to be correctly advertised.
1.38 ! bentley 184: <li>Make <a href="https://man.openbsd.org/ospfd.8">ospfd(8)</a> and <a href="https://man.openbsd.org/ripd.8">ripd(8)</a> track reject and blackhole routes and allow
1.2 deraadt 185: them to be redistributed even if pointing to 127.0.0.1.
1.38 ! bentley 186: <li>Allow to specify an alternate control socket for <a href="https://man.openbsd.org/ospfd.8">ospfd(8)</a>.
! 187: <li><a href="https://man.openbsd.org/ospfd.8">ospfd(8)</a> can now be bound into an alternate routing domain.
! 188: <li>Fix <a href="https://man.openbsd.org/ospfd.8">ospfd(8)</a> route metric for "redistribute default".
! 189: <li>Initial version of <a href="https://man.openbsd.org/ldpctl.8">ldpctl(8)</a> and <a href="https://man.openbsd.org/ldpd.8">ldpd(8)</a>, a label distribution protocol
1.2 deraadt 190: daemon for mpls.
1.38 ! bentley 191: <li>Make <a href="https://man.openbsd.org/dvmrp.8">dvmrp(8)</a> RDE aware of multicast group members per interface.
! 192: <li>Support for pruning in <a href="https://man.openbsd.org/dvmrp.8">dvmrp(8)</a>.
1.2 deraadt 193: </ul>
1.1 deraadt 194: <p>
195:
1.2 deraadt 196: <li>Generic Network-Stack improvements:
197: <ul>
198: <li>Support for virtual routing and firewalling with the addition of routing
199: domains.
1.38 ! bentley 200: <li>Add code in <a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a> to bind an interface to a routing domain.
! 201: <li>Add support to <a href="https://man.openbsd.org/ping.8">ping(8)</a>, <a href="https://man.openbsd.org/traceroute.8">traceroute(8)</a>, <a href="https://man.openbsd.org/arp.8">arp(8)</a>, <a href="https://man.openbsd.org/nc.1">nc(1)</a> and <a href="https://man.openbsd.org/telnet.1">telnet(1)</a> to
1.2 deraadt 202: specify which routing domain to use.
1.38 ! bentley 203: <li>Allow <a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a> to turn off IPv6 completely for an interface and
1.2 deraadt 204: make rtsold(8) turn on inet6 on the interface.
205: <li>Routes track the interface link state.
1.38 ! bentley 206: <li><a href="https://man.openbsd.org/route.8">route(8)</a> flush accepts "-iface" or "-priority" to only flush routes
1.2 deraadt 207: matching these conditions.
208: <li>Multiple dhclients can now coexist without causing mayhem.
209: <li>Make wireless interfaces have an interface priority of 4 by default.
210: Makes them less preferred then wired interfaces.
211: <li>Do not accept IPv4 ICMP redirects by default.
1.38 ! bentley 212: <li>Added the MAC address to the log entries in <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a>.
! 213: <li>Make <a href="https://man.openbsd.org/systat.1">systat(1)</a> show interface description names in the interface view, and add new NFS server and client views.
! 214: <li>Make <a href="https://man.openbsd.org/tun.4">tun(4)</a> emulate link state depending on the open and close of the
1.2 deraadt 215: device fd.
216: <li>Use pf state-table information to speed up decision on whether a packet
217: is to be delivered locally or forwarded.
218: <li>More routing socket checks added to make userland applications more
219: resilient to kernel changes.
220: </ul>
1.1 deraadt 221: <p>
222:
223: <li>Install/Upgrade process changes:
1.2 deraadt 224: <ul>
1.38 ! bentley 225: <li>New <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a> automatic partition allocator with a variety of
1.2 deraadt 226: smart heuristics.
227: <li>The installer has been nearly rewritten mostly with a focus on
228: simplifying installation.
229: </ul>
1.1 deraadt 230: <p>
231:
232: <li>OpenSSH 5.3:
1.16 sobrado 233: <ul>
234: <li>Do not limit home directory paths to 256 characters. (bz #1615)
235: <li>Several minor documentation and correctness fixes.
236: </ul>
1.1 deraadt 237: <p>
238:
1.9 deraadt 239: <li>Over 5,800 ports, minor robustness improvements in package tools.
1.1 deraadt 240: <li>Many pre-built packages for each architecture:
1.38 ! bentley 241: <ul style="column-count: 3">
1.2 deraadt 242: <li>i386: 5606
243: <li>sparc64: 5413
244: <li>alpha: 5346
1.17 deraadt 245: <li>sh: 1261
1.2 deraadt 246: <li>amd64: 5544
247: <li>powerpc: 5427
248: <li>sparc: 3711
1.17 deraadt 249: <li>arm: 5291
1.2 deraadt 250: <li>hppa: 4790
251: <li>vax: 1785
252: <li>mips64: 3443
1.38 ! bentley 253: </ul>
1.1 deraadt 254: Some highlights:
1.2 deraadt 255: <ul>
1.12 landry 256: <li>Gnome 2.24.3.
257: <li>KDE 3.5.10.
258: <li>Xfce 4.6.1.
259: <li>MySQL 5.0.83.
260: <li>PostgreSQL 8.3.7.
261: <li>Postfix 2.6.2.
262: <li>OpenLDAP 2.3.43.
263: <li>Mozilla Firefox 3.0.11 and 3.5.
1.13 landry 264: <li>Mozilla Thunderbird 2.0.0.22.
1.12 landry 265: <li>OpenOffice.org 3.1.0.
266: <li>Emacs 21.4 and 22.3
267: <li>Vim 7.2.190.
268: <li>PHP 5.2.10.
269: <li>Python 2.4.6, 2.5.4 and 2.6.2.
270: <li>Ruby 1.8.6.369.
1.2 deraadt 271: </ul>
1.1 deraadt 272: <p>
273:
274: <li>As usual, steady improvements in manual pages and other documentation.
275: <p>
276:
277: <li>The system includes the following major components from outside suppliers:
1.2 deraadt 278: <ul>
1.9 deraadt 279: <li>Xenocara (based on X.Org 7.4 + patches, freetype 2.3.9,
280: fontconfig 2.6.0, Mesa 7.4.2, xterm 243 and more)
1.2 deraadt 281: <li>Gcc 2.95.3 (+ patches) and 3.3.5 (+ patches)
282: <li>Perl 5.10.0 (+ patches)
283: <li>Our improved and secured version of Apache 1.3, with SSL/TLS
284: and DSO support
285: <li>OpenSSL 0.9.8k (+ patches)
286: <li>Groff 1.15
287: <li>Sendmail 8.14.3, with libmilter
288: <li>Bind 9.4.2-P2 (+ patches)
289: <li>Lynx 2.8.6rel.5 with HTTPS and IPv6 support (+ patches)
290: <li>Sudo 1.7.2
291: <li>Ncurses 5.2
292: <li>Latest KAME IPv6
293: <li>Heimdal 0.7.2 (+ patches)
294: <li>Arla 0.35.7
295: <li>Binutils 2.15 (+ patches)
296: <li>Gdb 6.3 (+ patches)
297: </ul>
1.1 deraadt 298:
299: </ul>
1.38 ! bentley 300: </section>
1.1 deraadt 301:
302: <hr>
1.38 ! bentley 303:
! 304: <section id=install>
! 305: <h3>How to install</h3>
! 306:
1.1 deraadt 307: <p>
308: Following this are the instructions which you would have on a piece of
309: paper if you had purchased a CDROM set instead of doing an alternate
310: form of install. The instructions for doing an FTP (or other style
311: of) install are very similar; the CDROM instructions are left intact
312: so that you can see how much easier it would have been if you had
313: purchased a CDROM instead.
314: <p>
315:
316: <hr>
317: Please refer to the following files on the three CDROMs or FTP mirror for
318: extensive details on how to install OpenBSD 4.6 on your machine:
319: <p>
320: <ul>
321: <li>CD1:4.6/i386/INSTALL.i386
322: <p>
323: <li>CD2:4.6/amd64/INSTALL.amd64
324: <li>CD2:4.6/macppc/INSTALL.macppc
325: <p>
326: <li>CD3:4.6/sparc64/INSTALL.sparc64
327: <p>
328: <li>FTP:.../OpenBSD/4.6/alpha/INSTALL.alpha
329: <li>FTP:.../OpenBSD/4.6/armish/INSTALL.armish
330: <li>FTP:.../OpenBSD/4.6/hp300/INSTALL.hp300
331: <li>FTP:.../OpenBSD/4.6/hppa/INSTALL.hppa
332: <li>FTP:.../OpenBSD/4.6/landisk/INSTALL.landisk
333: <li>FTP:.../OpenBSD/4.6/mac68k/INSTALL.mac68k
334: <li>FTP:.../OpenBSD/4.6/mvme68k/INSTALL.mvme68k
335: <li>FTP:.../OpenBSD/4.6/mvme88k/INSTALL.mvme88k
336: <li>FTP:.../OpenBSD/4.6/sgi/INSTALL.sgi
337: <li>FTP:.../OpenBSD/4.6/socppc/INSTALL.socppc
338: <li>FTP:.../OpenBSD/4.6/sparc/INSTALL.sparc
339: <li>FTP:.../OpenBSD/4.6/vax/INSTALL.vax
340: <li>FTP:.../OpenBSD/4.6/zaurus/INSTALL.zaurus
341: </ul>
1.38 ! bentley 342:
1.1 deraadt 343: <hr>
344:
1.38 ! bentley 345: <section id=quickinstall>
! 346:
1.1 deraadt 347: <p>
348: Quick installer information for people familiar with OpenBSD, and the
349: use of the "disklabel -E" command. If you are at all confused when
350: installing OpenBSD, read the relevant INSTALL.* file as listed above!
1.38 ! bentley 351:
! 352: <h3>OpenBSD/i386:</h3>
! 353:
1.1 deraadt 354: <p>
355: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
356: release is on CD1. If your BIOS does not support booting from CD, you will need
357: to create a boot floppy to install from. To create a boot floppy write
358: <i>CD1:4.6/i386/floppy46.fs</i> to a floppy and boot via the floppy drive.
359:
360: <p>
361: Use <i>CD1:4.6/i386/floppyB46.fs</i> instead for greater SCSI controller
362: support, or <i>CD1:4.6/i386/floppyC46.fs</i> for better laptop support.
363:
364: <p>
365: If you can't boot from a CD or a floppy disk,
366: you can install across the network using PXE as described in
367: the included INSTALL.i386 document.
368:
369: <p>
370: If you are planning on dual booting OpenBSD with another OS, you will need to
371: read INSTALL.i386.
372:
373: <p>
374: To make a boot floppy under MS-DOS, use the "rawrite" utility located
375: at <i>CD1:4.6/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
376: use the
1.38 ! bentley 377: <a href="https://man.openbsd.org/dd.1">dd(1)</a>
1.1 deraadt 378: utility. The following is an example usage of
1.38 ! bentley 379: <a href="https://man.openbsd.org/dd.1">dd(1)</a>,
1.1 deraadt 380: where the device could be "floppy", "rfd0c", or
381: "rfd0a".
382:
1.38 ! bentley 383: <blockquote><pre>
1.1 deraadt 384: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
1.38 ! bentley 385: </pre></blockquote>
1.1 deraadt 386:
387: <p>
388: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
389: your install will most likely fail. For more information on creating a boot
390: floppy and installing OpenBSD/i386 please refer to
1.33 tj 391: <a href="faq/faq4.html#MkFlop">this page</a>.
1.38 ! bentley 392:
! 393: <h3>OpenBSD/amd64:</h3>
1.1 deraadt 394:
395: <p>
396: The 4.6 release of OpenBSD/amd64 is located on CD2.
397: Boot from the CD to begin the install - you may need to adjust
398: your BIOS options first.
399: If you can't boot from the CD, you can create a boot floppy to install from.
400: To do this, write <i>CD2:4.6/amd64/floppy46.fs</i> to a floppy, then
401: boot from the floppy drive.
402:
403: <p>
404: If you can't boot from a CD or a floppy disk,
405: you can install across the network using PXE as described in the included
406: INSTALL.amd64 document.
407:
408: <p>
409: If you are planning to dual boot OpenBSD with another OS, you will need to
410: read INSTALL.amd64.
1.38 ! bentley 411:
! 412: <h3>OpenBSD/macppc:</h3>
1.1 deraadt 413:
414: <p>
415: Put CD2 in your CDROM drive and poweron your machine while holding down the
416: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
417:
418: <p>
419: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
420: /4.6/macppc/bsd.rd</i>
1.38 ! bentley 421:
! 422: <h3>OpenBSD/sparc64:</h3>
1.1 deraadt 423:
424: <p>
425: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
426:
427: <p>
428: If this doesn't work, or if you don't have a CDROM drive, you can write
429: <i>CD3:4.6/sparc64/floppy46.fs</i> or <i>CD3:4.6/sparc64/floppyB46.fs</i>
430: (depending on your machine) to a floppy and boot it with <i>boot
431: floppy</i>. Refer to INSTALL.sparc64 for details.
432:
433: <p>
434: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
435: will most likely fail.
436:
437: <p>
438: You can also write <i>CD3:4.6/sparc64/miniroot46.fs</i> to the swap partition on
439: the disk and boot with <i>boot disk:b</i>.
440:
441: <p>
442: If nothing works, you can boot over the network as described in INSTALL.sparc64.
1.38 ! bentley 443:
! 444: <h3>OpenBSD/alpha:</h3>
1.1 deraadt 445:
446: <p>
1.38 ! bentley 447: Write <i>FTP:4.6/alpha/floppy46.fs</i> or
1.1 deraadt 448: <i>FTP:4.6/alpha/floppyB46.fs</i> (depending on your machine) to a diskette and
449: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
450:
451: <p>
452: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
453: will most likely fail.
454:
1.38 ! bentley 455: <h3>OpenBSD/armish:</h3>
1.1 deraadt 456:
457: <p>
458: After connecting a serial port, Thecus can boot directly from the network
459: either tftp or http. Configure the network using fconfig, reset,
460: then load bsd.rd, see INSTALL.armish for specific details.
461: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
462: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
463: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
464: More details are available in INSTALL.armish.
465:
1.38 ! bentley 466: <h3>OpenBSD/hp300:</h3>
! 467:
1.1 deraadt 468: <p>
469: Boot over the network by following the instructions in INSTALL.hp300.
470:
1.38 ! bentley 471: <h3>OpenBSD/hppa:</h3>
! 472:
1.1 deraadt 473: <p>
474: Boot over the network by following the instructions in INSTALL.hppa or the
475: <a href="hppa.html#install">hppa platform page</a>.
1.38 ! bentley 476:
! 477: <h3>OpenBSD/landisk:</h3>
1.1 deraadt 478:
479: <p>
480: Write <i>miniroot46.fs</i> to the start of the CF
481: or disk, and boot normally.
1.38 ! bentley 482:
! 483: <h3>OpenBSD/mac68k:</h3>
1.1 deraadt 484:
485: <p>
486: Boot MacOS as normal and extract the Macside "BSD/Mac68k Booter" utility from
487: <i>FTP:4.6/mac68k/utils</i> onto your hard disk. Configure the "BSD/Mac68k
488: Booter" with the location of your bsd.rd kernel and boot into the installer.
489: Refer to the instructions in INSTALL.mac68k for more details.
1.38 ! bentley 490:
! 491: <h3>OpenBSD/mvme68k:</h3>
1.1 deraadt 492:
493: <p>
494: You can create a bootable installation tape or boot over the network.<br>
495: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
496: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
497: for more details.
498:
1.38 ! bentley 499: <h3>OpenBSD/mvme88k:</h3>
! 500:
1.1 deraadt 501: <p>
502: You can create a bootable installation tape or boot over the network.<br>
503: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
504: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
505: for more details.
1.38 ! bentley 506:
! 507: <h3>OpenBSD/sparc:</h3>
1.1 deraadt 508:
509: <p>
510: Boot from one of the provided install ISO images, using one of the two
511: commands listed below, depending on the version of your ROM.
512:
1.38 ! bentley 513: <blockquote><pre>
! 514: ok <kbd>boot cdrom 4.6/sparc/bsd.rd</kbd>
1.1 deraadt 515: or
1.38 ! bentley 516: > <kbd>b sd(0,6,0)4.6/sparc/bsd.rd</kbd>
! 517: </pre></blockquote>
1.1 deraadt 518:
519: <p>
520: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
521: To do so you need to write <i>floppy46.fs</i> to a floppy.
1.33 tj 522: For more information see <a href="faq/faq4.html#MkFlop">this page</a>.
1.1 deraadt 523: To boot from the floppy use one of the two commands listed below,
524: depending on the version of your ROM.
525:
1.38 ! bentley 526: <blockquote><pre>
! 527: ok <kbd>boot floppy</kbd>
1.1 deraadt 528: or
1.38 ! bentley 529: > <kbd>b fd()</kbd>
! 530: </pre></blockquote>
1.1 deraadt 531:
532: <p>
533: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
534: will most likely fail.
535:
536: <p>
537: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
538: setup a bootable tape, or install via network, as told in the
539: INSTALL.sparc file.
540:
1.38 ! bentley 541: <h3>OpenBSD/sgi:</h3>
! 542:
1.1 deraadt 543: <p>
544: Burn cd46.iso on a CD-R, put it in the CD drive of your machine and
545: select <i>Install System Software</i> from the System Maintenance menu.
546:
547: <p>
548: If your machine doesn't have a CD drive, you can
549: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd".
550: Refer to the instructions in INSTALL.sgi for more details.
1.38 ! bentley 551:
! 552: <h3>OpenBSD/socppc:</h3>
1.1 deraadt 553:
554: <p>
555: After connecting a serial port, boot over the network via DHCP/tftp.
556: Refer to the instructions in INSTALL.socppc for more details.
1.38 ! bentley 557:
! 558: <h3>OpenBSD/vax:</h3>
1.1 deraadt 559:
560: <p>
561: Boot over the network via mopbooting as described in INSTALL.vax.
562:
1.38 ! bentley 563: <h3>OpenBSD/zaurus:</h3>
! 564:
1.1 deraadt 565: <p>
566: Using the Linux built-in graphical ipkg installer, install the
567: openbsd46_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
568: for a few important details.
1.38 ! bentley 569:
! 570: </section>
! 571:
! 572: <section id=sourcecode>
! 573: <h3>Notes about the source code:</h3>
1.1 deraadt 574:
575: <p>
576: src.tar.gz contains a source archive starting at /usr/src. This file
577: contains everything you need except for the kernel sources, which are
578: in a separate archive. To extract:
1.38 ! bentley 579:
! 580: <blockquote><pre>
! 581: # <kbd>mkdir -p /usr/src</kbd>
! 582: # <kbd>cd /usr/src</kbd>
! 583: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
! 584: </pre></blockquote>
! 585:
1.1 deraadt 586: <p>
587: sys.tar.gz contains a source archive starting at /usr/src/sys.
588: This file contains all the kernel sources you need to rebuild kernels.
589: To extract:
1.38 ! bentley 590:
! 591: <blockquote><pre>
! 592: # <kbd>mkdir -p /usr/src/sys</kbd>
! 593: # <kbd>cd /usr/src</kbd>
1.1 deraadt 594: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
1.38 ! bentley 595: </pre></blockquote>
! 596:
1.1 deraadt 597: <p>
598: Both of these trees are a regular CVS checkout. Using these trees it
599: is possible to get a head-start on using the anoncvs servers as
600: described <a href="anoncvs.html">here</a>.
601: Using these files
602: results in a much faster initial CVS update than you could expect from
603: a fresh checkout of the full OpenBSD source tree.
604:
1.38 ! bentley 605: </section>
! 606: </section>
! 607:
1.1 deraadt 608: <hr>
1.38 ! bentley 609:
! 610: <section id=upgrade>
! 611: <h3>How to upgrade</h3>
1.1 deraadt 612: <p>
613: If you already have an OpenBSD 4.5 system, and do not want to reinstall,
614: upgrade instructions and advice can be found in the
615: <a href="faq/upgrade46.html">Upgrade Guide</a>.
1.38 ! bentley 616: </section>
1.1 deraadt 617:
618: <hr>
1.38 ! bentley 619:
! 620: <section id=ports>
! 621: <h3>Ports Tree</h3>
1.1 deraadt 622: <p>
623: A ports tree archive is also provided. To extract:
624: <p>
1.38 ! bentley 625: <blockquote><pre>
! 626: # <kbd>cd /usr</kbd>
! 627: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
! 628: # <kbd>cd ports</kbd>
! 629: </pre></blockquote>
1.1 deraadt 630: <p>
631: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
1.19 jasper 632: read the <a href="faq/faq15.html">ports</a> page
1.1 deraadt 633: if you know nothing about ports
634: at this point. This text is not a manual of how to use ports.
635: Rather, it is a set of notes meant to kickstart the user on the
636: OpenBSD ports system.
637: <p>
638: The <i>ports/</i> directory represents a CVS (see the manpage for
1.38 ! bentley 639: <a href="https://man.openbsd.org/cvs.1">
1.1 deraadt 640: cvs(1)</a> if
641: you aren't familiar with CVS) checkout of our ports. As with our complete
642: source tree, our ports tree is available via anoncvs. So, in
643: order to keep current with it, you must make the <i>ports/</i> tree
644: available on a read-write medium and update the tree with a command
645: like:
646: <p>
1.38 ! bentley 647: <blockquote><pre>
1.6 miod 648: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_4_6</strong>
1.38 ! bentley 649: </pre></blockquote>
1.1 deraadt 650: <p>
651: [Of course, you must replace the local directory and server name here
652: with the location of your ports collection and a nearby anoncvs
653: server.]
654: <p>
655: Note that most ports are available as packages through FTP. Updated
656: packages for the 4.6 release will be made available if problems arise.
657: <p>
658: If you're interested in seeing a port added, would like to help out, or just
659: would like to know more, the mailing list ports@openbsd.org is a good
660: place to know.
1.38 ! bentley 661: </section>