grub2 with libzfs
Juergen Lock
nox at jelal.kn-bremen.de
Sun Apr 14 12:01:25 UTC 2013
In article <1365928778123-5803692.post at n5.nabble.com> 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 zfs.es like in
http://imgur.com/a/FUdhs
if you do
grub> set root=(hd0<tab>
? If not can you try again with the latest update
http://people.freebsd.org/~nox/tmp/grub-2.00-006-zfs.patch
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
>default:
>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, :)
Juergen
More information about the freebsd-ports
mailing list