Next Previous Contents

# The Linux+FreeBSD mini-HOWTO

## Niels Kristian Bech Jensen `nkbj@image.dk`

v1.11, 30 March 2000

This document describes how to use Linux and FreeBSD on the same system. It introduces FreeBSD and discusses how the two operating systems can cooperate, e.g. by sharing swap space. You should probably have some experience with Linux or FreeBSD and hard drive partitioning (`fdisk`) before you read this document. The tips herein are tested using FreeBSD 2.2.2, but they should be valid for newer versions as well. Do not hesitate to mail me if you have comments, questions or suggestions about this document. I would also like to hear from people who have experience using Linux together with NetBSD or OpenBSD.

## 1. What is FreeBSD?

## 2. The FreeBSD way of labelling hard drives

- 2.1 FreeBSD ``slices'' and ``partitions''
- 2.2 Drive and partition labelling in Linux and FreeBSD

## 3. Sharing swap space between Linux and FreeBSD

- 3.1 Installing and preparing Linux
- 3.2 Installing FreeBSD
- 3.3 Setting up the FreeBSD swap partition in Linux

## 4. Booting FreeBSD using LILO

## 5. Mounting filesystems

- 5.1 Mounting UFS filesystems under Linux
- 5.2 Mounting ext2fs filesystems under FreeBSD

## 6. Running foreign binaries

- 6.1 Running FreeBSD binaries under Linux
- 6.2 Running Linux binaries under FreeBSD

## 7. Information resources

## 8. Credits and legal stuff

- 8.1 Legal stuff

Next Previous Contents