erase ^?, werase ^W, kill ^U, intr ^C, status ^T
(I)nstall, (U)pgrade or (S)hell? i

Welcome to the OpenBSD/zaurus 3.6 install program.

This program will help you install OpenBSD in a simple and rational way. At
any prompt except password prompts you can run a shell command by typing
'!foo', or escape to a shell by typing '!'. Default answers are shown in []'s
and are selected by pressing RETURN. At any time you can exit this program by
pressing Control-C and then RETURN, but quitting during an install can leave
your system in an inconsistent state.

Terminal type? [vt220] ENTER

IS YOUR DATA BACKED UP? As with anything that modifies disk contents, this
program can cause SIGNIFICANT data loss.

It is often helpful to have the installation notes handy. For complex disk
configurations, relevant disk hardware manuals and a calculator are useful.

Proceed with install? [no] yes
Cool!  Let's get to it...

You will now initialize the disk(s) that OpenBSD will use. To enable all
available security features you should configure the disk(s) to allow the
creation of separate filesystems for /, /tmp, /var, /usr, and /home.

Available disks are: wd0.
Which one is the root disk? (or 'done') [wd0] ENTER
Do you want to use *all* of wd0 for OpenBSD? [no] ENTER

You will now create a single MBR partition to contain your OpenBSD data. This
partition must have an id of 'A6'; must *NOT* overlap other partitions; and
must be marked as the only active partition.

The 'manual' command describes all the fdisk commands in detail.

Disk: wd0	geometry: 1024/8/17 [7999488 Sectors]
Offset: 0	Signature: 0xAA55
         Starting       Ending       LBA Info:
 #: id    C   H  S -    C   H  S [       start:      size   ]
------------------------------------------------------------------------
 0: 83    0   3 13 - 1511   7 17 [          63:      205569 ] Linux files*
 1: 83 1512   0  1 - 7559   7 17 [      205632:      822528 ] Linux files*
 2: 0C 7560   0  1 - 29647   0  8 [     1028160:     3003840 ] Win95 FAT32L
*3: A6 29647   0  9 - 58819   6  2 [     4032000:     3967488 ] OpenBSD     
fdisk: /usr/mdec/mbr: No such file or directory
fdisk: using builtin MBR
Enter 'help' for information
fdisk: 1> help
	help		Command help list
	manual		Show entire OpenBSD man page for fdisk
	reinit		Re-initialize loaded MBR (to defaults)
	setpid		Set the identifier of a given table entry
	disk		Edit current drive stats
	edit		Edit given table entry
	flag		Flag given table entry as bootable
	update		Update machine code in loaded MBR
	select		Select extended partition table entry MBR
	swap		Swap two partition entries
	print		Print loaded MBR partition table
	write		Write loaded MBR to disk
	exit		Exit edit of current MBR, without saving changes
	quit		Quit edit of current MBR, saving current changes
	abort		Abort program without saving current changes
fdisk: 1> quit
Disk: wd0	geometry: 1024/8/17 [7999488 Sectors]
Offset: 0	Signature: 0xAA55
         Starting       Ending       LBA Info:
 #: id    C   H  S -    C   H  S [       start:      size   ]
------------------------------------------------------------------------
 0: 83    0   3 13 - 1511   7 17 [          63:      205569 ] Linux files*
 1: 83 1512   0  1 - 7559   7 17 [      205632:      822528 ] Linux files*
 2: 0C 7560   0  1 - 29647   0  8 [     1028160:     3003840 ] Win95 FAT32L
*3: A6 29647   0  9 - 58819   6  2 [     4032000:     3967488 ] OpenBSD     

You will now create an OpenBSD disklabel inside the OpenBSD MBR
partition. The disklabel defines how OpenBSD splits up the MBR partition
into OpenBSD partitions in which filesystems and swap space are created.

The offsets used in the disklabel are ABSOLUTE, i.e. relative to the
start of the disk, NOT the start of the OpenBSD MBR partition.


Initial label editor (enter '?' for help at any prompt)
> ?
Available commands:
        ? [cmnd]  - this message or command specific help.
        a [part]  - add new partition.
        b         - set OpenBSD disk boundaries.
        c [part]  - change partition size.
        D         - set label to default.
        d [part]  - delete partition.
        e         - edit drive parameters.
        g [b|d|u] - use [b]ios, [d]isk or [u]ser geometry.
        M         - show entire OpenBSD man page for disklabel.
        m [part]  - modify existing partition.
        n [part]  - set the mount point for a partition.
        p [unit]  - print label.
        q         - quit and save changes.
        r         - recalculate free space.
        s [path]  - save label to file.
        u         - undo last change.
        w         - write label to disk.
        X         - toggle expert mode.
        x         - exit without saving changes.
        z         - zero out partition table.
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).
        '%' for percent of total disk size, '&' for percent of free space.
        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: ST506
disk: ST506/MFM/RLL
label: ST506
bytes/sector: 512
sectors/track: 17
tracks/cylinder: 8
sectors/cylinder: 136
cylinders: 1024
total sectors: 7999488
free sectors: 3967551
rpm: 3600

16 partitions:
#             size        offset  fstype [fsize bsize  cpg]
  a:       3967488       4032000  unused      0     0      # Cyl 29647*- 58819*
  c:       7999488             0  unused      0     0      # Cyl     0 - 58819*
  i:        205569            63  ext2fs                   # Cyl     0*-  1511 
  j:        822528        205632  ext2fs                   # Cyl  1512 -  7559 
  k:       3003840       1028160   MSDOS                   # Cyl  7560 - 29647*
> m
partition to modify: [] a
FS type: [unused] 4.2BSD
offset: [4032000] ENTER
size: [3967488] 3800000
> a
partition: [b] ENTER
offset: [7832000] ENTER
size: [167488] ENTER
FS type: [swap] ENTER
> p
device: /dev/rwd0c
type: ST506
disk: ST506/MFM/RLL
label: ST506
bytes/sector: 512
sectors/track: 17
tracks/cylinder: 8
sectors/cylinder: 136
cylinders: 1024
total sectors: 7999488
free sectors: 63
rpm: 3600

16 partitions:
#             size        offset  fstype [fsize bsize  cpg]
  a:       3800000       4032000  4.2BSD      0     0    0 # Cyl 29647*- 57588*
  b:        167488       7832000    swap                   # Cyl 57588*- 58819*
  c:       7999488             0  unused      0     0      # Cyl     0 - 58819*
  i:        205569            63  ext2fs                   # Cyl     0*-  1511 
  j:        822528        205632  ext2fs                   # Cyl  1512 -  7559 
  k:       3003840       1028160   MSDOS                   # Cyl  7560 - 29647*
> q
Write new label?: [y] ENTER
No more disks to initialize.

OpenBSD filesystems:
wd0a /

The next step *DESTROYS* all existing data on these partitions!
Are you really sure that you're ready to proceed? [no] yes
/dev/rwd0a:	3800000 sectors in 27942 cylinders of 8 tracks, 17 sectors
	1855.5MB in 21 cyl groups (1364 c/g, 90.58MB/g, 11648 i/g)
/dev/wd0a on /mnt type ffs (rw, asynchronous, local, ctime=Sun Jan 23 17:51:38 2005)

System hostname? (short form, e.g. 'foo') zaurus
Configure the network? [yes] ENTER
Available interfaces are: ne0.
Which one do you wish to initialize? (or 'done') [ne0] ENTER
Symbolic (host) name for ne0? [zaurus] ENTER
The media options for ne0 are currently
	media: Ethernet none (none)
Do you want to change the media options? [no] ENTER
IPv4 address for ne0? (or 'none' or 'dhcp') 192.168.0.3
Netmask? [255.255.255.0] ENTER
No more interfaces to initialize.
DNS domain name? (e.g. 'bar.com') [my.domain] local.net
DNS nameserver? (IP address or 'none') [none] ENTER
Default IPv4 route? (IPv4 address, 'dhcp' or 'none') none
Edit hosts with ed? [no] ENTER
Do you want to do any manual network configuration? [no] ENTER
Password for root account? (will not echo) password
Password for root account? (again) password

You will now specify the location and names of the install sets you want to
load. You will be able to repeat this step until all of your sets have been
successfully loaded. If you are not sure what sets to install, refer to the
installation notes for details on the contents of each.

Sets can be located on a (m)ounted filesystem; a (c)drom, (d)isk or (t)ape
device; or a (f)tp, (n)fs or (h)ttp server.
Where are the install sets? (or 'done') f
HTTP/FTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none] ENTER
Display the list of known ftp servers? [yes] ENTER
Getting the list from 129.128.5.191 (ftp.openbsd.org)...FAILED.
ftp: connect: No route to host
ftp: Can't connect or login to host `129.128.5.191'
Server? (IP address, hostname or 'done') 192.168.0.2
Does the server support passive mode ftp? [yes] ENTER
Server directory? [pub/OpenBSD/3.6/zaurus] ENTER
Login? [anonymous] zaurus
Password? (will not echo) password

The following sets are available. Enter a filename, 'all' to select
all the sets, or 'done'. You may de-select a set by prepending a '-'
to its name.

	[X] bsd
	[X] bsd.rd
	[X] base36.tgz
	[X] etc36.tgz
	[X] misc36.tgz
	[X] comp36.tgz
	[X] man36.tgz
	[X] game36.tgz
	[ ] xbase36.tgz
	[ ] xetc36.tgz
	[ ] xshare36.tgz
	[ ] xfont36.tgz
	[ ] xserv36.tgz

File name? (or 'done') [xbase36.tgz] all

The following sets are available. Enter a filename, 'all' to select
all the sets, or 'done'. You may de-select a set by prepending a '-'
to its name.

	[X] bsd
	[X] bsd.rd
	[X] base36.tgz
	[X] etc36.tgz
	[X] misc36.tgz
	[X] comp36.tgz
	[X] man36.tgz
	[X] game36.tgz
	[X] xbase36.tgz
	[X] xetc36.tgz
	[X] xshare36.tgz
	[X] xfont36.tgz
	[X] xserv36.tgz

File name? (or 'done') [done] ENTER
Ready to install sets? [yes] ENTER
Getting bsd ...
100% |**************************************************|  2671 KB    00:03
Getting bsd.rd ...
100% |**************************************************|  4041 KB    00:04
Getting base36.tgz ...
100% |**************************************************| 41494 KB    02:11
Getting etc36.tgz ...
100% |**************************************************|  1660 KB    00:07
Getting misc36.tgz ...
100% |**************************************************|  2222 KB    00:08
Getting comp36.tgz ...
100% |**************************************************| 17405 KB    01:10
Getting man36.tgz ...
100% |**************************************************|  7170 KB    00:29    
Getting game36.tgz ...
100% |**************************************************|  2586 KB    00:07    
Getting xbase36.tgz ...
100% |**************************************************| 11573 KB    00:35    
Getting xetc36.tgz ...
100% |**************************************************| 97856       00:00    
Getting xshare36.tgz ...
100% |**************************************************|  1938 KB    00:13    
Getting xfont36.tgz ...
100% |**************************************************| 32415 KB    01:17    
Getting xserv36.tgz ...
100% |**************************************************|  9743 KB    00:29

Sets can be located on a (m)ounted filesystem; a (c)drom, (d)isk or (t)ape
device; or a (f)tp, (n)fs or (h)ttp server.
Where are the install sets? (or 'done') [done] ENTER
Start sshd(8) by default? [yes] ENTER
Do you expect to run the X Window System? [yes] no
Saving configuration files...done.
Generating initial host.random file...done.
What timezone are you in? ('?' for list) [Canada/Mountain] ?
Africa/     EST         HST         Mideast/    UCT
America/    EST5EDT     Hongkong    NZ          US/
Antarctica/ Egypt       Iceland     NZ-CHAT     UTC
Arctic/     Eire        Indian/     Navajo      Universal
Asia/       Etc/        Iran        PRC         W-SU
Atlantic/   Europe/     Israel      PST8PDT     WET
Australia/  Factory     Jamaica     Pacific/    Zulu
Brazil/     GB          Japan       Poland      posix/
CET         GB-Eire     Kwajalein   Portugal    posixrules
CST6CDT     GMT         Libya       ROC         right/
Canada/     GMT+0       MET         ROK
Chile/      GMT-0       MST         Singapore
Cuba        GMT0        MST7MDT     SystemV/
EET         Greenwich   Mexico/     Turkey
What timezone are you in? ('?' for list) [Canada/Mountain] Japan
Setting local timezone to 'Japan'...done.
Making all device nodes...done.

CONGRATULATIONS! Your OpenBSD install has been successfully completed!
To boot the new system, enter halt at the command prompt. Once the
system has halted, reset the machine and boot from the disk.
# halt