Annotation of www/30.html, Revision 1.44
1.43 bentley 1: <!doctype html>
2: <html lang=en id=release>
3: <meta charset=utf-8>
4:
1.24 deraadt 5: <title>OpenBSD 3.0</title>
1.35 tb 6: <meta name="description" content="OpenBSD 3.0">
7: <meta name="viewport" content="width=device-width, initial-scale=1">
8: <link rel="stylesheet" type="text/css" href="openbsd.css">
1.38 tb 9: <link rel="canonical" href="https://www.openbsd.org/30.html">
1.1 deraadt 10:
1.43 bentley 11: <h2 id=OpenBSD>
1.18 jufi 12: <a href="index.html">
1.43 bentley 13: <i>Open</i><b>BSD</b></a>
14: 3.0
1.35 tb 15: </h2>
1.1 deraadt 16:
1.43 bentley 17: <table>
18: <tr>
19: <td>
1.24 deraadt 20: <a href=images/Rock.jpg>
1.43 bentley 21: <img src=images/Rock.jpg alt="Rock"></a>
22: <td>
1.1 deraadt 23: Released December 1, 2001<br>
24: Copyright 1997-2001, Theo de Raadt.<br>
1.43 bentley 25: <cite class=isbn>ISBN 0-9683637-8-4</cite>
1.20 deraadt 26: <br>
1.32 deraadt 27: 3.0 Song: <a href="lyrics.html#30">"E-Railed (OpenBSD Mix)"</a>
1.42 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
1.12 jufi 32: a list of mirror machines.
1.43 bentley 33: <li>Go to the <code class=reldir>pub/OpenBSD/3.0/</code> directory on
1.12 jufi 34: one of the mirror sites.
1.15 miod 35: <li>Have a look at <a href=errata30.html>The 3.0 Errata page</a> for a list
1.1 deraadt 36: of bugs and workarounds.
37: <li>See a <a href=plus30.html>detailed log of changes</a> between the
1.2 miod 38: 2.9 and 3.0 releases.
1.1 deraadt 39: </ul>
1.36 tb 40: <p>
1.35 tb 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.43 bentley 44: </table>
1.1 deraadt 45:
46: <hr>
1.43 bentley 47:
48: <section id=new>
49: <h3>What's New</h3>
1.1 deraadt 50: <p>
1.35 tb 51: This is a partial list of new features and systems included in OpenBSD 3.0.
1.8 deraadt 52: For a comprehensive list, see the <a href=plus30.html>changelog</a> leading
1.1 deraadt 53: to 3.0.
54: <p>
55:
56: <ul>
1.39 tb 57: <li><a href="https://www.OpenSSH.com">OpenSSH</a> (supporting both the
1.1 deraadt 58: SSH1 and SSH2 protocols) is now at version 3.0. Secure file transfers are
59: encouraged using the greatly enhanced SFTP subsystem which now comes both with
60: an SFTP server and client.
61: <p>
62:
63: <li>Extensive changes to the documentation, notably the man pages and
64: the Web FAQ. The manual pages now include useful examples to
65: supplement the explanations.
66: <p>
67:
68: <li>More complete collection and better tested set of "ports".
69: <p>
70:
71: <li>Over 1000 pre-built and tested packages.
72: <p>
73:
1.3 miod 74: <li>A new <a href="sparc64.html">OpenBSD/sparc64</a> port for UltraSPARC
75: hardware.
1.1 deraadt 76: <p>
77:
1.3 miod 78: <li>A new packet filter, <a
1.43 bentley 79: href="https://man.openbsd.org/pf.4">PF</a>,
1.3 miod 80: featuring NAT capabilities, with a mostly ipf-compatible syntax.
1.4 miod 81: <p>
1.1 deraadt 82:
83: <li>The system includes the following major components from outside suppliers:
84: <p>
85: <ul>
1.5 pvalchev 86: <li>XFree86 4.1.0 (and i386 contains 3.3.X servers also, thus providing support for all chipsets)
1.1 deraadt 87: <li>gcc 2.95.3 (+ patches)
1.3 miod 88: <li>perl 5.6.1 (+ patches)
89: <li>Apache 1.3.19, mod_ssl 2.8.2, OpenSSL 0.9.6b (+ patches), DSO support
1.1 deraadt 90: <li>groff 1.15
1.5 pvalchev 91: <li>sendmail 8.12.1
1.1 deraadt 92: <li>lynx 2.8.2 with HTTPS support added
93: <li>sudo 1.6.3p7
94: <li>ncurses 5.2
95: <li>Latest KAME IPv6
1.9 hin 96: <li>KTH Kerberos 1.0.8
97: <li>Heimdal 0.3f (+ patches)
1.2 miod 98: <li>OpenSSH 3.0
1.1 deraadt 99: </ul>
100: <p>
101:
102: <li>Many improvements for security and reliability (look for the red
103: print in the <a href=plus30.html>complete changelog</a>).
1.7 mpech 104: </ul>
1.43 bentley 105: </section>
1.1 deraadt 106:
107: <hr>
1.43 bentley 108:
109: <section id=install>
110: <h3>How to install</h3>
1.1 deraadt 111: <p>
112: Following this are the instructions which you would have on a piece of
113: paper if you had purchased a CDROM set instead of doing an alternate
114: form of install. The instructions for doing an ftp (or other style
115: of) install are very similar; the CDROM instructions are left intact
116: so that you can see how much easier it would have been if you had
117: purchased a CDROM instead.
118: <p>
119:
120: <hr>
1.9 hin 121: Please refer to the following files on the three CDROMs for extensive
1.1 deraadt 122: details on how to install OpenBSD 3.0 on your machine:
123: <p>
124: <ul>
1.44 ! deraadt 125: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.0/i386/INSTALL.i386">
! 126: .../OpenBSD/3.0/i386/INSTALL.i386 (on CD1)</a>
! 127: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.0/alpha/INSTALL.alpha">
! 128: .../OpenBSD/3.0/alpha/INSTALL.alpha (on CD1)</a>
! 129: <p>
! 130: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.0/macppc/INSTALL.macppc">
! 131: .../OpenBSD/3.0/macppc/INSTALL.macppc (on CD2)</a>
! 132: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.0/mvme68k/INSTALL.mvme68k">
! 133: .../OpenBSD/3.0/mvme68k/INSTALL.mvme68k (on CD2)</a>
! 134: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.0/amiga/INSTALL.amiga">
! 135: .../OpenBSD/3.0/amiga/INSTALL.amiga (on CD2)</a>
! 136: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.0/mac68k/INSTALL.mac68k">
! 137: .../OpenBSD/3.0/mac68k/INSTALL.mac68k (on CD2)</a>
! 138: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.0/hp300/INSTALL.hp300">
! 139: .../OpenBSD/3.0/hp300/INSTALL.hp300 (on CD2)</a>
! 140: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.0/vax/INSTALL.vax">
! 141: .../OpenBSD/3.0/vax/INSTALL.vax (on CD2)</a>
! 142: <p>
! 143: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.0/sparc/INSTALL.sparc">
! 144: .../OpenBSD/3.0/sparc/INSTALL.sparc (on CD3)</a>
! 145: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.0/sparc64/INSTALL.sparc64">
! 146: .../OpenBSD/3.0/sparc64/INSTALL.sparc64 (on CD3)</a>
1.1 deraadt 147: </ul>
1.44 ! deraadt 148: </section>
! 149:
1.1 deraadt 150: <hr>
151:
1.43 bentley 152: <section id=quickinstall>
153:
1.1 deraadt 154: <p>
155: Quick installer information for people familiar with OpenBSD, and the
156: use of the "disklabel -E" command. If you are at all confused when
157: installing OpenBSD, read the relevant INSTALL.* file as listed above!
158:
1.43 bentley 159: <h3>OpenBSD/i386:</h3>
160:
1.1 deraadt 161: <p>
162: 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:3.0/i386/floppy30.fs</i> to a floppy and boot via the floppy drive.
163:
164: <p>
1.4 miod 165: Use <i>CD1:3.0/i386/floppyB30.fs</i> instead for greater scsi controller
166: support, or <i>CD1:3.0/i386/floppyC30.fs</i> for better laptop support.
167:
168: <p>
1.1 deraadt 169: If you are planning on dual booting OpenBSD with another OS, you will need to read the included INSTALL.i386 document.
170:
171: <p>
1.43 bentley 172: To make a boot floppy under MS-DOS, use the "rawrite" utility located at <i>CD:/3.0/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 "floppy", "rfd0c", or "rfd0a".
1.1 deraadt 173:
1.43 bentley 174: <blockquote><pre>
1.44 ! deraadt 175: # <kbd>dd if=<file> of=/dev/<device> bs=32k</kbd>
1.43 bentley 176: </pre></blockquote>
1.1 deraadt 177:
178: <p>
1.37 tj 179: 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#4.1">this page</a>.
1.1 deraadt 180:
1.43 bentley 181: <h3>OpenBSD/alpha:</h3>
182:
1.1 deraadt 183: <p>
1.4 miod 184: At the SRM prompt, enter <i>boot -fi 3.0/alpha/bsd.rd dka6</i> where <i>dka6</i>
185: is the short name for the CDROM drive (you can check with <i>show dev</i>).
1.1 deraadt 186:
1.4 miod 187: <p>If you can't boot from CDROM, write <i>CD1:3.0/alpha/floppy30.fs</i> or
188: <i>CD1:3.0/alpha/floppyB30.fs</i> (depending on your machine) to a diskette and
189: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
1.1 deraadt 190:
191: <p>
1.4 miod 192: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install will most likely fail.
1.1 deraadt 193:
1.43 bentley 194: <h3>OpenBSD/macppc:</h3>
1.1 deraadt 195:
196: <p>
1.4 miod 197: Put the CD2 in your CDROM drive and poweron your machine while holding down the
198: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
1.1 deraadt 199:
200: <p>
1.4 miod 201: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
202: /3.0/macppc/bsd.rd</i>
1.43 bentley 203:
1.13 drahn 204: <p>
205: Due to an error in how the CD was produced for the 3.0 Release,
1.14 horacio 206: the following modified command should be used: <i>boot cd:,OFWBOOT
1.13 drahn 207: /3.0/macppc/bsd.rd</i>.
208: This command may not work on some older New World systems,
1.14 horacio 209: iMac (Rev A - Rev C); on these machines it will be necessary to
1.13 drahn 210: copy the ofwboot and /3.0/macppc/bsd.rd to the first HFS partition on
211: the harddrive and boot using <i>boot hd:,OFWBOOT /bsd.rd</i>.
1.1 deraadt 212:
1.43 bentley 213: <h3>OpenBSD/hp300:</h3>
214:
1.1 deraadt 215: <p>
1.4 miod 216: Put the CD2 in your CDROM drive and press the spacebar during the poweron
217: self-test. Enter the boot choice that corresponds to <i>SYS_CDBOOT</i>.
218:
219: <p>
220: Alternatively, you can boot over the network by following the instructions in
221: INSTALL.hp300.
1.1 deraadt 222:
1.43 bentley 223: <h3>OpenBSD/amiga:</h3>
224:
1.1 deraadt 225: <p>
1.4 miod 226: Create BSD partitions according to INSTALL.amiga's preparation section.
227: Mount the CD2 under AmigaOS as device CD0: Next, execute the following
228: CLI command: "CD0:3.0/amiga/utils/loadbsd CD0:3.0/amiga/bsd.rd".
1.1 deraadt 229:
1.43 bentley 230: <h3>OpenBSD/mac68k:</h3>
231:
1.1 deraadt 232: <p>
233: Boot MacOS as normal and partition your disk with the appropriate A/UX
234: configurations. Then, extract the Macside utilities from
235: CD2:3.0/mac68k/utils onto your hard disk. Run Mkfs to create your
236: filesystems on the A/UX partitions you just made. Then, use the
237: BSD/Mac68k Installer to copy all the sets in CD2:3.0/mac68k/ onto your
238: partitions. Finally, you will be ready to configure the BSD/Mac68k
239: Booter with the location of your kernel and boot the system.
240:
1.43 bentley 241: <h3>OpenBSD/mvme68k:</h3>
242:
1.4 miod 243: <p>
244: You can create a bootable installation tape or boot over the network.<br>
245: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
246: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
247: for more details.
1.43 bentley 248:
249: <h3>OpenBSD/vax:</h3>
1.4 miod 250:
251: <p>
252: Boot over the network via mopbooting as described in INSTALL.vax.
1.43 bentley 253:
254: <h3>OpenBSD/sparc:</h3>
1.4 miod 255:
256: <p>
257: The 3.0 release of OpenBSD/sparc is located on CD3. To boot off of this CD you can use one of the two commands listed below, depending on the version of your ROM.
258:
1.43 bentley 259: <blockquote><pre>
260: > <kbd>boot cdrom 3.0/sparc/bsd.rd</kbd>
1.4 miod 261: or
1.43 bentley 262: > <kbd>b sd(0,6,0)3.0/sparc/bsd.rd</kbd>
263: </pre></blockquote>
1.4 miod 264:
265: <p>
1.37 tj 266: If your sparc does not have a CD drive, you can alternatively boot from floppy. To do so you need to write "CD3:3.0/sparc/floppy30.fs" to a floppy. For more information see <a href="faq/faq4.html#4.1">this page</a>. To boot from the floppy use one of the two commands listed below, depending on the version of your ROM.
1.4 miod 267:
1.43 bentley 268: <blockquote><pre>
269: > <kbd>boot floppy</kbd>
1.4 miod 270: or
1.44 ! deraadt 271: > <kbd>boot fd()</kbd>
1.43 bentley 272: </pre></blockquote>
1.4 miod 273:
274: <p>
275: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install will most likely fail.
276:
277: <p>
278: If your sparc doesn't have a floppy drive nor a CD drive, you can either
279: setup a bootable tape, or install via network, as told in the
280: INSTALL.sparc file.
1.43 bentley 281:
282: <h3>OpenBSD/sparc64:</h3>
1.4 miod 283:
284: <p>
285: Put the CD3 in your CDROM drive and type <i>boot cdrom</i>.
286:
287: <p>
288: If this doesn't work, or if you don't have a CDROM drive, you can write
289: <i>CD3:3.0/sparc64/floppy30.fs</i> to a floppy and boot it with <i>boot
290: floppy</i>.<br>
291: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install will most likely fail.
292:
293: <p>
1.5 pvalchev 294: You can also write <i>CD3:3.0/sparc64/miniroot30.fs</i> to the swap partition on
1.4 miod 295: the disk and boot with <i>boot disk:b</i>.
296:
297: <p>
298: If nothing works, you can boot over the network as described in INSTALL.sparc64
1.44 ! deraadt 299: </section>
1.1 deraadt 300:
1.44 ! deraadt 301: <hr>
1.43 bentley 302:
303: <section id=sourcecode>
1.44 ! deraadt 304: <h3>Notes about the source code</h3>
1.1 deraadt 305: <p>
306: src.tar.gz contains a source archive starting at /usr/src. This file
307: contains everything you need except for the kernel sources, which are
308: in a separate archive. To extract:
1.43 bentley 309:
310: <blockquote><pre>
311: # <kbd>mkdir -p /usr/src</kbd>
312: # <kbd>cd /usr/src</kbd>
313: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
314: </pre></blockquote>
315:
1.1 deraadt 316: <p>
317: srcsys.tar.gz contains a source archive starting at /usr/src/sys.
318: This file contains all the kernel sources you need to rebuild kernels.
319: To extract:
1.43 bentley 320:
321: <blockquote><pre>
322: # <kbd>mkdir -p /usr/src/sys</kbd>
323: # <kbd>cd /usr/src</kbd>
324: # <kbd>tar xvfz /tmp/srcsys.tar.gz</kbd>
325: </pre></blockquote>
326:
1.1 deraadt 327: <p>
328: Both of these trees are a regular CVS checkout. Using these trees it
329: is possible to get a head-start on using the anoncvs servers as
1.44 ! deraadt 330: described <a href="anoncvs.html">here</a>.
1.1 deraadt 331: Using these files
332: results in a much faster initial CVS update than you could expect from
333: a fresh checkout of the full OpenBSD source tree.
1.43 bentley 334: </section>
335:
1.1 deraadt 336: <hr>
1.43 bentley 337:
338: <section id=ports>
339: <h3>Ports Tree</h3>
1.1 deraadt 340: <p>
341: A ports tree archive is also provided. To extract:
342: <p>
1.43 bentley 343: <blockquote><pre>
344: # <kbd>cd /usr</kbd>
345: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
346: # <kbd>cd ports</kbd>
347: </pre></blockquote>
1.1 deraadt 348: <p>
349: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
1.22 jasper 350: read <a href=faq/faq15.html>http://www.OpenBSD.org/faq/faq15.html</a>
1.1 deraadt 351: if you know nothing about ports
352: at this point. This text is not a manual of how to use ports.
353: Rather, it is a set of notes meant to kickstart the user on the
354: OpenBSD ports system.
355: <p>
356: Certainly, the OpenBSD ports system is not complete. It is doubtful it
357: will ever be. However, it is growing very fast and getting more stable.
358: Almost all ports provided with this release should build without problems
359: on most architectures (over 1200 packages build on i386, for instance).
360: <p>
1.35 tb 361: The <i>ports/</i> directory represents a CVS (see the manpage for
1.43 bentley 362: <a href="https://man.openbsd.org/cvs.1">
1.35 tb 363: cvs(1)</a> if
364: you aren't familiar with CVS) checkout of our ports. As with our complete
1.1 deraadt 365: source tree, our ports tree is available via anoncvs. So, in
366: order to keep current with it, you must make the <i>ports/</i> tree
367: available on a read-write medium and update the tree with a command
368: like:
369: <p>
1.43 bentley 370: <blockquote><pre>
1.44 ! deraadt 371: # <kbd>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_3_0</kbd>
1.43 bentley 372: </pre></blockquote>
1.1 deraadt 373: <p>
374: [Of course, you must replace the local directory and server name here
375: with the location of your ports collection and a nearby anoncvs
376: server.]
377: <p>
1.44 ! deraadt 378: Note that most ports are available as packages on our mirrors. Updated
1.1 deraadt 379: packages for the 3.0 release will be made available if problems arise.
380: <p>
381: If you're interested in seeing a port added, would like to help out, or just
1.44 ! deraadt 382: would like to know more, the mailing list
! 383: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
1.43 bentley 384: </section>