Thursday, October 9, 2008

Boot FreeBSD with Grub

If you have installed FreeBSD (or any operating system) and a partition and then later installed Linux (or any operating system with Grub) on another partition and can't get the latter to boot the former, add this line to /boot/grub/menu.lst

# For booting FreeBSD
title FreeBSD 7.0
root (hd0,1)
chainloader +1
In this case, the partition was /dev/sda2 which contained FreeBSD. Modify it for your needs.

No comments: