From owner-freebsd-ports@FreeBSD.ORG Wed Mar 27 18:06:25 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4619F88B for ; Wed, 27 Mar 2013 18:06:25 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 2C8F221A for ; Wed, 27 Mar 2013 18:06:24 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UKujw-0000uU-8W for freebsd-ports@freebsd.org; Wed, 27 Mar 2013 11:06:24 -0700 Date: Wed, 27 Mar 2013 11:06:24 -0700 (PDT) From: Beeblebrox To: freebsd-ports@freebsd.org Message-ID: <1364407584254-5799443.post@n5.nabble.com> In-Reply-To: <51532491.6050507@gmail.com> References: <1364397485043-5799405.post@n5.nabble.com> <51532491.6050507@gmail.com> Subject: grub2 with libzfs MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Wed, 27 Mar 2013 18:06:25 -0000 Hi, very happy to see that there are other grub fans in FreeBSD-land! I was planning to place my grub on a separate UFS partition so that I can boot other things (like loopbacked iso's) if I should want to. The grub UFS partition only has grub files in it (what mounts under /boot/grub) and no kernel files. >> specify the zfs module if your 'grub-install' target is a ZFS dataset I forgot to mention my dedicated grub partition, so I hope it clarifies that my grub-install target is not a ZFS dataset. However, "kfreebsd /@/boot/kernel/kernel" is on a ZFS dataset. Other things I forgot to mention: I booted an ubuntu cd and installed grub 1.98 on the UFS grub partition. When I drop into the grub command line and "grub> zfslist (hd0) or (hd0,1)" I get message "no labels found". "insmod zfs" is loaded by default at grub boot-up. Host info: 10-Current, amd64, ZFS ver: features async_destroy, empty_bpobj, lz4_compress >> You don't need libzfs to use grub2 on ZFS. Please clarify: Do you mean that I don't need to invoke "--enable-libzfs"? If so, why do I get the error above (no labels found)? Thank you for the input & Regards. -- View this message in context: http://freebsd.1045724.n5.nabble.com/grub2-with-libzfs-tp5799405p5799443.html Sent from the freebsd-ports mailing list archive at Nabble.com.