On ZFS v14 its known to be working. The GRUB Devel team has applied the Code because it's under the GPL. Only on ZFS v28 whats will come with FreeBSD 9 CURRENT I don't know.

Known Issue with FreeBSD and Grub2 is, they is no way to activate a serial console on COM1 at startup to see all output from the kernel. You have to wait after boot, then it will turns on.
One of the reason why I will try OpenIndiana. All my Servers has got IPMI.

Am 01.04.2011, 07:20 Uhr, schrieb Christopher Chan <christopher.c...@bradbury.edu.hk>:

ZFS support was added to grub2?

I thought that the grub team did not take the patches and so only sun grub had zfs support?

On Friday, April 01, 2011 09:24 AM, Darko Hojnik wrote:
Hi

I have cloned my Rootfs and copied it with rsync over ssh to an FreeBSD
Laptop. I want dualbooting FreeBSD and OI from one ZFS Pool. Any Ideas
how to configure Grub2 for Solaris?


schleppi# zfs list
NAME USED AVAIL REFER MOUNTPOINT
pool 19.4G 127G 1.65M legacy
pool/debian 288M 127G 271M legacy
pool/freebsd8 7.60G 127G 6.91G legacy
pool/freebsd9 18K 127G 18K legacy
pool/home 7.23G 127G 7.23G /home
pool/solaris 2.27G 127G 2.27G legacy
pool/swap 2G 129G 155M -
schleppi#



# Grub2.cfg

# Timeout for menu
set timeout=10

# Set default boot entry as Entry 0
set default=0

menuentry "FreeBSD 8.1 RELEASE AMD64 on pool/freebsd8" {
kfreebsd /freebsd8@/boot/kernel/kernel
kfreebsd_module_elf /freebsd8@/boot/kernel/opensolaris.ko
kfreebsd_module_elf /freebsd8@/boot/kernel/zfs.ko
kfreebsd_module_elf /freebsd8@/boot/kernel/if_wpi.ko
kfreebsd_module_elf /freebsd8@/boot/modules/vboxdrv.ko
kfreebsd_module_elf /freebsd8@/boot/kernel/sound.ko
kfreebsd_module_elf /freebsd8@/boot/kernel/snd_hda.ko
kfreebsd_module /freebsd8@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
set kFreeBSD.vfs.root.mountfrom=zfs:pool/freebsd8
}

menuentry "FreeBSD 9.0 CURRENT AMD64 on pool/freebsd9" {
kfreebsd /freebsd9@/boot/kernel/kernel
kfreebsd_module_elf /freebsd8@/boot/kernel/opensolaris.ko
kfreebsd_module_elf /freebsd8@/boot/kernel/zfs.ko
kfreebsd_module_elf /freebsd8@/boot/kernel/if_wpi.ko
kfreebsd_module_elf /freebsd8@/boot/modules/vboxdrv.ko
kfreebsd_module_elf /freebsd8@/boot/kernel/sound.ko
kfreebsd_module_elf /freebsd8@/boot/kernel/snd_hda.ko
kfreebsd_module /freebsd8@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
set kFreeBSD.vfs.root.mountfrom=zfs:pool/freebsd8
}
menuentry "Debian KfreeBSD Squeeze AMD64 on pool/debian" {
kfreebsd /debian@/boot/kfreebsd-8.1-1-amd64.gz
kfreebsd_module_elf /debian@/lib/modules/8.1-1-amd64/opensolaris.ko
kfreebsd_module_elf /debian@/lib/modules/8.1-1-amd64/zfs.ko
kfreebsd_module_elf /debian@/lib/modules/8.1-1-amd64/if_wpi.ko
kfreebsd_module /debian@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
set kFreeBSD.vfs.root.mountfrom=zfs:pool/debian
}

kind regards
Darko

_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to