dnl $OpenBSD: install,v 1.3 2005/03/21 22:32:06 miod Exp $ OpenBSDInstallPrelude There are several ways to install OpenBSD onto a disk. The easiest way in terms of preliminary setup is to use the OpenBSD ramdisk kernel, bsd.rd, which can be booted from tape, or an existing Mach partition. Booting from the Installation Media: Prior to attempting an installation, everything of value on the target system should be backed up. While installing OpenBSD does not necessarily wipe out all the partitions on the hard disk, errors during the install process can have unforeseen consequences and will probably leave the system unbootable if the installation process is not completed. Availability of the installation media for the prior installation, such as a Luna-88K Mach tape, is always a good insurance, should it be necessary to "go back" for some reason. After taking care of all that, the system should be brought down gracefully using the shutdown(8) and/or halt(8) commands, which will eventually go back to the PROM prompt. Remember that the leftmost switch from the front panel DIP switch #1 must be down to access the PROM prompt. Booting from an installation tape: The internal tape drive is usually configured as SCSI ID #4. At the prompt, enter b st(0,0,0) to boot the first file from the tape. If your tape drive uses a different SCSI ID, replace the middle number with the appropriate number from the following table: tape drive SCSI ID: 0 1 2 3 4 5 6 middle number for st(): 4 3 2 1 0 6 5 If the tape drive is connected to the external SCSI controller, add 10 to the middle number. For example, to boot from a tape drive with ID #5 connected to the external controller, enter: b st(0,16,0) Booting from an existing partition: At the prompt, enter b sd(0,n,p) bsd.rd to boot bsd.rd from the specified disk and partition. Replace 'p' with the partition number (usually 0, for the 'a' partition), and 'n' with the appropriate number from the following table: disk drive SCSI ID: 0 1 2 3 4 5 6 value of 'n': 6 5 4 3 2 1 0 If the disk drive is connected to the external SCSI controller, add 10 to this number. For example, to boot from a disk drive with ID #0 connected to the external controller, enter: b sd(0,16,0) bsd.rd Installing the system: OpenBSDInstallPart2 Boot your machine from the installation media as described above. It will take a while to load the kernel especially from a slow network connection, most likely more than a minute. If some action doesn't eventually happen, or the spinning cursor has stopped and nothing further has happened, either your boot media is bad, your diskless setup isn't correct, or you may have a hardware or configuration problem. OpenBSDBootMsgs You will next be asked for your terminal type. You should choose the terminal type from amongst those listed. (If your terminal type is xterm, just use vt100). OpenBSDInstallPart3 OpenBSDInstallPart4 OpenBSDInstallPart5(sd0) OpenBSDInstallNet({:-CD-ROM, NFS, -:}) OpenBSDFTPInstall OpenBSDHTTPInstall OpenBSDTAPEInstall(1) OpenBSDCDROMInstall OpenBSDNFSInstall OpenBSDDISKInstall(,{:-only -:}) OpenBSDCommonFS(NFS) OpenBSDCommonURL OpenBSDCongratulations