From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VOJk9-00068h-Mu for mharc-grub-devel@gnu.org; Mon, 23 Sep 2013 23:56:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOJjz-00066j-QU for grub-devel@gnu.org; Mon, 23 Sep 2013 23:56:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VOJjr-0004WN-EQ for grub-devel@gnu.org; Mon, 23 Sep 2013 23:56:47 -0400 Received: from mail-lb0-x22d.google.com ([2a00:1450:4010:c04::22d]:59404) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOJjr-0004WF-4U for grub-devel@gnu.org; Mon, 23 Sep 2013 23:56:39 -0400 Received: by mail-lb0-f173.google.com with SMTP id o14so3403271lbi.32 for ; Mon, 23 Sep 2013 20:56:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type; bh=gOuysdNW2knipU25ziE7HnSi/Lu8vDdsWi7GXJpFi+4=; b=vnLgre1lemwn12zq70Y9U21z9myHeglslo+TI2jBlBwbbe/ssweSai2hworNf/fDWl xq90l4uKdTXHT9saoc8blKMkU2p+A/ui7FnCr1Sw5XUkg11YrWeoFqITaZwGCbJb5fIv k/Wgw7kG/LOeXcTEzlbfY740z5SXQMYIe35iFdRZM8kydY28kdBGPsLseOxlV4G2nOTs Da3a3ztQ3WDZQhqQtzNEJJ5G3qIL+CgpnbrMRG5popmoPDYm2/41SR4DuKuhV3MY24IF aeuwBAT3/iapFmOG8gQTzbCiUMxwxegtd0JI16OD+zXZlMJNGbjUFaxZrVqc4mHhsdHP n3WQ== X-Received: by 10.152.120.73 with SMTP id la9mr22981234lab.3.1379994997848; Mon, 23 Sep 2013 20:56:37 -0700 (PDT) Received: from opensuse.site (ppp91-76-150-246.pppoe.mtu-net.ru. [91.76.150.246]) by mx.google.com with ESMTPSA id ur6sm13881365lbc.5.1969.12.31.16.00.00 (version=SSLv3 cipher=RC4-SHA bits=128/128); Mon, 23 Sep 2013 20:56:37 -0700 (PDT) Date: Tue, 24 Sep 2013 07:56:36 +0400 From: Andrey Borzenkov To: grub-devel@gnu.org Subject: Re: grub2 boot root-on-zfs errors Message-ID: <20130924075636.3f3d8696@opensuse.site> In-Reply-To: <52409669.4020804@gmail.com> References: <52409669.4020804@gmail.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.18; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/Vf=ORYo4d8o8qA+gQ.sSh+E"; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22d X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Sep 2013 03:56:56 -0000 --Sig_/Vf=ORYo4d8o8qA+gQ.sSh+E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =D0=92 Mon, 23 Sep 2013 21:28:41 +0200 Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF=D0=B8= =D1=88=D0=B5=D1=82: > On 23.09.2013 20:59, Beeblebrox wrote: > >>> This doesn't demonstrate anything else than that you didn't use tools > > correctly. It's: grub-probe -d /dev/ada0p2 > >=20 > > Thank you very much - I ran the command you instructed and see that > > the FS is identified correctly. > > $ grub-probe -d /dev/ada0p2 > > zfs > >=20 > > I cannot, however, boot from grub directly into zfs-root. After the > > grub menu comes up, and I fall to command-prompt, listing the drives > > shows no ZFS paths and the various menu variations I have tried do not > > work. > >=20 > > Unfortunately, there is not much accurate documentation for > > FreeBSD+ZFS+grub, and the linux solutions to the problem do not work > > for FreeBSD. > >=20 > > The main problem form the grub loader / command line, is that I cannot > > get any code loaded which is located on a ZPOOL: > >=20 > > menuentry 'FreeBSD-ZFS' { > > insmod zfs > > set root=3D'hd0,gpt2' > > kfreebsd /boot/loader } > >=20 > > Fails because grub cannot find bootloader and gives "no such file" erro= r. > > Please let me know what =C4=B1ther info I can provide to debug the prob= lem. > >=20 > Syntax is: > (DISK)/VOLUME@[SNAPSHOT]/FILE > I think it's described somewhere in manual No, it is not. There are examples using zfs with this syntax (but without snapshot)s). I'm not sure where should it go ... in "File name syntax" probably? --Sig_/Vf=ORYo4d8o8qA+gQ.sSh+E Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJBDXQACgkQR6LMutpd94xwmACghqdUKSyT3+32excz2JmQVX7g JboAn32HvHuOcFMfqqX596SE1c7uvVU3 =Leuh -----END PGP SIGNATURE----- --Sig_/Vf=ORYo4d8o8qA+gQ.sSh+E--