When your boot is successful, you will see a lot of text messages scroll by. This text, is the
dmesg, the kernel telling you what devices have been found, and where, a copy is saved as
/var/run/dmesg.boot.
SHIFT+PGUP will let you examine text that has scrolled off the screen.
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02
erase ^?, werase ^W, kill ^U, intr ^C, status ^T
(I)nstall, (U)pgrade or (S)hell? i
Specify terminal type: [vt220] Enter
kbd(8) mapping? ('?' for list) [none] Enter
Proceed with install? [no] y
Setting up disks
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.
- D - Clears any existing disklabel, creates a new default disklabel
which covers just the current OpenBSD partition.
- m - Modifies an existing entry in a disklabel.
- r or reinit: Clears existing partition table, makes one big OpenBSD
partition, flags it active, and installs the OpenBSD MBR code.
Equivalent to saying "yes" to the "use *all* of ..." question.
- p or print: Displays the current partition table in sectors. "p m"
will show the partition table in megabytes, "p g" will show it in
gigabytes.
- e or edit: edit or alter a table entry.
- f or flag: Marks a partition as the active partition, the one that
will be booted from.
- u or update: Updates the MBR with the OpenBSD boot code, similar to
"reinit", except it doesn't alter the existing partition table.
- exit and quit: Careful on these, as some users are used to "exit"
and "quit" having opposite meanings.
MIN DISK PARTITIONS
(root) 100MB
/usr 250MB (no X) or 400MB (with X)
/var 25MB
/tmp 50MB
swap 32MB
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
>p
> d a
> a a
offset: [---] Enter
size: [---] 150m
Rounding to nearest cylinder:
FS type: [4.2BSD] Enter
mount point: [none] /
> a b
offset: [---] Enter
size: [---] 300m
Rounding to nearest cylinder:
FS type: [swap] Enter
> a d
offset: [---] Enter
size: [---] 120m
Rounding to nearest cylinder:
FS type: [4.2BSD] Enter
mount point: [none] /tmp
> a e
offset: [---] Enter
size: [---] 80m
Rounding to nearest cylinder:
FS type: [4.2BSD] Enter
mount point: [none] /var
> a g
offset: [---] Enter
size: [---] 3g
Rounding to nearest cylinder:
FS type: [4.2BSD] Enter
mount point: [none] /usr
> a h
offset: [---] Enter
size: [---] 4g
Rounding to nearest cylinder:
FS type: [4.2BSD] Enter
mount point: [none] /home
>q
Write new label?: [y] Enter
Mount point for wd0d (size=---)? (or 'none' or 'done') [/tmp] Enter
Mount point for wd0e (size=---)? (or 'none' or 'done') [/var] Enter
Mount point for wd0g (size=---)? (or 'none' or 'done') [/usr] Enter
Mount point for wd0h (size=---)? (or 'none' or 'done') [/home] Enter
Mount point for wd0d (size=---)? (or 'none' or 'done') [/tmp] done
Setting the system hostname
Enter system hostname (short form, e.g. 'foo'): puffy
STATIC IP
Configure the network? [yes] Enter
Available interfaces are: fxp0.
Which one do you wish to initialize? (or 'done') [fxp0] Enter
Symbolic (host) name for fxp0? [puffy] Enter
The default media for fxp0 is
media: Ethernet autoselect (100baseTX full-duplex)
Do you want to change the default media? [no] Enter
IP address for fxp0? (or 'dhcp') 199.185.137.55
Netmask? [255.255.255.0] Enter
IPv6 address for fxp0? (or 'rtsol' or 'none') [none]
No more interfaces to initialize.
DNS domain name? (e.g. 'bar.com') [my.domain] example.com
DNS nameserver? (IP address or 'none') [none] 199.185.137.1
Use the nameserver now? [yes] Enter
Default route? (IP address, 'dhcp' or 'none') 199.185.137.128
add net default: gateway 199.185.137.128
Edit hosts with ed? [no] Enter
Do you want to do any manual network configuration? [no] Enter
USING DHCP
Configure the network? [yes] Enter
Available interfaces are: fxp0.
Which one do you wish to initialize? (or 'done') [fxp0] Enter
Symbolic (host) name for fxp0? [puffy] Enter
The default media for fxp0 is
media: Ethernet autoselect (100baseTX full-duplex)
Do you want to change the default media? [no] Enter
IP address for fxp0? (or 'dhcp') dhcp
Issuing hostname-associated DHCP request for fxp0.
Sending on Socket/fallback/fallback-net
DHCPDISCOVER on fxp0 to 255.255.255.255 port 67 interval 1
DHCPOFFER from 199.185.137.128
DHCPREQUEST on fxp0 to 255.255.255.255 port 67
DHCPACK from 199.185.137.128
New Network Number: 199.185.137.0
New Broadcast Address: 199.185.137.255
bound to 199.185.137.55 -- renewal in 43200 seconds.
Done - no available interfaces found.
DNS domain name? (e.g. 'bar.com') [example.org] Enter
DNS nameserver? (IP address or 'none') [199.185.137.1] Enter
Use the nameserver now? [yes] Enter
Default route? (IP address, 'dhcp' or 'none') [199.185.137.128] Enter
Edit hosts with ed? [no] Enter
Do you want to do any manual network configuration? [no] Enter
Set the password for the root account
Password for root account? (will not echo) TyPeASeCurePaSSW0rDHeRe
Password for root account? (again) TyPeASeCurePaSSW0rDHeRe
Choosing installation media
Let's install the sets!
Location of sets? (cd disk ftp http or 'done') [cd] Enter
Available CD-ROMs are: cd0.
Which one contains the install media? (or 'done') [cd0] Enter
Pathname to the sets? (or 'done') [3.8/i386] Enter
Choosing file sets
File Name? (or 'done') [bsd.mp] all
[X] bsd
[X] bsd.rd
[ ] bsd.mp
[X] base38.tgz
[X] etc38.tgz
[X] misc38.tgz
[X] comp38.tgz
[X] man38.tgz
[ ] game38.tgz
[X] xbase38.tgz
[X] xetc38.tgz
[X] xshare38.tgz
[X] xfont38.tgz
[X] xserv38.tgz
File Name? (or 'done') -game38.tgz -bsd.mp
File Name? (or 'done') [done] Enter
Ready to install sets? [yes] Enter
Location of sets? (cd disk ftp http or 'done') [done] Enter
Finishing up
Start sshd(8) by default? [yes] y
To change edit /etc/rc.conf.local or /etc/rc.conf.
Start ntpd(8) by default? [no] y
To change edit /etc/rc.conf.local or /etc/rc.conf.
Do you expect to run the X Window System? [yes] y
Change the default console to com0? [no] Enter
Saving configuration files......done.
Generating initial host.random file ......done.
What timezone are you in? ('?' for list) [Canada/Mountain] ?
Canada/Eastern
# halt
Before you reboot
- Set your mount points to be what they will be on a normal reboot of your newly installed
system.
- # /mnt/usr/sbin/chroot /mnt