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): [] sample5
Enter DNS domain name: [] sample.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.
Here we can now setup the IP and subnet of each adapter. Choose one adapter and follow the prompts and give it the appropriate information needed. To give a NIC adapter DHCP enter dhcp at the IP prompt.
You may configure the following network interfaces (the interfaces
marked with [X] have been successfully configured):
[ ] ne3
[ ] xl0
[ ] ne4
Configure which interface? (or, enter ‘done’) [ne3]
IP address (or ‘dhcp’) ? [] 192.168.254.2
Symbolic (host) name? [sample5]
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? []
After all of the NIC adapters have been configured, tell it done and you will drop to the next section
You may configure the following network interfaces (the interfaces
marked with [X] have been successfully configured):
[X] ne3
[X] xl0
[X] ne4
Configure which interface? (or, enter ‘done’) [done]
2.6 Installation media
This section will allow you to tell the OpenBSD installer where to get the install packages. We also assign the root password in this part too (some packages need root proveldges to run). There is also the option for installing X, tell it no. We do not require that at all. Providing there is a need, it can be installed later.
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)
We must give the root account a password here. To keep things simple, unless otherwise stated use the administrative account that is used on the other systems to keep uniformity.
Please enter the initial password that the root account will have.
Password (will not echo):
Password (again):
Here is the X Window GUI option. We do not need this at this time.
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?
After selecting the media it will either move to the next section, or as in our case, go to the ftp selection screen. There were no screenshots available but the process is simple
[none] proxy server
[n] active FTP
[y] List FTP servers
As the list of FTP servers pop up, press space to paginate and note some FTP servers that are close by. As of the time of my installation 63 (Chicago) and 75 (Madison) were the two of the clsoest fastest servers.
[#of choice] selects the FTP
[enter] accepts FTP
[enter] accepts default FTP directory path (%99.9999 good idea)
[enter] Anonymous FTP
2.7 Choosing installation packages and finishing the install.
Now we must select the packages. The packages are as follows :
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//3.0/i386. You can also enter ‘all’ to install all the standard
sets, or ‘list’ to list the files available in /mnt2//3.0/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] base30.tgz
[X] etc30.tgz
[X] misc30.tgz
[X] comp30.tgz
[X] man30.tgz
[ ] game30.tgz
[ ] xbase30.tgz
[ ] xshare30.tgz
[ ] xfont30.tgz
[ ] xserv30.tgz
[X] bsd
File name? []
We need to tell it what packages to use. Select jsut the packages marked above.
base30.tgz Has the base OpenBSD system Required
etc30.tgz Has all the files in /etc Required
comp30.tz Has the compiler and its tools, libs. Recommended
man30.tgz Holds man pages Recommended
misc30.tgz Holds misc info, setup docs Optional
game30.tgz Has the games for OpenBSD Optional
xbase30.tgz Has the base install for X11 Optional
xfont30.tgz Holds X11’s font server and fonts Optional
xserv30.tgz Has X11’s X servers Optional
xshare30.tgz Has manpages, locale settings, includes, etc for X Optional
bsd This is the Kernel. Required
To add a package, type +packagename* , and conversely, to remove a selected package type -packagename*
[done] To go download packages
/3.0/i386/base30.tgz:
100% |************************************************* *| 21192 KB 00:00 ETA
/3.0/i386/etc30.tgz:
100% |************************************************* *| 987 KB 00:00 ETA
/3.0/i386/man30.tgz:
100% |************************************************* *| 4957 KB 00:00 ETA
/3.0/i386/bsd:
100% |************************************************* *| 3053 KB 00:00 ETA
/3.0/i386/misc30.tgz:
100% |************************************************* *| 1644 KB 00:00 ETA
/3.0/i386/comp30.tgz:
100% |************************************************* *| 14406 KB 00:00 ETA
Extract more sets? [n]
2.8 Timezone settings
Now we get to down and dirty with the timezone settings.
Copying fstab, hostname.fxp0, hosts, myname, mygate, resolv.conf, …done.
…
…
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/
We want to use CST6CDT
What timezone are you in? [`?’ for list] [GMT] CST6CDT
You have selected timezone “CST6CDT”.
Installing timezone link.
2.9 Finishing it all up
Now the system is getting setup with all of the /dev entries and such. That is pretty much the last thing that is done to install OpenBSD.
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 0×16f
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 (0×3f)
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.
Now that the system is all setup, remove the CDROM or boot floppy and type :
- reboot
And the system will reboot.


Reply With Quote
Bookmarks