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