www/46.html

655 lines
26 KiB
HTML

<!doctype html>
<html lang=en id=release>
<meta charset=utf-8>
<title>OpenBSD 4.6</title>
<meta name="description" content="OpenBSD 4.6">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="openbsd.css">
<link rel="canonical" href="https://www.openbsd.org/46.html">
<h2 id=OpenBSD>
<a href="index.html">
<i>Open</i><b>BSD</b></a>
4.6
</h2>
<table>
<tr>
<td>
<a href="images/PlanetUsers.jpg">
<img width="227" height="343" src="images/PlanetUsers.jpg" alt="Planet of the Users"></a>
<td>
Released Oct 18, 2009<br>
Copyright 1997-2009, Theo de Raadt.<br>
<cite class=isbn>ISBN 978-0-9784475-4-0</cite>
<br>
4.6 Song: <a href="lyrics.html#46">"Planet of the Users"</a>
<br>
<br>
<ul>
<li>See the information on <a href="ftp.html">the FTP page</a> for
a list of mirror machines.
<li>Go to the <code class=reldir>pub/OpenBSD/4.6/</code> directory on
one of the mirror sites.
<li>Have a look at <a href="errata46.html">The 4.6 Errata page</a> for a list
of bugs and workarounds.
<li>See a <a href="plus46.html">detailed log of changes</a> between the
4.5 and 4.6 releases.
</ul>
<p>
All applicable copyrights and credits are in the src.tar.gz,
sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
files fetched via <code>ports.tar.gz</code>.
</table>
<hr>
<section id=new>
<h3>What's New</h3>
<p>
This is a partial list of new features and systems included in OpenBSD 4.6.
For a comprehensive list, see the <a href="plus46.html">changelog</a> leading
to 4.6.
<p>
<ul>
<li>New/extended platforms:
<ul>
<li> mvme68k
<ul>
<li>Added support for the MVME141 and MVME165 boards.
</ul>
<li>sparc
<ul>
<li>The bootblock load address was moved so that larger kernels
can be loaded.
</ul>
<li>sparc64
<ul>
<li>Added acceleration support for many of the PCI frame buffer
drivers, such as Sun PGX, PGX64 and XVR-100, and Tech Source
Raptor GFX graphics cards.
</ul>
<li>sgi
<ul>
<li> Added support for the SGI Octane, SGI Origin 200 and SGI Fuel
families of systems.
<li> Several bugs in interrupt handling have been fixed, resulting
in much snappier system response.
</ul>
</ul>
<p>
<li>Improved hardware support, including:
<ul>
<li>Several new/improved drivers for sensors, including:
<ul>
<li>The <a href="https://man.openbsd.org/ips.4">ips(4)</a> driver now has sensor support, complementing the bio support.
<li>The <a href="https://man.openbsd.org/acpithinkpad.4">acpithinkpad(4)</a> driver now has temperature and fan sensor support.
<li>New <a href="https://man.openbsd.org/endrun.4">endrun(4)</a> driver for the EndRun Technologies timedelta sensor.
<li>The <a href="https://man.openbsd.org/fins.4">fins(4)</a> driver now has support for F71806, F71862 and F71882.
<li>The <a href="https://man.openbsd.org/acpitz.4">acpitz(4)</a> driver now shows correct decimals for temperature.
</ul>
<li>Added <a href="https://man.openbsd.org/radeonfb.4">radeonfb(4)</a> to sparc64, an accelerated framebuffer for
Sun XVR-100 boards.
<li>Added support in <a href="https://man.openbsd.org/re.4">re(4)</a> for RTL8103E and RTL8168DP devices.
<li>Added support for BCM5709/BCM5716 devices in the <a href="https://man.openbsd.org/bnx.4">bnx(4)</a> driver.
<li>Added support for ICH10 variants of <a href="https://man.openbsd.org/em.4">em(4)</a>.
<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.
<li>Added support for Intel SCH IDE to <a href="https://man.openbsd.org/pciide.4">pciide(4)</a>.
<li>Added support for the Broadcom HT-1100 chipset in the <a href="https://man.openbsd.org/piixpm.4">piixpm(4)</a> driver.
<li>Added support for 82574L based devices in the <a href="https://man.openbsd.org/em.4">em(4)</a> driver.
<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
use MCLGETI(9) to reduce memory usage and increase performance under load
and attack.
<li>Added support for VIA CX800 south bridge to the <a href="https://man.openbsd.org/viapm.4">viapm(4)</a> driver.
<li>Added support in <a href="https://man.openbsd.org/em.4">em(4)</a> for the newer 82575 (and maybe 82576) chips.
<li><a href="https://man.openbsd.org/zyd.4">zyd(4)</a> now supports devices with Airoha AL2230S radios.
<li><a href="https://man.openbsd.org/zyd.4">zyd(4)</a> now works on big-endian machines
<li><a href="https://man.openbsd.org/urtw.4">urtw(4)</a> now supports RTL8187B based devices.
<li>New <a href="https://man.openbsd.org/otus.4">otus(4)</a> driver for Atheros AR9001U USB 802.11a/b/g/Draft-N
wireless devices.
<li>New <a href="https://man.openbsd.org/berkwdt.4">berkwdt(4)</a> driver for Berkshire Products PCI watchdog timers.
<li>New <a href="https://man.openbsd.org/udl.4">udl(4)</a> driver for USB video devices.
<li>Support for a variety of newer models in <a href="https://man.openbsd.org/bge.4">bge(4)</a>.
<li>Initial version of <a href="https://man.openbsd.org/vsw.4">vsw(4)</a>, a driver for the virtual network switch on
sun4v sparc64s.
<li>Implemented <a href="https://man.openbsd.org/machfb.4">machfb(4)</a>, an accelerated driver for the sparc64 PGX/PGX64
framebuffers.
<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"
found on the control domain of sun4v systems.
<li>Implemented 64-bit FIFO modes for <a href="https://man.openbsd.org/ciss.4">ciss(4)</a> devices.
<li>Enable hardware VLAN tagging/stripping on <a href="https://man.openbsd.org/ix.4">ix(4)</a>.
<li>Added basic support for Envy24HT chips in the <a href="https://man.openbsd.org/envy.4">envy(4)</a> driver.
<li>Many improvements and updates to the <a href="https://man.openbsd.org/isp.4">isp(4)</a> driver.
<li>Added support for 88E8057-based Yukon 2 Ultra 2-devices in <a href="https://man.openbsd.org/msk.4">msk(4)</a>.
<li>The <a href="https://man.openbsd.org/ips.4">ips(4)</a> driver now works reliably.
<li>Added <a href="https://man.openbsd.org/raptor.4">raptor(4)</a>, an accelerated framebuffer driver for the Tech Source
Raptor GFX cards on the sparc64 platform.
<li>Enabled <a href="https://man.openbsd.org/schsio.4">schsio(4)</a> on i386 and amd64 and added watchdog timer support.
<li>New <a href="https://man.openbsd.org/acpivideo.4">acpivideo(4)</a> driver for ACPI display switching and brightness control.
</ul>
<p>
<li>New tools:
<ul>
<li>Added <a href="https://man.openbsd.org/smtpd.8">smtpd(8)</a>, a new privilege-separated SMTP daemon.
<li>Imported the <a href="https://man.openbsd.org/tmux.1">tmux(1)</a> terminal multiplexer, replacing window(1).
</ul>
<p>
<li><a href="https://man.openbsd.org/pf.4">pf(4)</a> improvements:
<ul>
<li>Enabled <a href="https://man.openbsd.org/pf.4">pf(4)</a> by default in the rc.conf(8).
<li>Removed <a href="https://man.openbsd.org/pf.4">pf(4)</a> scrub rules, and only do one kind of packet reassembly.
Rulesets with scrub rules need to be modified because of this.
<li>Regular rules can now have per-rule scrub options.
<li>Added new "match" keyword which only applies rule options but does
not change the current pass/block state.
<li>Make all <a href="https://man.openbsd.org/pf.4">pf(4)</a> operations transactional to improve atomicity of reloads.
<li>Stricter <a href="https://man.openbsd.org/pf.4">pf(4)</a> checking for ICMP and ICMPv6 packets.
<li>Various improvements to <a href="https://man.openbsd.org/pfsync.4">pfsync(4)</a> to lower sync traffic bandwidth and
optionally allow active-active firewall setups.
<li>Fix <a href="https://man.openbsd.org/pf.4">pf(4)</a> scrub max-mss for IPv6 traffic.
</ul>
<p>
<li>OpenBGPD, OpenOSPFD and other routing daemon improvements:
<ul>
<li>In <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a>, rework most of the RDE to allow multiple RIBs.
It is possible to filter per-RIB and attach neighbors to a specific RIB.
<li>Added an option to <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a> to change the "connect-retry" timer.
<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
ASPLAIN format.
<li>Fix <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a> to correctly encode MP unreachable NLRI so IPv6 prefixes get
removed correctly.
<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>.
A default route has to be present in the FIB to be correctly advertised.
<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
them to be redistributed even if pointing to 127.0.0.1.
<li>Allow to specify an alternate control socket for <a href="https://man.openbsd.org/ospfd.8">ospfd(8)</a>.
<li><a href="https://man.openbsd.org/ospfd.8">ospfd(8)</a> can now be bound into an alternate routing domain.
<li>Fix <a href="https://man.openbsd.org/ospfd.8">ospfd(8)</a> route metric for "redistribute default".
<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
daemon for mpls.
<li>Make <a href="https://man.openbsd.org/dvmrp.8">dvmrp(8)</a> RDE aware of multicast group members per interface.
<li>Support for pruning in <a href="https://man.openbsd.org/dvmrp.8">dvmrp(8)</a>.
</ul>
<p>
<li>Generic Network-Stack improvements:
<ul>
<li>Support for virtual routing and firewalling with the addition of routing
domains.
<li>Add code in <a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a> to bind an interface to a routing domain.
<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
specify which routing domain to use.
<li>Allow <a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a> to turn off IPv6 completely for an interface and
make rtsold(8) turn on inet6 on the interface.
<li>Routes track the interface link state.
<li><a href="https://man.openbsd.org/route.8">route(8)</a> flush accepts "-iface" or "-priority" to only flush routes
matching these conditions.
<li>Multiple dhclients can now coexist without causing mayhem.
<li>Make wireless interfaces have an interface priority of 4 by default.
Makes them less preferred then wired interfaces.
<li>Do not accept IPv4 ICMP redirects by default.
<li>Added the MAC address to the log entries in <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a>.
<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.
<li>Make <a href="https://man.openbsd.org/tun.4">tun(4)</a> emulate link state depending on the open and close of the
device fd.
<li>Use pf state-table information to speed up decision on whether a packet
is to be delivered locally or forwarded.
<li>More routing socket checks added to make userland applications more
resilient to kernel changes.
</ul>
<p>
<li>Install/Upgrade process changes:
<ul>
<li>New <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a> automatic partition allocator with a variety of
smart heuristics.
<li>The installer has been nearly rewritten mostly with a focus on
simplifying installation.
</ul>
<p>
<li>OpenSSH 5.3:
<ul>
<li>Do not limit home directory paths to 256 characters. (bz #1615)
<li>Several minor documentation and correctness fixes.
</ul>
<p>
<li>Over 5,800 ports, minor robustness improvements in package tools.
<li>Many pre-built packages for each architecture:
<ul style="column-count: 3">
<li>i386: 5606
<li>sparc64: 5413
<li>alpha: 5346
<li>sh: 1261
<li>amd64: 5544
<li>powerpc: 5427
<li>sparc: 3711
<li>arm: 5291
<li>hppa: 4790
<li>vax: 1785
<li>mips64: 3443
</ul>
Some highlights:
<ul>
<li>Gnome 2.24.3.
<li>KDE 3.5.10.
<li>Xfce 4.6.1.
<li>MySQL 5.0.83.
<li>PostgreSQL 8.3.7.
<li>Postfix 2.6.2.
<li>OpenLDAP 2.3.43.
<li>Mozilla Firefox 3.0.11 and 3.5.
<li>Mozilla Thunderbird 2.0.0.22.
<li>OpenOffice.org 3.1.0.
<li>Emacs 21.4 and 22.3
<li>Vim 7.2.190.
<li>PHP 5.2.10.
<li>Python 2.4.6, 2.5.4 and 2.6.2.
<li>Ruby 1.8.6.369.
</ul>
<p>
<li>As usual, steady improvements in manual pages and other documentation.
<p>
<li>The system includes the following major components from outside suppliers:
<ul>
<li>Xenocara (based on X.Org 7.4 + patches, freetype 2.3.9,
fontconfig 2.6.0, Mesa 7.4.2, xterm 243 and more)
<li>Gcc 2.95.3 (+ patches) and 3.3.5 (+ patches)
<li>Perl 5.10.0 (+ patches)
<li>Our improved and secured version of Apache 1.3, with SSL/TLS
and DSO support
<li>OpenSSL 0.9.8k (+ patches)
<li>Groff 1.15
<li>Sendmail 8.14.3, with libmilter
<li>Bind 9.4.2-P2 (+ patches)
<li>Lynx 2.8.6rel.5 with HTTPS and IPv6 support (+ patches)
<li>Sudo 1.7.2
<li>Ncurses 5.2
<li>Latest KAME IPv6
<li>Heimdal 0.7.2 (+ patches)
<li>Arla 0.35.7
<li>Binutils 2.15 (+ patches)
<li>Gdb 6.3 (+ patches)
</ul>
</ul>
</section>
<hr>
<section id=install>
<h3>How to install</h3>
<p>
Following this are the instructions which you would have on a piece of
paper if you had purchased a CDROM set instead of doing an alternate
form of install. The instructions for doing an FTP (or other style
of) install are very similar; the CDROM instructions are left intact
so that you can see how much easier it would have been if you had
purchased a CDROM instead.
<p>
<hr>
Please refer to the following files on the three CDROMs or FTP mirror for
extensive details on how to install OpenBSD 4.6 on your machine:
<p>
<ul>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.6/i386/INSTALL.i386">
.../OpenBSD/4.6/i386/INSTALL.i386 (on CD1)</a>
<p>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.6/amd64/INSTALL.amd64">
.../OpenBSD/4.6/amd64/INSTALL.amd64 (on CD2)</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.6/macppc/INSTALL.macppc">
.../OpenBSD/4.6/macppc/INSTALL.macppc (on CD2)</a>
<p>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.6/sparc64/INSTALL.sparc64">
.../OpenBSD/4.6/sparc64/INSTALL.sparc64 (on CD3)</a>
<p>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.6/alpha/INSTALL.alpha">
.../OpenBSD/4.6/alpha/INSTALL.alpha</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.6/armish/INSTALL.armish">
.../OpenBSD/4.6/armish/INSTALL.armish</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.6/hp300/INSTALL.hp300">
.../OpenBSD/4.6/hp300/INSTALL.hp300</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.6/hppa/INSTALL.hppa">
.../OpenBSD/4.6/hppa/INSTALL.hppa</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.6/landisk/INSTALL.landisk">
.../OpenBSD/4.6/landisk/INSTALL.landisk</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.6/mac68k/INSTALL.mac68k">
.../OpenBSD/4.6/mac68k/INSTALL.mac68k</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.6/mvme68k/INSTALL.mvme68k">
.../OpenBSD/4.6/mvme68k/INSTALL.mvme68k</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.6/mvme88k/INSTALL.mvme88k">
.../OpenBSD/4.6/mvme88k/INSTALL.mvme88k</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.6/sgi/INSTALL.sgi">
.../OpenBSD/4.6/sgi/INSTALL.sgi</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.6/socppc/INSTALL.socppc">
.../OpenBSD/4.6/socppc/INSTALL.socppc</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.6/sparc/INSTALL.sparc">
.../OpenBSD/4.6/sparc/INSTALL.sparc</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.6/vax/INSTALL.vax">
.../OpenBSD/4.6/vax/INSTALL.vax</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.6/zaurus/INSTALL.zaurus">
.../OpenBSD/4.6/zaurus/INSTALL.zaurus</a>
</ul>
</section>
<hr>
<section id=quickinstall>
<p>
Quick installer information for people familiar with OpenBSD, and the
use of the "disklabel -E" command. If you are at all confused when
installing OpenBSD, read the relevant INSTALL.* file as listed above!
<h3>OpenBSD/i386:</h3>
<p>
Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
release is on CD1. If your BIOS does not support booting from CD, you will need
to create a boot floppy to install from. To create a boot floppy write
<i>CD1:4.6/i386/floppy46.fs</i> to a floppy and boot via the floppy drive.
<p>
Use <i>CD1:4.6/i386/floppyB46.fs</i> instead for greater SCSI controller
support, or <i>CD1:4.6/i386/floppyC46.fs</i> for better laptop support.
<p>
If you can't boot from a CD or a floppy disk,
you can install across the network using PXE as described in
the included INSTALL.i386 document.
<p>
If you are planning on dual booting OpenBSD with another OS, you will need to
read INSTALL.i386.
<p>
To make a boot floppy under MS-DOS, use the &quot;rawrite&quot; utility located
at <i>CD1:4.6/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
use the
<a href="https://man.openbsd.org/dd.1">dd(1)</a>
utility. The following is an example usage of
<a href="https://man.openbsd.org/dd.1">dd(1)</a>,
where the device could be &quot;floppy&quot;, &quot;rfd0c&quot;, or
&quot;rfd0a&quot;.
<blockquote><pre>
# <kbd>dd if=&lt;file&gt; of=/dev/&lt;device&gt; bs=32k</kbd>
</pre></blockquote>
<p>
Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
your install will most likely fail. For more information on creating a boot
floppy and installing OpenBSD/i386 please refer to
<a href="faq/faq4.html#MkFlop">this page</a>.
<h3>OpenBSD/amd64:</h3>
<p>
The 4.6 release of OpenBSD/amd64 is located on CD2.
Boot from the CD to begin the install - you may need to adjust
your BIOS options first.
If you can't boot from the CD, you can create a boot floppy to install from.
To do this, write <i>CD2:4.6/amd64/floppy46.fs</i> to a floppy, then
boot from the floppy drive.
<p>
If you can't boot from a CD or a floppy disk,
you can install across the network using PXE as described in the included
INSTALL.amd64 document.
<p>
If you are planning to dual boot OpenBSD with another OS, you will need to
read INSTALL.amd64.
<h3>OpenBSD/macppc:</h3>
<p>
Put CD2 in your CDROM drive and poweron your machine while holding down the
<i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
<p>
Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
/4.6/macppc/bsd.rd</i>
<h3>OpenBSD/sparc64:</h3>
<p>
Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
<p>
If this doesn't work, or if you don't have a CDROM drive, you can write
<i>CD3:4.6/sparc64/floppy46.fs</i> or <i>CD3:4.6/sparc64/floppyB46.fs</i>
(depending on your machine) to a floppy and boot it with <i>boot
floppy</i>. Refer to INSTALL.sparc64 for details.
<p>
Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
will most likely fail.
<p>
You can also write <i>CD3:4.6/sparc64/miniroot46.fs</i> to the swap partition on
the disk and boot with <i>boot disk:b</i>.
<p>
If nothing works, you can boot over the network as described in INSTALL.sparc64.
<h3>OpenBSD/alpha:</h3>
<p>
Write <i>4.6/alpha/floppy46.fs</i> or
<i>4.6/alpha/floppyB46.fs</i> (depending on your machine) to a diskette and
enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
<p>
Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
will most likely fail.
<h3>OpenBSD/armish:</h3>
<p>
After connecting a serial port, Thecus can boot directly from the network
either tftp or http. Configure the network using fconfig, reset,
then load bsd.rd, see INSTALL.armish for specific details.
IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
More details are available in INSTALL.armish.
<h3>OpenBSD/hp300:</h3>
<p>
Boot over the network by following the instructions in INSTALL.hp300.
<h3>OpenBSD/hppa:</h3>
<p>
Boot over the network by following the instructions in INSTALL.hppa or the
<a href="hppa.html#install">hppa platform page</a>.
<h3>OpenBSD/landisk:</h3>
<p>
Write <i>miniroot46.fs</i> to the start of the CF
or disk, and boot normally.
<h3>OpenBSD/mac68k:</h3>
<p>
Boot MacOS as normal and extract the Macside "BSD/Mac68k Booter" utility from
<i>4.6/mac68k/utils</i> onto your hard disk. Configure the "BSD/Mac68k
Booter" with the location of your bsd.rd kernel and boot into the installer.
Refer to the instructions in INSTALL.mac68k for more details.
<h3>OpenBSD/mvme68k:</h3>
<p>
You can create a bootable installation tape or boot over the network.<br>
The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
for more details.
<h3>OpenBSD/mvme88k:</h3>
<p>
You can create a bootable installation tape or boot over the network.<br>
The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
for more details.
<h3>OpenBSD/sparc:</h3>
<p>
Boot from one of the provided install ISO images, using one of the two
commands listed below, depending on the version of your ROM.
<blockquote><pre>
ok <kbd>boot cdrom 4.6/sparc/bsd.rd</kbd>
or
> <kbd>b sd(0,6,0)4.6/sparc/bsd.rd</kbd>
</pre></blockquote>
<p>
If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
To do so you need to write <i>floppy46.fs</i> to a floppy.
For more information see <a href="faq/faq4.html#MkFlop">this page</a>.
To boot from the floppy use one of the two commands listed below,
depending on the version of your ROM.
<blockquote><pre>
ok <kbd>boot floppy</kbd>
or
> <kbd>b fd()</kbd>
</pre></blockquote>
<p>
Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
will most likely fail.
<p>
If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
setup a bootable tape, or install via network, as told in the
INSTALL.sparc file.
<h3>OpenBSD/sgi:</h3>
<p>
Burn cd46.iso on a CD-R, put it in the CD drive of your machine and
select <i>Install System Software</i> from the System Maintenance menu.
<p>
If your machine doesn't have a CD drive, you can
setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd".
Refer to the instructions in INSTALL.sgi for more details.
<h3>OpenBSD/socppc:</h3>
<p>
After connecting a serial port, boot over the network via DHCP/tftp.
Refer to the instructions in INSTALL.socppc for more details.
<h3>OpenBSD/vax:</h3>
<p>
Boot over the network via mopbooting as described in INSTALL.vax.
<h3>OpenBSD/zaurus:</h3>
<p>
Using the Linux built-in graphical ipkg installer, install the
openbsd46_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
for a few important details.
</section>
<hr>
<section id=sourcecode>
<h3>Notes about the source code</h3>
<p>
<code>src.tar.gz</code> contains a source archive starting at <code>/usr/src</code>.
This file contains everything you need except for the kernel sources, which are
in a separate archive. To extract:
<blockquote><pre>
# <kbd>mkdir -p /usr/src</kbd>
# <kbd>cd /usr/src</kbd>
# <kbd>tar xvfz /tmp/src.tar.gz</kbd>
</pre></blockquote>
<p>
<code>sys.tar.gz</code> contains a source archive starting at <code>/usr/src/sys</code>.
This file contains all the kernel sources you need to rebuild kernels.
To extract:
<blockquote><pre>
# <kbd>mkdir -p /usr/src/sys</kbd>
# <kbd>cd /usr/src</kbd>
# <kbd>tar xvfz /tmp/sys.tar.gz</kbd>
</pre></blockquote>
<p>
Both of these trees are a regular CVS checkout. Using these trees it
is possible to get a head-start on using the anoncvs servers as
described <a href="anoncvs.html">here</a>.
Using these files
results in a much faster initial CVS update than you could expect from
a fresh checkout of the full OpenBSD source tree.
</section>
<hr>
<section id=upgrade>
<h3>How to upgrade</h3>
<p>
If you already have an OpenBSD 4.5 system, and do not want to reinstall,
upgrade instructions and advice can be found in the
<a href="faq/upgrade46.html">Upgrade Guide</a>.
</section>
<hr>
<section id=ports>
<h3>Ports Tree</h3>
<p>
A ports tree archive is also provided. To extract:
<blockquote><pre>
# <kbd>cd /usr</kbd>
# <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
</pre></blockquote>
<p>
The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
read the <a href="faq/faq15.html">ports</a> page
if you know nothing about ports
at this point. This text is not a manual of how to use ports.
Rather, it is a set of notes meant to kickstart the user on the
OpenBSD ports system.
<p>
The <i>ports/</i> directory represents a CVS (see the manpage for
<a href="https://man.openbsd.org/cvs.1">cvs(1)</a> if
you aren't familiar with CVS) checkout of our ports. As with our complete
source tree, our ports tree is available via anoncvs. So, in
order to keep current with it, you must make the <i>ports/</i> tree
available on a read-write medium and update the tree with a command
like:
<blockquote><pre>
# <kbd>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_4_6</kbd>
</pre></blockquote>
<p>
[Of course, you must replace the local directory and server name here
with the location of your ports collection and a nearby anoncvs
server.]
<p>
Note that most ports are available as packages on our mirrors. Updated
packages for the 4.6 release will be made available if problems arise.
<p>
If you're interested in seeing a port added, would like to help out, or just
would like to know more, the mailing list
<a href="mail.html">ports@openbsd.org</a> is a good place to know.
</section>