Linux Gentoo + FreeBSD in a same disk

If you installed Gentoo and FreeBSD in a same disk and different partitions, then you probably would think this tutorial is helpful.

 Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2074      979933+  83  Linux (Linux /boot)(hd0,0)
/dev/sda2            2075       14467     5855692+  83  Linux (Linux /)(hd0,1)
/dev/sda3   *       14468       31008     7815622+  a5  FreeBSD (FreeBSD) (hd0,2)
/dev/sda4           31009       33286     1076355    5  Extended
/dev/sda5           31009       33286     1076323+  82  Linux swap / Solaris (Linux swap)

Edit Grub, add following

default 0
timeout 5

title Gentoo Linux
root (hd0,0)
kernel /boot/bzImage- root=/dev/sda2 ro quiet
title FreeBSD
rootnoverify (hd0,2)
chainloader +1

thats it


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s