Enter pathname of shell or RETURN for sh: _ erase ^?, werase ^W, kill ^U, intr ^C (I)nstall, (U)pgrade or (S)hell? _i ================================================= Welcome to the OpenBSD/i386 2.5 installation program. This program is designed to help you put OpenBSD on your disk in a simple and rational way. As with anything which modifies your disk's contents, this program can cause SIGNIFICANT data loss, and you are advised to make sure your data is backed up before beginning the installation process. Default answers are displayed in brackets after the questions. You can hit Control-C at any time to quit, but if you do so at a prompt, you may have to hit return. Also, quitting in the middle of installation may leave your system in an inconsistent state. If you hit Control-C and restart the install, the install program will remember many of your old answers. Proceed with installation? [n] _y Cool! Let's get to it... Specify terminal type [pcvt25]: _ The installation program needs to know which disk to consider the root disk. Note the unit number may be different than the unit number you used in the boot program (especially on a PC with multiple disk controllers). Available disks are: wd0 wd1 sd0 Which disk is the root disk [wd0]? _ Do you want to use the *entire* disk for OpenBSD? [no] _yes [...] Inside the BIOS 'A6' ('OpenBSD') partition you just created, there resides an OpenBSD partition table which defines how this BIOS partition is to be split up. This table declares the offsets and sizes of your / partition, your swap space, and any other partitions you might create. (NOTE: The OpenBSD disk label offsets are absolute, ie. relative to the start of the disk... NOT relative to the start of the BIOS 'A6' partition). If this disk is shared with other operating systems, those operating systems should have a BIOS partition entry that spans the space they occupy completely. For safety, also make sure all OpenBSD file systems are within the offset and size specified in the 'A6' BIOS partition table. (By default, the disklabel editor will try to enforce this). If you are unsure of how to use multiple partitions properly (ie. seperating /, /usr, /tmp, /var, /usr/local, and other things) just split the space into a root and swap partition for now. # using MBR partition 3: type A6 off 63 (0x3f) size 4991553 (0x4c2a41) Treating sectors 63-16386300 as the OpenBSD portion of the disk. You can use the 'b' command to change this. Initial label editor (enter '?' for help at any prompt) > _d a > _a a offset: [63] _ size: [16386237] _64M Rounding to nearest cylinder: 131040 FS type: [4.2BSD] _ mount point: [none] _/ fragment size: [1024] _ block size: [8192] _ cpg: [16] _ > _a b offset: [131103] _ size: [16255197] _64M Rounding to nearest cylinder: 131040 FS type: [swap] _ > _a d offset: [262143] _ size: [16124157] _64M Rounding to nearest cylinder: 131040 FS type: [4.2BSD] _ mount point: [none] _/tmp fragment size: [1024] _ block size: [8192] _ cpg: [16] _ > _a e offset: [393183] _ size: [15993117] _64M Rounding to nearest cylinder: 131040 FS type: [4.2BSD] _ mount point: [none] _/var fragment size: [1024] _ block size: [8192] _ cpg: [16] _ > _a g offset: [524223] _ size: [15862077] _300M Rounding to nearest cylinder: 614880 FS type: [4.2BSD] _ mount point: [none] _/usr fragment size: [1024] _ block size: [8192] _ cpg: [16] _ > _a h offset: [1139103] _ size: [15247197] _* FS type: [4.2BSD] _ mount point: [none] _/home fragment size: [1024] _ block size: [8192] _ cpg: [16] _ > _w > _q You will now have the opportunity to enter filesystem information for wd0. You will be prompted for the mount point (full path, including the prepending '/' character) for each BSD partition on wd0. Enter "none" to skip a partition or "done" when you are finished. The following partitions will be used for the root filesystem and swap: wd0a / wd0b swap Mount point for wd0d (size=65520k) [/tmp, RET, none, or done]? _ Mount point for wd0e (size=65520k) [/var, RET, none, or done]? _ Mount point for wd0g (size=307440k) [/usr, RET, none, or done]? _ Mount point for wd0h (size=1926256k) [/home, RET, none, or done]? _done Nowq you can select another disk to initialize. (Do not re-select a disk you have already entered information for). Available disks are: wd0 wd1 Which one? [done] _ You have configured the following devices and mount points: wd0a / wd0d /tmp wd0e /var wd0g /usr wd0h /home Filesystems will now be created on these devices. If you made any mistakes, you may edit this now. Edit using ed? [n] _ ============================================================ The next step will overwrite any existing data on: wd0a wd0d wd0e wd0g wd0h Are you really sure that you're ready to proceed? [n] _y [...] You will now be given the opportunity to configure the network. This will be useful if you need to transfer the installation sets via FTP, HTTP, or NFS. Even if you choose not to transfer installation sets that way, this information will be preserved and copied into the new root filesystem. Configure the network [y] _ Enter system hostname (short form): [] _mybox Enter DNS domain name: [] _someisp.com If you have any devices being configured by a DHCP server it is recommended that you do not enter a default route or any name servers. You may configure the following network interfaces (the interfaces marked with [X] have been successfully configured): [ ] xl0 [ ] fxp0 Configure which interface? (or, enter 'done') [xl0] _ IP address (or 'dhcp')? [] _199.185.137.55 Symbolic (host) name? [mybox] _ Netmask ? [255.255.255.0] _ Your network interface might require non-default media directives. The default media is: media: Ethernet 100baseTX half-duplex This is a list of supported media: media autoselect media 100baseTX mediaopt full-duplex media 100baseTX mediaopt half-duplex media 100baseTX media 10baseT mediaopt full-duplex media 10baseT media 10baseT mediaopt half-duplex If the default is not satisfactory, and you wish to use another media, copy that line from above (ie. "media 100baseTX") Media directives? [] _ You may configure the following network interfaces (the interfaces marked with [X] have been successfully configured): [X] xl0 [ ] fxp0 Configure which interface? (or, enter 'done') [done] _ Enter IP address of default route: [none] _199.185.137.128 Enter IP address of primary nameserver: [none] _199.185.137.1 Would you like to use the nameserver now? [y] _ You will now be given the opportunity to escape to the command shell to do any additional network configuration you may need. This may include adding additional routes, if needed. In addition, you might take this opportunity to redo the default route in the event that it failed above. Escape to shell? [n] _ /dev/wd0a on /mnt type ffs (local) /dev/wd0d on /mnt/tmp type ffs (local) /dev/wd0e on /mnt/var type ffs (local) /dev/wd0g on /mnt/usr type ffs (local) /dev/wd0h on /mnt/home type ffs (local) Please enter the initial password that the root account will have. Password (will not echo): _ Password (again): _ It is now time to extract the installation sets onto the hard disk. Make sure the sets are either on a local device (i.e. tape, CD-ROM) or on a network server. You will have the chance to repeat this step or to extract sets from several places, so you don't have to try to load all the sets in one try and can recover from some errors. Install from (f)tp, (h)ttp, (t)ape, (C)D-ROM, (N)FS or local (d)isk? _c The following CD-ROM devices are installed on your system; please select the CD-ROM device containing the partition with the installation sets: acd0 cd0 Which is the CD-ROM with the installation media? [abort] _acd0 Partition? [c] _ There are two CD-ROM filesystem types currently supported by this program: cd9660 ISO-9660 ffs Berkeley Fast Filesystem Which filesystem type? [cd9660] _ Enter the directory relative to the mount point that contains the file. [/2.5/i386] _ You will now be asked for files to extract. In addition to the files listed in the selector you may enter any file located in /mnt2//2.5/i386. You can also enter 'all' to install all the standard sets, or 'list' to list the files avilable in /mnt2//2.5/i386. When you are done selecting files, enter 'done'. Some of these sets are required for your install and some are optional -- You will want at least the base and bsd sets. Consult the intallation notes if you are not sure which sets are required! The following sets are available for extraction. Enter filename, `list', `all', or `done'. You may de-select a set by prepending a '-' to it's name. [X] base25.tar.gz [X] etc25.tar.gz [ ] misc25.tar.gz [ ] comp25.tar.gz [ ] man25.tar.gz [ ] game25.tar.gz [ ] xbase25.tar.gz [ ] xshare25.tar.gz [ ] xfont25.tar.gz [ ] xserv25.tar.gz [X] bsd File name []? _* The following sets are available for extraction. Enter filename, `list', `all', or `done'. You may de-select a set by prepending a '-' to it's name. [X] base25.tar.gz [X] etc25.tar.gz [X] misc25.tar.gz [X] comp25.tar.gz [X] text25.tar.gz [X] man25.tar.gz [X] game25.tar.gz [X] xbase25.tar.gz [X] xshare25.tar.gz [X] xfont25.tar.gz [X] xserv25.tar.gz [X] bsd File name []? _-game* The following sets are available for extraction. Enter filename, `list', `all', or `done'. You may de-select a set by prepending a '-' to it's name. [X] base25.tar.gz [X] etc25.tar.gz [X] misc25.tar.gz [X] comp25.tar.gz [X] text25.tar.gz [X] man25.tar.gz [ ] game25.tar.gz [X] xbase25.tar.gz [X] xshare25.tar.gz [X] xfont25.tar.gz [X] xserv25.tar.gz [X] bsd File name []? _done Ready to extract selected file sets? [y] _ /mnt2//2.5/i386/base25.tar.gz: 100% |***************************************************| 17774 KB 00:00 ETA /mnt2//2.5/i386/etc25.tar.gz: 100% |***************************************************| 161 KB 00:00 ETA /mnt2//2.5/i386/bsd: 100% |***************************************************| 2281 KB 00:00 ETA /mnt2//2.5/i386/misc25.tar.gz: 100% |***************************************************| 1637 KB 00:00 ETA /mnt2//2.5/i386/comp25.tar.gz: 100% |***************************************************| 11481 KB 00:00 ETA /mnt2//2.5/i386/man25.tar.gz: 100% |***************************************************| 3543 KB 00:00 ETA /mnt2//2.5/i386/xbase25.tar.gz: 100% |***************************************************| 5376 KB 00:00 ETA /mnt2//2.5/i386/xshare25.tar.gz: 100% |***************************************************| 1482 KB 00:00 ETA /mnt2//2.5/i386/xfont25.tar.gz: 100% |***************************************************| 6017 KB 00:00 ETA /mnt2//2.5/i386/xserv25.tar.gz: 100% |***************************************************| 15188 KB 00:00 ETA Extract more sets? [n] _ Copying fstab...done. Copying hostname.xl0...done. Copying hosts...done. Copying myname...done. Copying mygate...done. Copying resolv.conf...done. Select a time zone for your location. Timezones are represented on the system by a directory structure rooted in "/usr/share/timezone". Most timezones can be selected by entering a token like "MET" or "GMT-6". Other zones are grouped by continent, with detailed zone information separated by a slash ("/"), e.g. "US/Pacific" or "Canada/Mountain". To get a listing of what's available in /usr/share/zoneinfo, enter "?" at the prompts below. What timezone are you in [`?' for list] [GMT]? _? Africa/ Chile/ GMT Jamaica Navajo UCT America/ Cuba GMT+0 Japan PRC US/ Antarctica/ EET GMT-0 Kwajalein PST8PDT UTC Arctic/ EST GMT0 Libya Pacific/ Universal Asia/ EST5EDT Greenwich MET Poland W-SU Atlantic/ Egypt HST MST Portugal WET Australia/ Eire Hongkong MST7MDT ROC Zulu Brazil/ Etc/ Iceland Mexico/ ROK posixrules CET Europe/ Indian/ Mideast/ Singapore CST6CDT Factory Iran NZ SystemV/ Canada/ GB Israel NZ-CHAT Turkey What timezone are you in [`?' for list] [GMT]? _Canada There are several timezones available within zone 'Canada' Select a sub-timezone [`?' for list]: _? Atlantic Eastern Pacific Central Mountain Saskatchewan East-Saskatchewan Newfoundland Yukon Select a sub-timezone [`?' for list]: _Mountain You have selected timezone "Canada/Mountain". Installing timezone link...done. Installing boot block... boot: /mnt/boot proto: /usr/mdec/biosboot device: /dev/rwd0c /usr/mdec/biosboot: entry point 0 proto bootblock size 512 room for 12 filesystem blocks at 0x16f Will load 6 blocks of size 8192 each. Using disk geometry of 63 sectors and 128 heads. 0: 19 @(0 93 45) (5903-5921) 1: 63 @(0 94 1) (5922-5984) 2: 14 @(0 95 1) (5985-5998) /mnt/boot: 3 entries total using MBR partition 3: type 166 (0xa6) offset 63 (0x3f) Do you expect to run X windows on this machine? [y or n] _y Enabling machdep.allowaperture. Read xf86(4) for more information. Making all device nodes (by running /dev/MAKEDEV) ...... done. Unmounting filesystems... /mnt/usr /mnt/var /mnt/tmp /mnt ... Done. Done. CONGRATULATIONS! You have successfully installed OpenBSD! To boot the installed system, enter halt at the command prompt. Once the system has halted, reset the machine and boot from the disk. # _reboot