[BACK]Return to 52.html CVS log [TXT][DIR] Up to [local] / www

File: [local] / www / 52.html (download) (as text)

Revision 1.18, Thu Sep 6 03:03:30 2012 UTC (11 years, 8 months ago) by lteo
Branch: MAIN
Changes since 1.17: +5 -3 lines

Link removed components to previous release's man pages, suggested by deraadt

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>OpenBSD 5.2 Release</title>
<link rev=made href="mailto:www@openbsd.org">
<meta name="resource-type" content="document">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="description" content="OpenBSD 5.2">
<meta name="keywords" content="openbsd,main">
<meta name="distribution" content="global">
<meta name="copyright" content="This document copyright 2012 by OpenBSD.">
</head>

<body bgcolor="#ffffff" text="#000000" link="#24248E">

<a href="index.html">
<img alt="[OpenBSD]" height="30" width="141" hspace="24" src="images/smalltitle.gif" border="0"></a>
<hr>

<p>
<a href="images/Brazil.jpg">
<img align="left" width="227" height="343" hspace="24" vspace="30"
src="images/Brazil.jpg" alt="OpenBSD 5.2 logo"></a>
<h2><font color="#0000e0">The OpenBSD 5.2 Release:</font></h2>
<p>
To be released Nov 1, 2012<br>
Copyright 1997-2012, Theo de Raadt.<br>
<font color="#e00000">ISBN 978-0-9881561-0-4</font>
<br>
<a href="lyrics.html#52">5.2 Song: song not released yet</a>
<p>

<a href="#new">What's New</a><br>
<a href="#install">How to install</a><br>
<a href="#upgrade">How to upgrade</a><br>
<a href="#ports">How to use the ports tree</a><br>
<a href="orders.html">Ordering a CD set</a><br>

<p>
<h3><font color="#0000e0">
To get the files for this release:
<ul>
<li>Order a CDROM from our <a href="orders.html">ordering system</a>.
<li>See the information on <a href="ftp.html">The FTP page</a> for
    a list of mirror machines.
<li>Go to the <font color="#e00000">pub/OpenBSD/5.2/</font> directory on
    one of the mirror sites.
<li>Briefly read the rest of this document.
<li>Have a look at <a href="errata52.html">The 5.2 Errata page</a> for a list
    of bugs and workarounds.
<li>See a <a href="plus52.html">detailed log of changes</a> between the
    5.1 and 5.2 releases.
</ul>
</font></h3>
<br clear=all>

<strong>Note:</strong> All applicable copyrights and credits can be found
in the applicable file sources found in the files src.tar.gz, sys.tar.gz,
xenocara.tar.gz, or in the files fetched via ports.tar.gz.  The distribution
files used to build packages from the ports.tar.gz file are not included on
the CDROM because of lack of space.
<p>

<a name="new"></a>
<hr>
<p>
<h3><font color="#0000e0">What's New</font></h3>
<p>
This is a partial list of new features and systems included in OpenBSD 5.2.
For a comprehensive list, see the <a href="plus52.html">changelog</a> leading
to 5.2.
<p>

<ul>
<li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pthreads&amp;sektion=3">pthreads(3)</a> support:
    <ul>
    <li>The most significant change in this release is the replacement of
	the user-level uthreads by kernel-level rthreads.
    <li>Use PTHREAD_MUTEX_STRICT_NP as default mutex type.
    <li>Added pthread spinlock and barrier routines.
    <li>Added <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pthread_mutex_lock&amp;sektion=3">pthread_mutex_timedlock(3)</a> and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sem_wait&amp;sektion=3">sem_timedwait(3)</a>.
    <li>Added <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pthread_condattr_init&amp;sektion=3">pthread_condattr_setclock(3)</a>.
    <li>Added support for live multi-threaded debugging in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gdb&amp;sektion=1">gdb(1)</a>.
    <li>Improved handling for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=getrusage&amp;sektion=2">rusage</a> totals and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=getitimer&amp;sektion=2">interval times</a> in threaded processes.
    <li>Changed the RLIMIT_CPU <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=getrlimit&amp;sektion=2">rlimit</a> to count processes instead of threads.
    <li>Added a new system limit <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sysctl&amp;sektion=8">kern.maxthread</a> for the max number of threads.
    <li>Closed race conditions in thread creation, and in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fork&amp;sektion=2">fork(2)</a> and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=open&amp;sektion=2">open(2)</a> in a threaded process.
    <li>Improved handling of threaded processes in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ps&amp;sektion=1">ps(1)</a> and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fstat&amp;sektion=1">fstat(1)</a>.
    </ul>
<p>

<li>Improved hardware support, including:
    <ul>
    <li>Added hibernation support on i386. Currently only working on <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pciide&amp;sektion=4">pciide(4)</a> and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=wd&amp;sektion=4">wd(4)</a> disks.
    <li>Improved support for ALPS based touchpads in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=wsmouse&amp;sektion=4">wsmouse(4)</a> and  the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=synaptics&amp;sektion=4">synaptics(4)</a> X.Org input driver</a>.
    <li>Performance improvements with <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ix&amp;sektion=4">ix(4)</a> Intel 10Gb ethernet NICs.
    <li>Support for i350 based devices in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=em&amp;sektion=4">em(4)</a>.
    <li>Flow control support for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bnx&amp;sektion=4">bnx(4)</a>.
    <li>Hardware watchdog and HPET support for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tcpcib&amp;sektion=4">tcpcib(4)</a> (Intel Atom E600) as found in some embedded x86 systems.
    <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=urndis&amp;sektion=4">urndis(4)</a> supports additional Android devices.
    <li>...
    </ul>
<p>

<li>Generic network stack improvements:
    <ul>
    <li>Cleanup handling of sockaddrs in degenerate use cases.
    <li>Improved handling of error and limit cases in file-descriptor passing.
    <li>Improved error handling in socket splicing.
    <li>IPv6 privacy addresses now appear alongside SLAAC addresses.
    <li>...
    </ul>
<p>

<li>Routing daemons and other userland network improvements:
    <ul>
    <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=aucat&amp;sektion=1">aucat(1)</a>,
         <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bgpd&amp;sektion=8">bgpd(8)</a>,
         <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dvmrpd&amp;sektion=8">dvmrpd(8)</a>,
         <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ftp-proxy&amp;sektion=8">ftp-proxy(8)</a>,
         <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=iked&amp;sektion=8">iked(8)</a>,
         <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=iscsid&amp;sektion=8">iscsid(8)</a>,
         <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ldapd&amp;sektion=8">ldapd(8)</a>,
         <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ldpd&amp;sektion=8">ldpd(8)</a>,
         <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nsd&amp;sektion=8">nsd(8)</a>,
         <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ospf6d&amp;sektion=8">ospf6d(8)</a>,
         <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ospfd&amp;sektion=8">ospfd(8)</a>,
         <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=relayd&amp;sektion=8">relayd(8)</a>,
         <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ripd&amp;sektion=8">ripd(8)</a>,
         <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=snmpd&amp;sektion=8">snmpd(8)</a>,
         <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=spamd&amp;sektion=8">spamd(8)</a>,
         <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&amp;sektion=8">sshd(8)</a>,
         <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tcpbench&amp;sektion=1">tcpbench(1)</a> and
         <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tmux&amp;sektion=1">tmux(1)</a>
         now rate limit their accepting of new connections when experiencing file descriptor exhaustion.
    <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tcpdump&amp;sektion=8">tcpdump(8)</a>
         now recognizes additional Internet Key Exchange DH groups.
    <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ipsecctl&amp;sektion=8">ipsecctl(8)</a>
         now allows SA lifetimes to be specified in its
         <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ipsec.conf&amp;sektion=5">ipsec.conf(5)</a>
         file.
    <li>Rewrote <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tftpd&amp;sektion=8">tftpd(8)</a> as a persistent, non-blocking daemon.
    <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=snmpd&amp;sektion=8">snmpd(8)</a> now supports PF-MIB, UCD-DISKIO-MIB, and
	additional OIDs in HOST-RESOURCES-MIB.
    <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bgpd&amp;sektion=8">bgpd(8)</a> is now more robust to network instability.
    <li>ASCII packet dumping support in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tcpdump&amp;sektion=8">tcpdump(8)</a>.
    <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tftp&amp;sektion=1">tftp(1)</a> client now supports IPv6.
    <li>Various bug fixes and better standard compliance in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=relayd&amp;sektion=8">relayd(8)</a>.
    <li>...
    </ul>
<p>

<li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&amp;sektion=4">pf(4)</a> improvements:
    <ul>
    <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&amp;sektion=4">pf(4)</a> now ignores/preserves the lower 2 bits of the tos-header (used for Explicit Congestion Notification).
    <li>Allow more than 16 <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pflog&sektion=4">pflog(4)</a> interfaces.
    <li>...
    </ul>
<p>

<li>Assorted improvements:
    <ul>
    <li>Added <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nginx&amp;sektion=8">nginx(8)</a>,
         an HTTP server, reverse proxy server and mail proxy server.
    <li>Added SQLite 3.7.13, a self-contained SQL database engine.
    <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pcap&amp;sektion=3">libpcap</a>
         has been updated with several core functions from tcpdump.org's libpcap-1.2.0 API, without
         the clutter.
    <li>Disabled SSLv2 in OpenSSL.
    <li>Moved <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=libtool&amp;sektion=1">libtool(1)</a> into the base system. Much work remains to be done.
    <li>Removed <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=lint&amp;sektion=1&amp;manpath=OpenBSD+5.1">lint(1)</a>.
    <li>Removed <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=raid&amp;sektion=4&amp;manpath=OpenBSD+5.1">raid(4)</a>
	RAIDframe driver and the corresponding
	<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=raidctl&amp;sektion=8&amp;manpath=OpenBSD+5.1">raidctl(8)</a> utility.
    <li>Added <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=posix_spawn&amp;sektion=3">posix_spawn(3)</a>.
    <li>Added <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mbsnrtowcs&amp;sektion=3">mbsnrtowcs(3)</a>,
	and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=wcsnrtombs&amp;sektion=3">wcsnrtombs(3)</a>.
    <li>Added <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=getdelim&amp;sektion=3">getdelim(3)</a>
	and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=getline&amp;sektion=3">getline(3)</a>.
    <li>More configuration variables for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sysconf&amp;sektion=3">sysconf(3)</a> and
	<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pathconf&amp;sektion=2">pathconf(2)</a>.
    <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dirfd&amp;sektion=3">dirfd(3)</a>
	is now a function instead of a macro.
    <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=posix_memalign&amp;sektion=3">posix_memalign(3)</a>
	supports arbitrarily large alignments.
    <li>Improved <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=realloc&amp;sektion=3">realloc(3)</a> performance.
    <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ld.so&amp;sektion=1">ld.so(1)</a>
	recognizes the DF_1_NOOPEN flag and refuses to
	<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dlopen&amp;sektion=3">dlopen(3)</a>
	shared objects linked with "-z nodlopen".
    <li>Improved compliance and/or cleanliness of header files, particularly
	&lt;dirent.h&gt;, &lt;time.h&gt;, &lt;sys/time.h&gt;, &lt;limits.h&gt;,
	&lt;arpa/inet.h&gt;, &lt;netinet/in.h&gt;, and &lt;sys/param.h&gt;.
    <li>Improved kernel uvm memory allocator.
    <li>Added support for using AMT to provide console-over-ethernet.  (c.f. the amtterm port).
    <li>Improved support for amd64 boxes with many memory extents.
    <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=compat_linux&amp;sektion=8">compat_linux(8)</a>
	improvements: TLS-vs-clone and futex fixes, added support
	for statfs64(), tgkill(), gettid(), SOCK_CLOEXEC, and SOCK_NONBLOCK.
    <li>Improved handling of bare FAT media.
    <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=kdump&amp;sektion=1">kdump(1)</a>
	improvements, including the ability to show thread IDs and dumping of timespec, timeval, sigaction, rlimit, sigset, clockid, and fdset arguments and results.
    <li>Various improvements in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=smtpd&amp;sektion=8">smtpd(8)</a>:
	reliability fixes, new MTA client, new scheduler and improved queue logic, simplified smtpd.conf syntax, better RFC compliance and several cosmetic changes.
    <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mg&amp;sektion=1">mg(1)</a>
	emacs-like editor now allows backup files to be saved in a user's home directory.
    <li>...
    </ul>
<p>

<li>OpenSSH 6.1:
    <ul>
    <li>New features:
      <ul>
      <li>...
      </ul>
    <li>The following significant bugs have been fixed in this release:
      <ul>
      <li>...
      </ul>
    </ul>
<p>

<li>Over 7600 ports, major performance and stability improvements in 
the package build process
    <ul>
    <li>dpb got simpler and faster. Handles distfiles, works without any
    option.
    <li>Simpler and less error-prone mechanisms for handling MD differences.
    <li>dpb is now used for mirroring distfiles, to the great joy of
    <a href="ftp://ftp.openbsd.org/pub/OpenBSD/distfiles/">ftp://ftp.openbsd.org/pub/OpenBSD/distfiles/</a>
    </ul>
<p>
<li>Many pre-built packages for each architecture:
    <table border=0 cellspacing=0 cellpadding=2 width="95%">
    <tr>
    <td valign="top" width="25%">
    <ul>
      <li>i386:       7483
      <li>sparc64:    6820
      <li>alpha:      5993
    </ul></td><td valign=top width="25%"><ul>
      <li>sh:         XXXX
      <li>amd64:      7439
      <li>powerpc:    7050
    </ul></td><td valign=top width="25%"><ul>
      <li>sparc:      4466
      <li>arm:        XXXX
      <li>hppa:       6316
    </ul></td><td valign=top width="25%"><ul>
      <li>vax:        XXXX
      <li>mips64:     5845
      <li>mips64el:   5908
  </ul></td></tr></table>
<p>

<li>Some highlights:
    <ul>
    <li>GNOME 3.4.2			<li>KDE 3.5.10
    <li>Xfce 4.10			<li>MySQL 5.1.63
    <li>PostgreSQL 9.1.4		<li>Postfix 2.9.3
    <li>OpenLDAP 2.3.43 and 2.4.31	<li>Mozilla Firefox 3.5.19, 3.6.28 and 13.0.1
    <li>Mozilla Thunderbird 13.0.1	<li>GHC 7.0.4
    <li>LibreOffice 3.5.5.3		<li>Emacs 21.4, 22.3 and 23.4
    <li>Vim 7.3.154			<li>PHP 5.2.17 and 5.3.14
    <li>Python 2.5.4, 2.7.3 and 3.2.3	<li>Ruby 1.8.7.370 and 1.9.3.194
    <li>Tcl/Tk 8.5.11			<li>Jdk 1.7
    <li>Mono 2.10.9			<li>Chromium 20.0.1132.57
    <li>Groff 1.21			<li>Go 1.0.2
    <li>GCC 4.6.3 and 4.7.1		<li>LLVM/Clang 3.1
    </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.7 with xserver 1.12.2 + patches,
      freetype 2.4.10, fontconfig 2.8.0, Mesa 7.10.3, xterm 279,
      xkeyboard-config 2.6 and more)
    <li>Gcc 4.2.1 (+patches), 3.3.5 (+ patches) and 2.95.3 (+ patches)
    <li>Perl 5.12.2 (+ patches)
    <li>Our improved and secured version of Apache 1.3, with
      SSL/TLS and DSO support
    <li>Nginx 1.2.2 (+ patches)
    <li>OpenSSL 1.0.0f (+ patches)
    <li>SQLite 3.7.13 (+ patches)
    <li>Sendmail 8.14.5, with libmilter
    <li>Bind 9.4.2-P2 (+ patches)
    <li>NSD 3.2.11
    <li>Lynx 2.8.7rel.2 with HTTPS and IPv6 support (+ patches)
    <li>Sudo 1.7.2p8
    <li>Ncurses 5.7
    <li>Heimdal 0.7.2 (+ patches)
    <li>Arla 0.35.7
    <li>Binutils 2.15 (+ patches)
    <li>Gdb 6.3 (+ patches)
    <li>Less 444 (+ patches)
    <li>Awk Aug 10, 2011 version
    </ul>

</ul>

<a name="install"></a>
<hr>
<p>
<h3><font color="#0000e0">How to install</font></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 5.2 on your machine:
<p>
<ul>
<li>CD1:5.2/i386/INSTALL.i386
<p>
<li>CD2:5.2/amd64/INSTALL.amd64
<p>
<li>CD3:5.2/sparc64/INSTALL.sparc64
<p>
<li>FTP:.../OpenBSD/5.2/alpha/INSTALL.alpha
<li>FTP:.../OpenBSD/5.2/armish/INSTALL.armish
<li>FTP:.../OpenBSD/5.2/hp300/INSTALL.hp300
<li>FTP:.../OpenBSD/5.2/hppa/INSTALL.hppa
<li>FTP:.../OpenBSD/5.2/landisk/INSTALL.landisk
<li>FTP:.../OpenBSD/5.2/loongson/INSTALL.loongson
<li>FTP:.../OpenBSD/5.2/luna88k/INSTALL.luna88k
<li>FTP:.../OpenBSD/5.2/macppc/INSTALL.macppc
<li>FTP:.../OpenBSD/5.2/mvme68k/INSTALL.mvme68k
<li>FTP:.../OpenBSD/5.2/mvme88k/INSTALL.mvme88k
<li>FTP:.../OpenBSD/5.2/sgi/INSTALL.sgi
<li>FTP:.../OpenBSD/5.2/socppc/INSTALL.socppc
<li>FTP:.../OpenBSD/5.2/sparc/INSTALL.sparc
<li>FTP:.../OpenBSD/5.2/vax/INSTALL.vax
<li>FTP:.../OpenBSD/5.2/zaurus/INSTALL.zaurus
</ul>
<hr>

<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!
<p>

<h3><font color="#e00000">OpenBSD/i386:</font></h3>
<ul>
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:5.2/i386/floppy52.fs</i> to a floppy and boot via the floppy drive.

<p>
Use <i>CD1:5.2/i386/floppyB52.fs</i> instead for greater SCSI controller
support, or <i>CD1:5.2/i386/floppyC52.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:5.2/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
use the
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&amp;sektion=1">dd(1)</a>
utility. The following is an example usage of
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&amp;sektion=1">dd(1)</a>,
where the device could be &quot;floppy&quot;, &quot;rfd0c&quot;, or
&quot;rfd0a&quot;.

<ul><pre>
# <strong>dd if=&lt;file&gt; of=/dev/&lt;device&gt; bs=32k</strong>
</pre></ul>

<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">FAQ 4.3.2</a>.
</ul>

<p>
<h3><font color="#e00000">OpenBSD/amd64:</font></h3>
<ul>
The 5.2 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:5.2/amd64/floppy52.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.
</ul>

<p>
<h3><font color="#e00000">OpenBSD/macppc:</font></h3>
<ul>
Burn the image from the FTP site to a CDROM, 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
/5.2/macppc/bsd.rd</i>
</ul>

<p>
<h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
<ul>
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:5.2/sparc64/floppy52.fs</i> or <i>CD3:5.2/sparc64/floppyB52.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:5.2/sparc64/miniroot52.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.
</ul>

<p>
<h3><font color="#e00000">OpenBSD/alpha:</font></h3>
<ul>
<p>Write <i>FTP:5.2/alpha/floppy52.fs</i> or
<i>FTP:5.2/alpha/floppyB52.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.

</ul>

<p>
<h3><font color="#e00000">OpenBSD/armish:</font></h3>
<ul>
<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.
</ul>

<p>
<h3><font color="#e00000">OpenBSD/hp300:</font></h3>
<ul>
<p>
Boot over the network by following the instructions in INSTALL.hp300.
</ul>

<p>
<h3><font color="#e00000">OpenBSD/hppa:</font></h3>
<ul>
<p>
Boot over the network by following the instructions in INSTALL.hppa or the
<a href="hppa.html#install">hppa platform page</a>.
</ul>

<p>
<h3><font color="#e00000">OpenBSD/landisk:</font></h3>
<ul>
<p>
Write <i>miniroot52.fs</i> to the start of the CF
or disk, and boot normally.
</ul>

<p>
<h3><font color="#e00000">OpenBSD/loongson:</font></h3>
<ul>
<p>
Write <i>miniroot52.fs</i> to a USB stick and boot bsd.rd from it
or boot bsd.rd via tftp.
Refer to the instructions in INSTALL.loongson for more details.
</ul>
<p>

<p>
<h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
<ul>
<p>
Copy bsd.rd to a Mach or UniOS partition, and boot it from the PROM.
Alternatively, you can create a bootable tape and boot from it. Refer to
the instructions in INSTALL.luna88k for more details.
</ul>

<p>
<h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
<ul>
<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.
</ul>

<p>
<h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
<ul>
<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.
</ul>

<p>
<h3><font color="#e00000">OpenBSD/sgi:</font></h3>
<ul>
<p>
To install on an O2, burn cd52.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>
On other systems, or if your machine doesn't have a CD drive, you can
setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd.IP##" using
the kernel matching your system type.
Refer to the instructions in INSTALL.sgi for more details.
</ul>

<p>
<h3><font color="#e00000">OpenBSD/socppc:</font></h3>
<ul>
<p>
After connecting a serial port, boot over the network via DHCP/tftp.
Refer to the instructions in INSTALL.socppc for more details.
</ul>

<p>
<h3><font color="#e00000">OpenBSD/sparc:</font></h3>
<ul>
Boot from one of the provided install ISO images, using one of the two
commands listed below, depending on the version of your ROM.

<ul><pre>
ok <strong>boot cdrom 5.2/sparc/bsd.rd</strong>
or
&gt; <strong>b sd(0,6,0)5.2/sparc/bsd.rd</strong>
</pre></ul>

<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>floppy52.fs</i> to a floppy.
For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
To boot from the floppy use one of the two commands listed below,
depending on the version of your ROM.

<ul><pre>
ok <strong>boot floppy</strong>
or
&gt; <strong>b fd()</strong>
</pre></ul>

<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.
</ul>

<p>
<h3><font color="#e00000">OpenBSD/vax:</font></h3>
<ul>
Boot over the network via mopbooting as described in INSTALL.vax.
</ul>

<p>
<h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
<ul>
<p>
Using the Linux built-in graphical ipkg installer, install the
openbsd52_arm.ipk package.  Reboot, then run it.  Read INSTALL.zaurus
for a few important details.
</ul>

<p>
<h3><font color="#e00000">Notes about the source code:</font></h3>
<ul>
src.tar.gz contains a source archive starting at /usr/src.  This file
contains everything you need except for the kernel sources, which are
in a separate archive.  To extract:
<p>
<ul><pre>
# <strong>mkdir -p /usr/src</strong>
# <strong>cd /usr/src</strong>
# <strong>tar xvfz /tmp/src.tar.gz</strong>
</pre></ul>
<p>
sys.tar.gz contains a source archive starting at /usr/src/sys.
This file contains all the kernel sources you need to rebuild kernels.
To extract:
<p>
<ul><pre>
# <strong>mkdir -p /usr/src/sys</strong>
# <strong>cd /usr/src</strong>
# <strong>tar xvfz /tmp/sys.tar.gz</strong>
</pre></ul>
<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.
<p>
</ul>

<a name="upgrade"></a>
<hr>
<p>
<h3><font color="#0000e0">How to upgrade</font></h3>
<p>
If you already have an OpenBSD 5.1 system, and do not want to reinstall,
upgrade instructions and advice can be found in the
<a href="faq/upgrade52.html">Upgrade Guide</a>.

<a name="ports"></a>
<hr>
<p>
<h3><font color="#0000e0">Ports Tree</font></h3>
<p>
A ports tree archive is also provided.  To extract:
<p>
<ul><pre>
# <strong>cd /usr</strong>
# <strong>tar xvfz /tmp/ports.tar.gz</strong>
# <strong>cd ports</strong>
</pre></ul>
<p>
The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree.  Go
read the <a href="faq/ports/index.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="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&amp;apropos=0&amp;sektion=1&amp;manpath=OpenBSD+Current&amp;arch=i386">
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:
<p>
<ul><pre>
# <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_2</strong>
</pre></ul>
<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 through FTP. Updated
packages for the 5.2 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.
<p>

<hr>
<a href="index.html"><img height="24" width="24" src="back.gif" border="0"
alt="OpenBSD"></a>
<a href="mailto:www@openbsd.org">www@openbsd.org</a>
<br><small>
$OpenBSD: 52.html,v 1.18 2012/09/06 03:03:30 lteo Exp $
</small>

</body>
</html>