My Goal was to: Boot FreeBSD 10 from Grub2 by editing 40_custom in /etc/grub.d
My Setup: FreeBSD10 is on the fifth hdd of my system (/dev/sde under Linux, so hd4 for Grub2. Remember that under Grub2 hd starts from hd0 for drives, and partitions from 1 and on, not zero). The root partition is the second one (/dev/sde2) as I've used FreeBSD's Guided partitioning (use entire disk) while installing (simplest).
Recalling, that is: set root='(hd4,2)' for the fifth hdd and the 2nd partition.
info: (chainloader +1 is actually not required ! The following brings me directly to FreeBSDs Bootloader).
To summarize a little: you just got to adapt set root=(x,x), nothing more is needed. If you want to boot the kernel directly, things get a little more complex than the entry below.
menuentry "FreeBSD 10.0" {
insmod part_gpt
set root='(hd4,2)'
kfreebsd /boot/loader
}
I was a bit disappointed by os-prober which just found 'Unknown linux distribution on /dev/sde2'
ps: don't forget 'update-grub' afterwards and Taddaa (hopefully). :) If somebody succeed, throw me a msg, i would be happy to hear from you !