INSTALLATION NOTES for OpenBSD/macppc 3.5 What is OpenBSD? ---------------- OpenBSD is a fully functional, multi-platform UN*X-like Operating System based on Berkeley Networking Release 2 (Net/2) and 4.4BSD-Lite. There are several operating systems in this family, but OpenBSD differentiates itself by putting security and correctness first. The OpenBSD team strives to achieve what is called a 'secure by default' status. This means that an OpenBSD user should feel safe that their newly installed machine will not be compromised. This 'secure by default' goal is achieved by taking a proactive stance on security. Since security flaws are essentially mistakes in design or implement- ation, the OpenBSD team puts as much importance on finding and fixing existing design flaws and implementation bugs as it does writing new code. This means that an OpenBSD system will not only be more secure, but it will be more stable. The source code for all critical system components has been checked for remote-access, local-access, denial- of-service, data destruction, and information-gathering problems. In addition to bug fixing, OpenBSD has integrated strong cryptography into the base system. A fully functional IPsec implementation is provided as well as support for common protocols such as SSL and SSH. Network filtering and monitoring tools such as packet filtering, NAT, and bridging are also standard. For high performance demands, support for hardware cryptography has also been added to the base system. Because security is often seen as a tradeoff with usability, OpenBSD provides as many security options as possible to allow the user to enjoy secure computing without feeling burdened by it. To integrate more smoothly in other environments, OpenBSD 3.5 also provides several binary emulation subsystems (which includes iBCS2, Linux, OSF/1, SunOS, SVR4, Solaris, and Ultrix compatibility), aiming at making the emulation as accurate as possible so that it is transparent to the user. Because OpenBSD is from Canada, the export of Cryptography pieces (such as OpenSSH, IPsec, and Kerberos) to the world is not restricted. (NOTE: OpenBSD can not be re-exported from the US once it has entered the US. Because of this, take care NOT to get the distribution from an FTP server in the US if you are outside of Canada and the US.) A comprehensive list of the improvements brought by the 3.5 release is available on the web at http://www.OpenBSD.org/35.html. For macppc, OpenBSD 3.5 adds support for the newest Apple machines, as well as improved stability, and better X11 support. Sources of OpenBSD: ------------------- This is a list of currently known FTP servers at the time of the 3.5 release. For a more recent list, please refer to http://www.OpenBSD.org/ftp.html Main server in Canada: ftp://ftp.OpenBSD.org/pub/OpenBSD (Alberta) Australia: ftp://mirror.aarnet.edu.au/pub/OpenBSD (Canberra, .au only) ftp://ftp.it.net.au/mirrors/OpenBSD (Perth) ftp://ftp.planetmirror.com/pub/OpenBSD (Sydney) ftp://mirror.pacific.net.au/OpenBSD (Sydney) ftp://openbsd.wiretapped.net/pub/OpenBSD (Sydney) Austria: ftp://gd.tuwien.ac.at/opsys/OpenBSD (Vienna) ftp://playboy.wu-wien.ac.at/pub/OpenBSD (Vienna) Belgium: ftp://openbsd.rug.ac.be/pub/OpenBSD (Ghent) Brazil: ftp://ftp.openbsd.org.br/pub/OpenBSD (Curitiba) ftp://ftp.das.ufsc.br/pub/OpenBSD (Santa Catarina) Canada: ftp://ftp.ca.openbsd.org/pub/OpenBSD (Edmonton) China: ftp://ftp.shellhung.org/pub/OpenBSD (Hong Kong) Czech Republic: ftp://ftp.openbsd.cz/pub/OpenBSD (Prague) Denmark: ftp://sunsite.dk/mirrors/openbsd (Aalborg) Finland: ftp://ftp.fi.debian.org/pub/OpenBSD ftp://ftp.jyu.fi/pub/OpenBSD (Jyvaskyla) France: ftp://ftp.ac-creteil.fr/OpenBSD ftp://ftp.bsdfr.org/pub/OpenBSD (Paris) ftp://ftp.club-internet.fr/pub/OpenBSD (Paris) ftp://ftp.fr.openbsd.org/pub/OpenBSD (Paris) Germany: ftp://ftp.de.openbsd.org/unix/OpenBSD (Berlin) ftp://ftp.tu-clausthal.de/pub/OpenBSD (Clausthal) ftp://ftp.freenet.de/pub/ftp.openbsd.org/pub/OpenBSD (Duesseldorf) ftp://openbsd.informatik.uni-erlangen.de/pub/OpenBSD (Erlangen) ftp://ftp-stud.fht-esslingen.de/pub/OpenBSD (Esslingen) ftp://pandemonium.tiscali.de/pub/OpenBSD (Frankfurt) ftp://openbsd.bay13.net/pub/OpenBSD (Hamburg) ftp://ftp.leo.org/pub/OpenBSD (Muenchen) ftp://ftp.uni-stuttgart.de/pub/OpenBSD (Stuttgart) ftp://ftp.fh-wolfenbuettel.de/pub/os/openbsd (Wolfenbuettel) Greece: ftp://filoktitis.noc.uoa.gr/pub/OpenBSD (Athens) ftp://ftp.physics.auth.gr/pub/mirrors/OpenBSD/OpenBSD (Thessaloniki) ftp://ftp.duth.gr/pub/OpenBSD (Thrace) Hungary: ftp://ftp.fsn.hu/pub/OpenBSD Ireland: ftp://ftp.esat.net/pub/OpenBSD (Dublin) Italy: ftp://ftp.openbsd.it/pub/Unix/OpenBSD (Napoli) ftp://na.mirror.garr.it/mirrors/OpenBSD (Napoli) Japan: ftp://ftp.netlab.is.tsukuba.ac.jp/pub/os/OpenBSD (Ibaraki) ftp://ftp.iij.ad.jp/pub/OpenBSD (Tokyo) ftp://ftp.jp.openbsd.org/pub/OpenBSD (Tokyo) ftp://ftp.kddlabs.co.jp/OpenBSD (Tokyo) Lithuania: ftp://ftp.openbsd.lt/pub/OpenBSD The Netherlands: ftp://ftp.nl.uu.net/pub/OpenBSD (Amsterdam) ftp://ftp.calyx.nl/pub/OpenBSD (Amsterdam) ftp://ftp.nluug.nl/pub/OpenBSD (Utrecht) Norway: ftp://ftp.inet.no/pub/OpenBSD (Oslo) ftp://ftp.uninett.no/pub/OpenBSD (Oslo) Poland: ftp://sunsite.icm.edu.pl/pub/OpenBSD ftp://ftp.man.szczecin.pl/pub/BSD/OpenBSD Romania: ftp://ftp.physics.uvt.ro/pub/OpenBSD (Timisoara) Russia: ftp://ftp.gamma.ru/pub/OpenBSD (Moscow) ftp://ftp.radio-msu.net/pub/OpenBSD (Moscow) Saudi Arabia: ftp://ftp.isu.net.sa/pub/mirrors/ftp.openbsd.org/pub/OpenBSD Spain: ftp://ftp.rediris.es/mirror/OpenBSD (Madrid) Sweden: ftp://ftp.stacken.kth.se/pub/OpenBSD (Stockholm) ftp://ftp.sunet.se/pub/OpenBSD (Uppsala) Switzerland: ftp://ftp.solnet.ch/mirror/OpenBSD ftp://sunsite.cnlab-switch.ch/pub/OpenBSD (Zurich) Taiwan: ftp://openbsd.csie.nctu.edu.tw/pub/OpenBSD ftp://openbsd.nsysu.edu.tw/pub/OpenBSD ftp://ftp.tku.edu.tw/pub/OpenBSD (TamSui) Turkey: ftp://ftp.linux.org.tr/pub/OpenBSD Ukraine: ftp://ftp.openbsd.org.ua/pub/OpenBSD (Kiev) United Kingdom: ftp://ftp.plig.org/pub/OpenBSD (London) USA: ftp://ftp5.usa.openbsd.org/pub/OpenBSD (Redwood City, CA) ftp://ftp3.usa.openbsd.org/pub/OpenBSD (Boulder, CO) ftp.lug.udel.edu/pub/OpenBSD (Newark, DE) ftp://reflection.ncsa.uiuc.edu/pub/OpenBSD (Champaign, IL) ftp://ftp.src.uchicago.edu/pub/openbsd (Chicago, IL) ftp://rt.fm/pub/OpenBSD (Lake in the Hills, IL) ftp://ftp7.usa.openbsd.org/pub/os/OpenBSD (West Lafayette, IN) ftp://ftp.groupbsd.org/pub/OpenBSD (Hillsborough, NC) ftp://ftp.cse.buffalo.edu/pub/OpenBSD (Buffalo, NY) ftp://ftp.crimelabs.net/pub/OpenBSD (New York, NY) ftp://openbsd.mirrors.pair.com (Pittsburgh, PA) ftp://carroll.cac.psu.edu/pub/OpenBSD (State College, PA) ftp://mirrors.rcn.net/pub/OpenBSD (Fairfax, VA) ftp://openbsd.secsup.org/pub/openbsd (Fairfax, VA) ftp://ftp.tux.org/bsd/openbsd (Springfield, VA) ftp://mirror.cs.wisc.edu/pub/mirrors/OpenBSD (Madison, WI) Additionally, the file ftp://ftp.OpenBSD.org/pub/OpenBSD/3.5/ftplist contains a list which is continually updated. If you wish to become a distribution site for OpenBSD, contact . OpenBSD 3.5 Release Contents: ----------------------------- The OpenBSD 3.5 release is organized in the following way. In the .../3.5 directory, for each of the architectures having an OpenBSD 3.5 binary distribution, there is a sub-directory. The macppc-specific portion of the OpenBSD 3.5 release is found in the "macppc" subdirectory of the distribution. That subdirectory is laid out as follows: .../3.5/macppc/ INSTALL.macppc Installation notes; this file. CKSUM, MD5 Output of the cksum(1) and md5(1) programs, usable for verification of the correctness of downloaded files. *.tgz macppc binary distribution sets; see below. bsd A stock GENERIC macppc kernel which will be installed on your system during the install. bsd.rd A compressed RAMDISK kernel; the embedded filesystem contains the installation tools. Used for simple installation from a pre-existing system. cd35.iso A miniroot filesystem image suitable to be used as a bootable CD-ROM image; otherwise similar to the bsd.rd image above. The OpenBSD/macppc binary distribution sets contain the binaries which comprise the OpenBSD 3.5 release for macppc systems. There are ten binary distribution sets. The binary distribution sets can be found in the "macppc" subdirectory of the OpenBSD 3.5 distribution tree, and are as follows: base35 The OpenBSD/macppc 3.5 base binary distribution. You MUST install this distribution set. It contains the base OpenBSD utilities that are necessary for the system to run and be minimally functional. It includes shared library support, and excludes everything described below. [ 36.0 MB gzipped, 102.1 MB uncompressed ] comp35 The OpenBSD/macppc Compiler tools. All of the tools relating to C, C++, and fortran are supported. This set includes the system include files (/usr/include), the linker, the compiler tool chain, and the various system libraries (except the shared libraries, which are included as part of the base set). This set also includes the manual pages for all of the utilities it contains, as well as the system call and library manual pages. [ 21.1 MB gzipped, 70.0 MB uncompressed ] etc35 This distribution set contains the system configuration files that reside in /etc and in several other places. This set MUST be installed if you are installing the system from scratch, but should NOT be used if you are upgrading. (If you are upgrading, it's recommended that you get a copy of this set and CAREFULLY upgrade your configuration files by hand; see the section named "Upgrading a previously-installed OpenBSD System" below.) [ 1.6 MB gzipped, 6.4 MB uncompressed ] game35 This set includes the games and their manual pages. [ 2.7 MB gzipped, 6.1 MB uncompressed ] man35 This set includes all of the manual pages for the binaries and other software contained in the base set. Note that it does not include any of the manual pages that are included in the other sets. [ 6.7 MB gzipped, 23.7 MB uncompressed ] misc35 This set includes the system dictionaries (which are rather large), and the typesettable document set. [ 2.2 MB gzipped, 7.2 MB uncompressed ] xbase35 This set includes the base X distribution. This includes programs, headers, libraries, and configuration files. [ 11.2 MB gzipped, 34.2 MB uncompressed ] xfont35 This set includes all of the X fonts. [ 33.5 MB gzipped, 37.5 MB uncompressed ] xserv35 This set includes all of the X servers. [ 8.9 MB gzipped, 25.5 MB uncompressed ] xshare35 This set includes all text files equivalent between all architectures. [ 1.7 MB gzipped, 8.4 MB uncompressed ] OpenBSD System Requirements and Supported Devices: -------------------------------------------------- OpenBSD/macppc 3.5 runs on iMac, G4 Power Macintosh, and G4 Cube, as well as PowerBook and iBook machines. Machines with older firmware: 6xxx, 7xxx, 8xxx, and 9xxx machines are not supported. PowerMac G3 Beige status is unknown. OpenBSD/macppc has been tested on iMac Revs A-C as well as on iMac DV(+) machines, Power Macintosh G4 systems (single and dual processor), as well as the G4 Cube, B&W G3 and LCD iMac. For portables, PowerBook G3, PowerBook G4 (12", 15", 17"), iBook, and iBook2 have been tested. Note that power saving features on portables are very limited, limited power management features are available, suspend/sleep is not supported. However battery level and status charging/AC connected/AC disconnected is supported via an APM emulation layer. Supported devices include: IDE hard disk controllers Onboard controllers (wdc_obio) Onboard ATA100 controllers (kauaiata) PCI controllers (pciide) SCSI host adapters Adaptec AIC-7770, AIC-7850, AIC-7860, AIC-7870, AIC-7880, AIC-7890, AIC-7891, AIC-7892, AIC-7895, AIC-7896, AIC-7897 and AIC-7899 based host adapters (ahc) [*] including the Adaptec cards AHA-274X[W,T] AHA-284X AHA-2910, AHA-2915 AHA-2920 AHA-2930[C,U2] AHA-2940[J,N,U,AU,UW,UW Dual,UW Pro,U2W,U2B] AHA-2950[U2W,U2B] AHA-3940[U,AU,UW,AUW,U2W] AHA-3950U2 AHA-3960 AHA-3985 AHA-4944UW AHA-19160B AHA-29160[B,N] AHA-39160 Symbios Logic (NCR) 53C8xx-based PCI SCSI host adapters (53c810 and 53c825) (siop) RAID controllers Adaptec SCSI RAID (I2O) controllers (ASR-2100S, ASR-3200S, etc) (iop) AGP/SVGA/VGA Display Adapters Primary OpenFirmware display only The following cards will run an accelerated X server: - ATI Mach64 GP - ATI Mach64 GV - ATI Mach64 128 PK - ATI Mach64 128 VR AGP - ATI Mobility M3 - ATI Rage Fury AGP4x - Nvidia GeForce4 440 Go 64M Serial ports Built-in Zilog 8530-based serial ports (zs) Internal non-USB modems. Ethernet adapters Digital DC21x4x-based PCI Ethernet adapters (de), including: Znyx ZX34X Digital DC21x43 clone-based PCI Ethernet adapters (dc) Intel 21145-based PCI Ethernet adapters (dc) HME PCI Fast Ethernet (hme) HME PCI Quad Fast Ethernet (hme) Onboard Older iMac 10-100Mbs (bm) Ethernet Onboard G4/PowerBook/Newer iMac (gem) Ethernet Intel i8255x-based (except the i82556) PCI adapters (fxp), including: Intel EtherExpress PRO/10+ Intel EtherExpress PRO/100, PRO/100B, and PRO/100+ Intel EtherExpress PRO/100+ "Management Adapter" Intel EtherExpress PRO/100 Dual Port Intel PRO/100 VE, PRO/100 VM, and PRO/100 S Alteon Tigon I/II PCI Gigabit Ethernet boards (ti), including: 3Com 3c985 and 3c985B Alteon ACEnic V (fiber and copper) Digital EtherWORKS 1000SX Farallon PN9000SX Netgear GA620 and GA620T SGI Tigon Intel i82540, i82542, i82543, i82544, i82545, and i82546 based adapters (em), including: Intel PRO/1000 Gigabit Server Adapter (SX Fiber) (PWLA8490) Intel PRO/1000F Gigabit Server Adapter (SX Fiber) (PWLA8490SX) Intel PRO/1000T Server Adapter (PWLA8490T) Intel PRO/1000XT Server Adapter (PWLA8490XT) Intel PRO/1000XS Server Adapter (SX Fiber) (PWLA8490XF) Intel PRO/1000T Desktop Adapter (PWLA8390T) Intel PRO/1000XTL Lo Profile PCI Server (PWLA8490XTL) Intel PRO/1000MT Desktop Adapter (PWLA8390MT) Intel PRO/1000MT Server Adapter (PWLA8490MT) Intel PRO/1000MT Dual Port Server Adapter (PWLA8492MT) Intel PRO/1000MF Server Adapter (SX Fiber) (PWLA8490MF) Intel PRO/1000MF Dual Port Server Adapter (SX Fiber) (PWLA8492MF) Intel PRO/1000MF Server Adapter (LX Fiber) (PWLA8490LX) 3Com 3c9xx EtherLink XL adapters (xl), including: 3Com 3c900/3c900B PCI adapters 3Com 3c905/3c905B/3c905C PCI adapters 3Com 3c980/3c980C server adapters 3Com 3cSOHO adapter 3Com 3c900B-FL and 3c900B-FL/FX fiber optic adapters 3Com 3c555/3c556/3c556B MiniPCI adapters Wireless Ethernet Adapters Aironet 802.11DS PCMCIA and PCI (an) WaveLAN IEEE 802.11DS PCMCIA (wi) Tape drives SCSI Tape drives (st) CD-ROM drives (cd) SCSI CD-ROM drives SCSI CD-RW drives Atapi CD-ROM drives Atapi DVD-ROM drives Atapi DVD-RAM drives (read-only) Atapi DVD-RW drives (read-only?) Atapi CD-RW drives Keyboards ADB (akbd) and USB (ukbd) keyboards Mice USB Mice (ums) ADB trackpads (ams) Sound Cards AWACS audio (awacs) Ensoniq AudioPCI (eap) Snapper audio found on recent iBook (since May02) and PowerBook (since Apr02) models (need to verify iMac (Jan 02) and Power Mac G4 (Sep 02)) (snapper) USB audio (uaudio) Radio Receiver Devices Brooktree 848/849/878/879-based TV tuner (bktr) Miscellaneous USB Hubs USB printers (ulpt) USB Zip drives (umass) Brooktree 8[47][89] based frame grabber and TV tuner cards, including (bktr): Animation Technologies FlyVideo Askey/Dynalink Magic TView AverMedia cards Hauppauge Wincast TV and WinTV/PCI IMS TV Turbo Intel Smart Video Recorder III I/O DATA GV-BCTV2/PCI KISS TV/FM PCI Leadtek Winfast TV 2000 Miro PC TV MMAC Osprey NEC PK-UG-X017 STB TV PCI Television Tuner Terratec TerraTVplus Video Highway XTreme VideoLogic Captivator PCI Zoltrix TV Cryptography Accelerators Hifn 6500 (lofn) Hifn 7751/7811/7951/7955/7956/9751 (hifn) Bluesteelnet 5501/5601 (ubsec) Broadcom 5801/5802/5805/5820/5821/5822/5823 (ubsec) SafeNet SafeXcel 1141/1741 (safe) The following devices are not supported currently: - built-in Texas Instrument TSB12LV23 firewire (IEEE1394) ports - built-in USB modems - built-in CardBus slots non-TI PCI1211 Getting the OpenBSD System onto Useful Media: --------------------------------------------- Installation is supported from several media types, including: CD-ROM FFS partitions HFS partitions (bootloader/kernel only, using another media for d/l) Tape FTP HTTP The steps necessary to prepare the distribution sets for installation depend on which method of installation you choose. Some methods require a bit of setup first that is explained below. The installation allows installing OpenBSD directly from FTP mirror sites over the internet, however you must consider the speed and reliability of your internet connection for this option. It may save much time and frustration to use ftp get/reget to transfer the distribution sets to a local server or disk and perform the installation from there, rather than directly from the internet. OpenBSD can now be booted from a CD-ROM by holding down the 'c' key during reboot. If ofwboot and bsd.rd are copied to an HFS partition, it is possible to boot from those files. Then install the rest of the files from any of the above sources. Note: Once an OpenBSD partition exists, it is not possible to load the kernel (bsd.rd) from an HFS partition on that disk. Creating an installation tape: While you won't be able to boot OpenBSD from a tape, you can use one to provide the installation sets. To do so, you need to make a tape that contains the distribution set files, each in "tar" format or in "gzipped tar format". First you will need to transfer the distribution sets to your local system, using ftp or by mounting the CD-ROM containing the release. Then you need to make a tape containing the files. If you're making the tape on a UN*X-like system, the easiest way to do so is make a shell script along the following lines, call it "/tmp/maketape". #! /bin/sh TAPE=${TAPE:-/dev/nrst0} mt -f ${TAPE} rewind for file in base etc comp game man misc xbase xfont xserv xshare do dd if=${file}35.tgz of=${TAPE} obs=8k conv=sync done tar cf ${TAPE} bsd mt -f ${TAPE} offline # end of script And then: cd .../3.5/macppc sh -x /tmp/maketape If you're using a system other than OpenBSD or SunOS, the tape name and other requirements may change. You can override the default device name (/dev/nrst0) with the TAPE environment variable. For example, under Solaris, you would probably run: TAPE=/dev/rmt/0n sh -x /tmp/maketape Note that, when installing, the tape can be write-protected (i.e. read-only). If you are upgrading OpenBSD, you also have the option of installing OpenBSD by putting the new distribution sets somewhere in your existing file system, and using them from there. To do that, do the following: Place the distribution sets you wish to upgrade somewhere in your current file system tree. At a bare minimum, you must upgrade the "base" binary distribution, and so must put the "base35" set somewhere in your file system. It is recommended that you upgrade the other sets, as well. Preparing your System for OpenBSD Installation: ----------------------------------------------- To be able to boot the OpenBSD/macppc installation program, you will need to acquire some limited knowledge of OpenFirmware, the low-level process that controls the microprocessor after hardware initialization and diagnostics are performed but before control is handed to the operating system. To access Open Firmware, you should simultaneously hold down the Command, Option, O, and F keys immediately upon booting. You will be presented with information and a ">" prompt that will look something like this (example taken from a Power Macintosh G4): Apple PowerMac3,1 2.4f1 BootROM built on 02/18/00 at 09:44:35 Copyright 1994-2000 Apple Computer, Inc. All Rights Reserved Welcome to Open Firmware To continue booting, type "mac-boot" and press return To shut down, type "shut-down" and press return ok 0 > If you are installing OpenBSD/macppc on an Xserve, you will need to do so in headless mode. This means you must remove the graphics card and use the serial console. To bring up OpenFirmware via the serial console, hold down the System Identifier button while pressing the Power button. When the upper LED bank begins lighting up in sequence (similar to KIT from Knight Rider), repeatedly press the System Identifier button until the seventh LED from the right is highlighted on the lower bank. Now hold the System Identifier button for two seconds. For more details, read: http://docs.info.apple.com/article.html?artnum=75489 Important Open Firmware command examples: boot cd:,ofwboot /3.5/macppc/bsd.rd (boot from an appropriately prepared OpenBSD CD-ROM in the CD/DVD drive) boot enet:,ofwboot /bsd.rd (netboot from a pre-configured bootp/tftp/nfs server containing the "ofwboot" and "bsd.rd" files at the root directory of the tftp server) boot ide1:,ofwboot /bsd (After installation, boot /bsd from the slave device on the second ATA bus) mac-boot (boot into Mac OS) reset-all (reboot the machine) shut-down (halt the machine; shutdown) printenv (print current machine variables) setenv (set a machine variable) devalias (list device aliases; useful for locating other devices in the machine such as hard drives, etc) As seen above, device aliases typically take the form of "ide", "cd", etc. To boot to an alternative device, you may substitute them with entries from this list (example devices taken from a Power Macintosh G4): ultra0 = hd = master device, primary ATA bus (factory-installed drive) ultra1 = slave device, primary ATA bus ide0 = cd = master device, secondary ATA bus (CD/DVD drive) ide1 = slave device, secondary ATA bus (Zip drive, if installed) enet = motherboard Ethernet device Other Open Firmware command examples: setenv auto-boot? false (force the machine to wait at Open Firmware for user input at next reboot; options are true/false) setenv boot-device ide:,ofwboot (force the machine to boot into OpenBSD automatically at next reboot) dev / (change to root level of the device tree) pwd (show current location in the device tree) ls (show items at current location in the device tree) words (show methods of items at current location in the device tree) .properties (show properties of items at current location in the device tree) To reset a Power Macintosh to the factory-configured Open Firmware settings, simultaneously hold down the Command, Option, P, and R keys immediately upon booting. Typically the machine will then attempt to load Mac OS, if available. Autobooting OpenBSD/macppc It is possible to automatically boot into OpenBSD (selectably into Mac OS) by setting up the following: setenv auto-boot? true setenv boot-device hd:,ofwboot [to save the results into nvram] reset-all These settings assume that the master of the first IDE bus has OpenBSD installed on it, either in MBR format or in shared mode with ofwboot copied into the first HFS(+) partition. It is not necessary to specify '/bsd' on the boot line or in the boot-device variable, since it is the default. To boot in Mac OS with this setup (works on most supported machines), press and hold down the Alt/Option key during reboot, and select which (Mac OS/Mac OS X) partition to boot in the graphical boot selector presented. Note that OpenBSD does not currently show up in this boot selector except for the installation CD-ROM. This works on most machines this has been tested with, but does not work on a Rev C (333MHz) iMac; perhaps this feature was added to the OpenFirmware ROM after that machine. Sharing a disk with Mac OS: OpenBSD/macppc is capable of booting either from a dedicated disk using an MBR partitioned disk or sharing a disk with Mac OS. If the disk is to be shared between Mac OS and OpenBSD, it is necessary to reformat and install the Mac OS partitions first, using "Drive Setup", leaving space on the disk as an "Unused" partition. If the disk was previously partitioned, it is possible to reuse a partition for OpenBSD, as long as it is not the first partition on the disk. The bootloader is expected to be found in that first (HFS) partition. For dedicated disks, macppc port boots off a boot program in an MSDOS filesystem. This is set up by the install program and no special setup is required. Installing the OpenBSD System: ------------------------------ Installing OpenBSD is a relatively complex process, but if you have this document in hand and are careful to read and remember the information which is presented to you by the install program, it shouldn't be too much trouble. Before you begin, you should decide if OpenBSD is to be installed on the whole disk or share the disk with Mac OS. For stand-alone (No Mac OS installed) or dedicated disks, the MBR installation method should be chosen and no additional prep is necessary. If the disk is to be shared with Mac OS, a partition must be preallocated by the Mac OS partition editor and Mac OS installed to the proper partition. This expects that the HFS partition will be the first partition on the disk, and then the OpenBSD partition will follow. This may require the disk be reformatted using the "Drive Setup" application and reinstalled under Mac OS. You should now be ready to install OpenBSD. The following is a walk-through of the steps you will take while getting OpenBSD installed on your hard disk. If any question has a default answer, it will be displayed in brackets ("[]") after the question. If you wish to stop the installation, you may hit Control-C at any time, but if you do, you'll have to begin the installation process again from scratch. Using Control-Z to suspend the process may be a better option, or at any prompt enter '!' to get a shell, from which 'exit' will return you back to that prompt (no refresh of the prompt though). At this time, the system can be installed from the supplied CD-ROM boot image, by network loading the bootloader, or loading the bootloader and kernel from an HFS partition. Once the bootloader is installed on the local hard drive, the system can boot from it. OpenBSD may share a drive with Mac OS if the process is followed carefully. Currently it is necessary to use OpenFirmware commands to dual boot between OS's, or multiple drives may be used with each OS owning drive(s). It is also possible on some newer models to set up the system to auto boot OpenBSD and if Mac OS is desired, choose it using the firmware boot selector by holding down the