Introduction to OpenBSD
What is OpenBSD?
The OpenBSD project produces a freely
available, multi-platform 4.4BSD-based UNIX-like operating system. Our goals place emphasis
on correctness, security, standardization, and portability. OpenBSD supports binary emulation of most
binaries from SVR4 (Solaris), FreeBSD, Linux, BSDI, SunOS, and HPUX.
It was forked from NetBSD,
a previous open source operating system based on BSD, by project leader Theo de Raadt in 1994,
and is widely known for the developers' insistence on open source and documentation,
uncompromising position on software licensing, and focus on security and code correctness.
Gentoo/OpenBSD project currently has official installation media, so you can download an ISO image from
Burn this image to a CD and use it boot your computer. Please log in as user 'root', using blank
password. Once logged in, you have to create and format partitions for your Gentoo/OpenBSD
installation. If you're unsure how to do this, please consult the section "Setting up disks"
of the OpenBSD
Code Listing 2.1: Partitioning your disk
# fdisk -e wdX
# disklabel -E wdX
# newfs /dev/wdXY
When you are done with setting up your disk, create a mount point where you mount the previously
Code Listing 2.2: Creating a mount point and mounting partitions
# mkdir /var/gentoo
# mount /dev/wdXY /var/gentoo
Now that you have mounted the target partition, it is time to fetch and unpack
a stage3 tarball and syncing your portage tree.
Note: Currently Gentoo/OpenBSD LiveCD includes stage3 in /stage
Code Listing 2.3: Installing the stage3 tarball and syncing the portage tree
# cd /var/gentoo
# ftp http://dev.gentoo.org/~reb/obsd/stage/gentoo-openbsd-stage3-211105.tar.bz2
# tar xjpfv gentoo-openbsd-stage3-211105.tar.bz2
Congrats, you now should be able to update your Gentoo/OpenBSD installation using Portage! But
in order to be able to boot your new system later on, you will have to install a boot manager or
add Gentoo/OpenBSD to your current boot loader's configuration. Additionally you will have to populate
your /dev dirctory with the necessary device nodes. Finally you'll have to edit your
/etc/fstab to reflect your partition layout.
Code Listing 2.4: Final configuration
# cd /var/gentoo/dev
# ./MAKEDEV all
# chroot /var/gentoo /bin/bash
# cd /usr/mdec; ./installboot boot biosboot wdX
# vi /etc/fstab
A list of Gentoo/OpenBSD developers can be found at the
Other ways to contact Gentoo/FreeBSD developers include our IRC Channel #gentoo-bsd
on Freenode, as well as the
gentoo-bsd mailing list.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-2.5 license. The Gentoo Name and Logo Usage Guidelines apply.