From owner-freebsd-ports@FreeBSD.ORG Sun Apr 14 12:01:25 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AFF8E4E7 for ; Sun, 14 Apr 2013 12:01:25 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 72026D31 for ; Sun, 14 Apr 2013 12:01:25 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id EBCC91E007AD; Sun, 14 Apr 2013 14:01:17 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.5/8.14.4) with ESMTP id r3EBwQgs013781; Sun, 14 Apr 2013 13:58:26 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.5/8.14.3/Submit) id r3EBwNqK013780; Sun, 14 Apr 2013 13:58:23 +0200 (CEST) (envelope-from nox) Date: Sun, 14 Apr 2013 13:58:23 +0200 (CEST) From: Juergen Lock Message-Id: <201304141158.r3EBwNqK013780@triton8.kn-bremen.de> To: zaphod@berentweb.com Subject: Re: grub2 with libzfs X-Newsgroups: local.list.freebsd.ports 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> <20130329193332.GA84498@triton8.kn-bremen.de> <1365928778123-5803692.post@n5.nabble.com> Organization: Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Apr 2013 12:01:25 -0000 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 ? 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