rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02 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.8 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. You can run a shell command at any prompt via '!foo' or escape to a shell by simply typing '!'. 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 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). disklabel: no disk label WARNING: Disk wd0 has no label. You will be creating a new one. 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. separating /, /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 16450497 (0xfb03c1) Treating sectors 63-80041248 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) > ? Available commands: p [unit] - print label. M - show entire OpenBSD man page for disklabel. e - edit drive parameters. a [part] - add new partition. b - set OpenBSD disk boundaries. c [part] - change partition size. d [part] - delete partition. g [d|b] - Use [d]isk or [b]ios geometry. m [part] - modify existing partition. n [part] - set the mount point for a partition. r - recalculate free space. u - undo last change. s [path] - save label to file. w - write label to disk. q - quit and save changes. x - exit without saving changes. X - toggle expert mode. ? [cmnd] - this message or command specific help. Numeric parameters may use suffixes to indicate units: 'b' for bytes, 'c' for cylinders, 'k' for kilobytes, 'm' for megabytes, 'g' for gigabytes or no suffix for sectors (usually 512 bytes). Non-sector units will be rounded to the nearest cylinder. Entering '?' at most prompts will give you (simple) context sensitive help. > p device: /dev/rwd0c type: ESDI disk: ESDI/IDE disk label: Maxtor 54098U8 bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 16383 total sectors: 80041248 free sectors: 80041185 rpm: 3600 16 partitions: # size offset fstype [fsize bsize cpg] a: 16450497 63 unused 0 0 c: 80041248 0 unused 0 0 > d a > a a offset: [63] size: [80041185] 80m Rounding to nearest cylinder: 164241 FS type: [4.2BSD] mount point: [none] / > a b offset: [164304] size: [79876944] 300m Rounding to nearest cylinder: 614880 FS type: [swap] > a d offset: [779184] size: [79262064] 80m Rounding to nearest cylinder: 164304 FS type: [4.2BSD] mount point: [none] /tmp > a e offset: [943488] size: [79097760] 80m Rounding to nearest cylinder: 164304 FS type: [4.2BSD] mount point: [none] /var > a g offset: [1107792] size: [78933456] 350m Rounding to nearest cylinder: 716688 FS type: [4.2BSD] mount point: [none] /usr > a h offset: [1824480] size: [78216768] FS type: [4.2BSD] mount point: [none] /home > p device: /dev/rwd0c type: ESDI disk: ESDI/IDE disk label: Maxtor 54098U8 bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 16383 total sectors: 80041248 free sectors: 0 rpm: 3600 16 partitions: # size offset fstype [fsize bsize cpg] a: 164241 63 4.2BSD 1024 8192 16 # / b: 614880 164304 swap c: 80041248 0 unused 0 0 d: 164304 779184 4.2BSD 1024 8192 16 # /tmp e: 164304 943488 4.2BSD 1024 8192 16 # /var g: 716688 1107792 4.2BSD 1024 8192 16 # /usr h: 78216768 1824480 4.2BSD 1024 8192 16 # /home > w > q No label changes. 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=82152k) [/tmp, RET, none, or done]? Mount point for wd0e (size=82152k) [/var, RET, none, or done]? Mount point for wd0g (size=358344k) [/usr, RET, none, or done]? Mount point for wd0h (size=39108384k) [/home, RET, none, or done]? Mount point for wd0d (size=82002k) [/tmp, RET, none, or done]? done Now you can select another disk to initialize. (Do not re-select a disk you have already entered information for). Available disks are: wd0 Which one? [done] You have configured the following devices and mount points: wd0a / wd0d /tmp wd0e /var wd0g /usr wd0h /home ============================================================ 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 Creating filesystems... Warning: 64 sector(s) in last cylinder unallocated /dev/rwd0a: 164240 sectors in 163 cylinders of 16 tracks, 63 sectors 80.2MB in 11 cyl groups (16 c/g, 7.88MB/g, 1920 i/g) /dev/rwd0d: 164304 sectors in 163 cylinders of 16 tracks, 63 sectors 80.2MB in 11 cyl groups (16 c/g, 7.88MB/g, 1920 i/g) /dev/rwd0e: 164304 sectors in 163 cylinders of 16 tracks, 63 sectors 80.2MB in 11 cyl groups (16 c/g, 7.88MB/g, 1920 i/g) /dev/rwd0g: 716688 sectors in 711 cylinders of 16 tracks, 63 sectors 349.9MB in 45 cyl groups (16 c/g, 7.88MB/g, 1920 i/g) /dev/rwd0h: 78216768 sectors in 77596 cylinders of 16 tracks, 63 sectors 38191.8MB in 4850 cyl groups (16 c/g, 7.88MB/g, 1920 i/g) 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 succesfully configured): [ ] fxp0 Configure which interface? (or, enter 'done') [fxp0] IP address (or 'dhcp') ? [] 199.185.137.55 Symbolic (host) name? [test2] Netmask ? [255.255.255.0] Your use of the network interface may require non-default media directives. The default media is: media: Ethernet autoselect (100baseTX full-duplex) This is a list of supported media: media autoselect media 100baseTX mediaopt full-duplex media 100baseTX media 10baseT mediaopt full-duplex media 10baseT If the default is not satisfactory, and you wish to use another media, copy that line from above (e.g. "media 100baseTX") Media directives? [] You may configure the following network interfaces (the interfaces marked with [X] have been succesfully configured): [X] 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 (rw, asynchronous, local) /dev/wd0d on /mnt/tmp type ffs (rw, asynchronous, local) /dev/wd0e on /mnt/var type ffs (rw, asynchronous, local) /dev/wd0g on /mnt/usr type ffs (rw, asynchronous, local) /dev/wd0h on /mnt/home type ffs (rw, asynchronous, local) Please enter the initial password that the root account will have. Password (will not echo): Password (again): Do you expect to run the X Window System? [y] 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 make sure the CD is in the CD-ROM drive and select the device containing the CD with the installation sets: cd0 Which CD-ROM contains the installation media? [cd0] Enter the directory relative to the mount point that contains the file. [/2.8/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.8/i386. You can also enter 'all' to install all the standard sets, or 'list' to list the files avilable in /mnt2//2.8/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 installation 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 its name. [X] base28.tgz [X] etc28.tgz [ ] misc28.tgz [ ] comp28.tgz [X] man28.tgz [ ] game28.tgz [ ] xbase28.tgz [ ] xshare28.tgz [ ] xfont28.tgz [ ] xserv28.tgz [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 its name. [X] base28.tgz [X] etc28.tgz [X] misc28.tgz [X] comp28.tgz [X] man28.tgz [X] game28.tgz [X] xbase28.tgz [X] xshare28.tgz [X] xfont28.tgz [X] xserv28.tgz [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 its name. [X] base28.tgz [X] etc28.tgz [X] misc28.tgz [X] comp28.tgz [X] man28.tgz [ ] game28.tgz [X] xbase28.tgz [X] xshare28.tgz [X] xfont28.tgz [X] xserv28.tgz [X] bsd File name? [] done Ready to extract selected file sets? [y] /mnt2//2.8/i386/base28.tgz: 100% |**************************************************| 21192 KB 00:00 ETA /mnt2//2.8/i386/etc28.tgz: 100% |**************************************************| 987 KB 00:00 ETA /mnt2//2.8/i386/man28.tgz: 100% |**************************************************| 4957 KB 00:00 ETA /mnt2//2.8/i386/bsd: 100% |**************************************************| 3053 KB 00:00 ETA /mnt2//2.8/i386/misc28.tgz: 100% |**************************************************| 1644 KB 00:00 ETA /mnt2//2.8/i386/comp28.tgz: 100% |**************************************************| 14406 KB 00:00 ETA /mnt2//2.8/i386/xbase28.tgz: 100% |**************************************************| 5504 KB 00:00 ETA /mnt2//2.8/i386/xshare28.tgz: 100% |**************************************************| 1538 KB 00:00 ETA /mnt2//2.8/i386/xfont28.tgz: 100% |**************************************************| 6019 KB 00:00 ETA /mnt2//2.8/i386/xserv28.tgz: 100% |**************************************************| 15035 KB 00:00 ETA Extract more sets? [n] Copying fstab, hostname.fxp0, hosts, myname, mygate, 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 or country, 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/ GB-Eire Israel NZ-CHAT Turkey America/ Cuba GMT Jamaica Navajo UCT Antarctica/ EET GMT+0 Japan PRC US/ Arctic/ EST GMT-0 Kwajalein PST8PDT UTC Asia/ EST5EDT GMT0 Libya Pacific/ Universal Atlantic/ Egypt Greenwich MET Poland W-SU Australia/ Eire HST MST Portugal WET Brazil/ Etc/ Hongkong MST7MDT ROC Zulu CET Europe/ Iceland Mexico/ ROK posixrules CST6CDT Factory Indian/ Mideast/ Singapore Canada/ GB Iran NZ SystemV/ 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 There are several timezones available within zone 'Canada' Select a sub-timezone [`?' for list]: Mountain You have selected timezone "Canada/Mountain". Installing timezone link. Making all device nodes (by running /dev/MAKEDEV all) ...... 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 7 blocks of size 8192 each. Using disk geometry of 63 sectors and 255 heads. 0: 20 @(0 108 44) (6847-6866) 1: 63 @(0 109 1) (6867-6929) 2: 13 @(0 110 1) (6930-6942) 3: 5 @(0 9 59) (625-629) 4: 11 @(0 10 1) (630-640) /mnt/boot: 5 entries total using MBR partition 3: type 166 (0xa6) offset 63 (0x3f) Enabling machdep.allowaperture. Read xf86(4) for more information. Unmounting filesystems... /mnt/home /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