Gentoo OpenBSD/Install Guide
This guide contains old installation instructions for Gentoo OpenBSD.
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.
The Gentoo OpenBSD project currently has official installation media, so you can download an ISO image from here.
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 FAQ.
Partitioning the disk:
fdisk -e wdX
X to reflect the setup:
disklabel -E wdX
Y to reflect the correct disk/partition:
When done partitioning the disk, create a mount point to the previously created partition(s). Replace
Y with the correct values for the hard disk(s):
mount /dev/wdXY /var/gentoo
After mounting the target partition, it is time to fetch and unpack a stage3 tarball and sync with the main Gentoo repository:
tar xjpfv gentoo-openbsd-stage3-211105.tar.bz2
Congratulations, it should now be possible to update the Gentoo OpenBSD installation using Portage! In order to be able to boot the new system later on, be sure to install a bootloader or add Gentoo OpenBSD to the current boot loader's configuration. Additionally remember to populate the /dev directory with the necessary device nodes. Finally edit /etc/fstab to reflect the partition layout.
chroot /var/gentoo /bin/bash
cd /usr/mdec; ./installboot boot biosboot wdX
Xin the command above with the appropriate partition.
This page is based on a document formerly found on our main website gentoo.org.
The following people contributed to the original document: Karol Pasternak (author) on January 29, 2006
They are listed here because wiki history does not allow for any external attribution. If you edit the wiki article, please do not add yourself here; your contributions are recorded on each article's associated history page.