rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02
sh: /etc/rc: No such file or directory
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.7 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] 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.7/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.7/i386.  You can also enter 'all' to install all the standard
sets, or 'list' to list the files avilable in /mnt2//2.7/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] base27.tgz
        [X] etc27.tgz
        [ ] misc27.tgz
        [ ] comp27.tgz
        [X] man27.tgz
        [ ] game27.tgz
        [ ] xbase27.tgz
        [ ] xshare27.tgz
        [ ] xfont27.tgz
        [ ] xserv27.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] base27.tgz
        [X] etc27.tgz
        [X] misc27.tgz
        [X] comp27.tgz
        [X] man27.tgz
        [X] game27.tgz
        [X] xbase27.tgz
        [X] xshare27.tgz
        [X] xfont27.tgz
        [X] xserv27.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] base27.tgz
        [X] etc27.tgz
        [X] misc27.tgz
        [X] comp27.tgz
        [X] man27.tgz
        [ ] game27.tgz
        [X] xbase27.tgz
        [X] xshare27.tgz
        [X] xfont27.tgz
        [X] xserv27.tgz
        [X] bsd
File name? [] done

Ready to extract selected file sets? [y] 

/mnt2//2.7/i386/base27.tgz:
100% |**************************************************| 21192 KB    00:00 ETA
/mnt2//2.7/i386/etc27.tgz:
100% |**************************************************|   987 KB    00:00 ETA
/mnt2//2.7/i386/man27.tgz:
100% |**************************************************|  4957 KB    00:00 ETA
/mnt2//2.7/i386/bsd:
100% |**************************************************|  3053 KB    00:00 ETA
/mnt2//2.7/i386/misc27.tgz:
100% |**************************************************|  1644 KB    00:00 ETA
/mnt2//2.7/i386/comp27.tgz:
100% |**************************************************| 14406 KB    00:00 ETA
/mnt2//2.7/i386/xbase27.tgz:
100% |**************************************************|  5504 KB    00:00 ETA
/mnt2//2.7/i386/xshare27.tgz:
100% |**************************************************|  1538 KB    00:00 ETA
/mnt2//2.7/i386/xfont27.tgz:
100% |**************************************************|  6019 KB    00:00 ETA
/mnt2//2.7/i386/xserv27.tgz:
100% |**************************************************| 15035 KB    00:00 ETA

Extract more sets? [n] 

Two OpenBSD libraries (libssl and libcrypto, based on OpenSSL) implement many
cryptographic functions which are used by OpenBSD programs like ssh, httpd, and
isakmpd.  Due to patent licensing reasons, those libraries may not be included
on the CD -- instead the base distribution contains libraries which have had
the troublesome code removed -- the programs listed above will not be fully
functional as a result.  Libraries which _include_ the troublesome routines
are available and can be FTP installed, as long as you meet the follow (legal)
criteria:
  (1) Outside the USA, no restrictions apply. Use ssl27.tar.gz.
  (2) Inside the USA, non-commercial entities may install sslUSA27.tar.gz.
  (3) Commercial entities in the USA are left in the cold, due to how the
      licences work.  (This is how the USA crypto export policy feels to the
      rest of the world.)

If you do not install the ssl package now, it is easily installed at
a later time (see the afterboot(8) and ssl(8) manual pages).
Install (U)SA, (I)nternational, or (N)one? [none] i
Install SSL+RSA libraries via (f)tp, (h)ttp, or (c)ancel? [ftp] 
Enter system hostname (short form, e.g. "foo"): [] test2
Enter DNS domain name (e.g. "bar.com"): [] openbsd.org

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.18
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] 

This is an automated ftp-based installation process.  You will be asked
questions and then the files will be retrieved iteratively via ftp(1).

HTTP/FTP proxy URL? (e.g. "http://proxy:8080", or "none") [none] 
By default, ftp will attempt a passive connection and fall back to a normal
(active) connection if that doesn't work.  However, there are some very
old ftp servers that claim to support passive mode, but really do not.
In this case, you should explicitly request an active session.
Do you want to use active ftp? [n] 
Do you want a list of potential ftp servers? [y] 
     1  ftp://ftp.openbsd.org/pub/OpenBSD                       Alberta, Canada
     2  ftp://ftp1.usa.openbsd.org/pub/OpenBSD                  Michigan, USA
     3  ftp://ftp.op.net/pub/OpenBSD                            Pennsylvania, US
A
     4  ftp://ftp.de.openbsd.org/pub/unix/OpenBSD               Germany
     5  ftp://ftp.jp.openbsd.org/OpenBSD                        Japan
     6  ftp://ftp.dti.ad.jp/pub/OpenBSD                         Japan
     7  ftp://ftp.lip6.fr/pub/OpenBSD                           France
     8  ftp://ftp.univ-evry.fr/pub/OpenBSD                      France
     9  ftp://ftp.eu.openbsd.org/pub/OpenBSD                    Switzerland
    10  ftp://lager.ucs.ualberta.ca/pub/OpenBSD                 Edmonton, Canada
    11  ftp://ftp.eecs.umich.edu/pub/OpenBSD                    Michigan, USA
    12  ftp://obsd.compmore.net/pub/OpenBSD                     Kanata, Canada
    13  ftp://ftp.geek-girl.com/pub/OpenBSD                     Illinois, USA
    14  ftp://ftp.stacken.kth.se/pub/OpenBSD                    Stockholm, Swede
n
    15  ftp://ftp.demon.co.uk/pub/OpenBSD                       London, UK
    16  ftp://ftp.th.openbsd.org/pub/OpenBSD                    Thailand
    17  ftp://ftp.au.openbsd.org/pub/OpenBSD                    Australia
    18  ftp://ftp.iol.ie/mirrors/OpenBSD/                       Ireland
    19  ftp://sunsite.kren.ne.kr/pub/OS/OpenBSD                 South Korea
    20  ftp://ftp.calyx.nl/pub/OpenBSD                          The Netherlands
    21  ftp://openbsd.rug.ac.be/pub/OpenBSD                     Belgium
    22  ftp://ftp.it.net.au/mirrors/OpenBSD                     Australia
    23  ftp://ftp.radio-msu.net/pub/OpenBSD                     Moscow, Russia
    ...

Server IP address, hostname, or list#? [] 1
Using   ftp://ftp.openbsd.org/pub/OpenBSD                       Alberta, Canada
Server IP address, hostname, or list#? [ftp.openbsd.org] 
Server directory? [pub/OpenBSD/2.7/i386] 
Login? [anonymous] 
There are no OpenBSD install sets available in pub/OpenBSD/2.7/i386.
Search for *.tar.gz and *.tgz files? [y] n

You will now be asked for files to extract. In addition to the files listed,
you may select any file located at
 ftp.openbsd.org:/pub/OpenBSD/2.7/i386
You can also enter 'all' to install all the standard sets, or 'list' to list
the files available. 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] ssl27.tgz
File name? [] done

Fetching files via ftp may take a long time, especially over a slow network
connection.  Ready to download files? [y]

Getting ssl27.tgz ...
100% |**************************************************|  1739 KB    00:00 ETA

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