Grub installation from the ports collection vs. Freebsd boot
geert.hendrickx at ua.ac.be
Sat Jul 3 13:11:41 PDT 2004
> Here is my hard drive setup
> Partition 0 ) 5g: Windows 2k
> Partition 1 ) 35g: Freebsd 5.2.1
In this case, your grub.config would look like this:
title Windows 2000
title FreeBSD 5.2.1
It does the following: after 30 seconds, FreeBSD will be booted by
default (0 is Windows and 1 is FreeBSD). Both OS'es reside on the first
disk (hd0), Windows on the first partition of it (hd0,0). You can't
load Windows' kernel from Grub, you just have to chainload the Windows-
partition, that's what makeactive and chainloader +1 do. Your
FreeBSD-slice is de second partition (hd0,2), and I assume your root is
the first partition on that, which is (hd0,2,a) in Grub's terminology.
You then load /boot/loader (FreeBSD's bootloader) because you do not
want to skip your boot-configuration. You could also boot your kernel
directly with kernel /kernel but this is not recommended.
Grub has many more options (graphical boot splashes for example), you
really should check out the documentation. But you can already set
things up with this simple configuration file.
Let me know if it works,
More information about the freebsd-questions