Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Apr 2013 13:58:23 +0200 (CEST)
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        zaphod@berentweb.com
Cc:        freebsd-ports@freebsd.org
Subject:   Re: grub2 with libzfs
Message-ID:  <201304141158.r3EBwNqK013780@triton8.kn-bremen.de>
In-Reply-To: <1365928778123-5803692.post@n5.nabble.com>
References:  <1364397485043-5799405.post@n5.nabble.com> <51532491.6050507@gmail.com> <1364407584254-5799443.post@n5.nabble.com> <1364409110302-5799450.post@n5.nabble.com> <20130327204130.GA40854@triton8.kn-bremen.de> <1364469893741-5799652.post@n5.nabble.com> <201303291836.r2TIarVc080730@triton8.kn-bremen.de> <CAOFF%2BZ0jui0MnFL8QFZsix6hPMeYvWD1MsoO3Lh6XY5G8P2UZA@mail.gmail.com> <20130329193332.GA84498@triton8.kn-bremen.de> <1365928778123-5803692.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <1365928778123-5803692.post@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304141158.r3EBwNqK013780>