Grub2 boot debian and debian-kfreebsd

menuentry ‘Debian GNU/kFreeBSD, with kFreeBSD 9.0-2-amd64′ –class debian –class gnu-kfreebsd –class gnu –class os {
insmod part_msdos
insmod zfs
set root='(/dev/ada0,msdos3)’
search –no-floppy –fs-uuid –set=root ffdedb2e77090087
echo ‘Loading kernel of FreeBSD 9.0-2-amd64 …’
kfreebsd /r/@/boot/kfreebsd-9.0-2-amd64.gz
insmod part_msdos
insmod zfs
set root='(/dev/ada0,msdos3)’
search –no-floppy –fs-uuid –set=root ffdedb2e77090087
kfreebsd_module_elf /r/@/lib/modules/9.0-2-amd64/opensolaris.ko
insmod part_msdos
insmod zfs
set root='(/dev/ada0,msdos3)’
search –no-floppy –fs-uuid –set=root ffdedb2e77090087
kfreebsd_module /r/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
set root='(/dev/ada0,msdos3)’
search –no-floppy –fs-uuid –set=root ffdedb2e77090087
kfreebsd_module_elf /r/@/lib/modules/9.0-2-amd64/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:p/r
set kFreeBSD.vfs.root.mountfrom.options=rw
}
menuentry ‘Debian GNU/kFreeBSD, with kFreeBSD 9.0-2-amd64 (recovery mode)’ –class debian –class gnu-kfreebsd –class gnu –class os {
insmod part_msdos
insmod zfs
set root='(/dev/ada0,msdos3)’
search –no-floppy –fs-uuid –set=root ffdedb2e77090087
echo ‘Loading kernel of FreeBSD 9.0-2-amd64 …’
kfreebsd /r/@/boot/kfreebsd-9.0-2-amd64.gz -s
insmod part_msdos
insmod zfs
set root='(/dev/ada0,msdos3)’
search –no-floppy –fs-uuid –set=root ffdedb2e77090087
kfreebsd_module_elf /r/@/lib/modules/9.0-2-amd64/opensolaris.ko
insmod part_msdos
insmod zfs
set root='(/dev/ada0,msdos3)’
search –no-floppy –fs-uuid –set=root ffdedb2e77090087
kfreebsd_module /r/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
set root='(/dev/ada0,msdos3)’
search –no-floppy –fs-uuid –set=root ffdedb2e77090087
kfreebsd_module_elf /r/@/lib/modules/9.0-2-amd64/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:p/r
set kFreeBSD.vfs.root.mountfrom.options=rw
}
menuentry ‘Debian GNU/Linux, with Linux 3.2.0-4-686-pae’ –class debian –class gnu-linux –class gnu –class os {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)’
search –no-floppy –fs-uuid –set=root eb7202f2-a3a2-4d6f-81de-c5f0d72fa607
echo ‘Loading Linux 3.2.0-4-686-pae …’
linux /vmlinuz-3.2.0-4-686-pae root=UUID=c50de1a8-dc6b-4414-8f6f-d90ecd5e5209 ro quiet
echo ‘Loading initial ramdisk …’
initrd /initrd.img-3.2.0-4-686-pae
}
menuentry ‘Debian GNU/Linux, with Linux 3.2.0-4-686-pae (recovery mode)’ –class debian –class gnu-linux –class gnu –class os {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)’
search –no-floppy –fs-uuid –set=root eb7202f2-a3a2-4d6f-81de-c5f0d72fa607
echo ‘Loading Linux 3.2.0-4-686-pae …’
linux /vmlinuz-3.2.0-4-686-pae root=UUID=c50de1a8-dc6b-4414-8f6f-d90ecd5e5209 ro single
echo ‘Loading initial ramdisk …’
initrd /initrd.img-3.2.0-4-686-pae