I want to dual boot PC-BSD 10.3 with ZFS as the root file system (the only file system) with Debian 7 (crunchbang linux) with ext4 using grub2 boot loader installed in MBR and grub is managed by the debian.
All the documents are dealing with dual booting PC-BSD/FreeBSD using UFS2 file system and Debian(How do I add PC BSD / FreeBSD to Grub 2 boot loader?). So I'm asking the question here.
From my debian's grub configuration
cat /etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "PC-BSD" {
insmod zfs
set root=(hd0,2)
chainloader +1
}
This entry is being detected by the grub and showing in the boot screen. But when I select PC-BSD, it is showing the error "UFS not found". I think this is because PC-BSD 10.3 is using ZFS instead of UFS2. Please provide me the guide to boot PC-BSD with ZFS and debian using grub2 managed by debian.