grub2 with libzfs

Juergen Lock nox at
Sun Apr 14 12:01:25 UTC 2013

In article < at> you write:
>grub2.0 is installed, but does not have ZFS capability. I go to the grub
>command-line and:
>grub> ls => (hd0,gpt1) (hd0,gpt2) (hd1,gpt1) (hd1,gpt2) etc...
>grub> zfsinfo (hd0,gpt1) => error: could't find a valid label
Hm interesting, does tab-completion list the like in

if you do

	grub> set root=(hd0<tab>

?  If not can you try again with the latest update

with the zfs knob _disabled_ instead of enabled?  (the gentoo zfs
patch made it detect libzfs even w/o needing the base libzfs.h,
maybe the build with the zfs knob enabled is in fact broken?)

>I have 3 pools but grub finds none of the labels. grub.cfg is loading as
>insmod part_gpt
>insmod zfs
>insmod ufs
>I also had to provide "insmod bsd" as default, because grub kept giving me a
>'cannot locate bsd.mod' error, it would then become stuck and was unable to
>perform any action.
>I am currently booting from a temporarily created UFS partition hosting only
>/boot.  /boot/grub is on a separate partition as well.
 Thanx, :)

More information about the freebsd-ports mailing list