From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VggpY-0003KP-Te for mharc-grub-devel@gnu.org; Wed, 13 Nov 2013 15:14:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VggpR-0003JL-W3 for grub-devel@gnu.org; Wed, 13 Nov 2013 15:14:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VggpM-0006Kd-J0 for grub-devel@gnu.org; Wed, 13 Nov 2013 15:14:21 -0500 Received: from mail-ea0-x235.google.com ([2a00:1450:4013:c01::235]:34446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VggpM-0006Hj-Ax for grub-devel@gnu.org; Wed, 13 Nov 2013 15:14:16 -0500 Received: by mail-ea0-f181.google.com with SMTP id q16so426379ead.12 for ; Wed, 13 Nov 2013 12:14:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=6cz/NnIDnEdfIqDG9StrSma4d4MgYuN4bnGjpmT9leg=; b=dzrn1q/ObtxcFcVr4m08r14jNHvf2x/JgalfHLqCp5vwCBveG+D5T//ev62m21lnYF Sbjs/4y7OaHGUU/nPVLC3/nMinZmv+/E44psvPYugluup0hyyneJSf3zoWizWMFi+ZIr zwhEZ+OD7bkrYFMu82Mo9NfvotTSE7xMCsxq95gFfI6CIhT+QTv0Xx1d3fxBoQoWhNvB 3TqMza8nrpgVHVDE986B/rH8lWYK7zRkkvbA4ZiUvDVKcB+2T9UBBbn9YUnOQNvMCxE2 gIF859BoWAeItz59pVl2NK5uJNh8Z3YkoccJ+IVxKSmwjwzuTUWOaSfCjOZFtDmE/Pli +Wwg== X-Received: by 10.15.73.130 with SMTP id h2mr12704410eey.56.1384373654729; Wed, 13 Nov 2013 12:14:14 -0800 (PST) Received: from [192.168.1.16] (31-249.1-85.cust.bluewin.ch. [85.1.249.31]) by mx.google.com with ESMTPSA id b42sm91525511eem.9.2013.11.13.12.14.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Nov 2013 12:14:13 -0800 (PST) Message-ID: <5283DD8F.5080103@gmail.com> Date: Wed, 13 Nov 2013 21:14:07 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 MIME-Version: 1.0 To: M A Young Subject: Re: [Xen-devel] pvgrub2 is merged References: <527EA084.6000706@gmail.com> <20131110084753.540b0107@opensuse.site> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="----enig2AEFBQFCHNUARORAFKOOR" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::235 Cc: The development of GNU GRUB , "xen-devel@lists.xen.org" 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: Wed, 13 Nov 2013 20:14:27 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2AEFBQFCHNUARORAFKOOR Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 13.11.2013 20:06, M A Young wrote: >=20 >=20 > On Sun, 10 Nov 2013, Andrey Borzenkov wrote: >=20 >> =D0=92 Sat, 09 Nov 2013 21:52:20 +0100 >> Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF=D0= =B8=D1=88=D0=B5=D1=82: >> >>> Hello, all. pvgrub2 has just became part of upstream grub as ports >>> i386-xen and x86_64-xen. >>> http://git.savannah.gnu.org/cgit/grub.git >>> >>> Documentation on its usage is missing for now but in short: >>> ARCH=3Dx86_64 >>> ./autogen.sh >>> ./configure --target=3D$ARCH --with-platform=3Dxen >>> make >>> mkdir -p boot/grub/ >>> cat > boot/grub/grub.cfg <>> search -s root -f /boot/grub/grub.cfg >>> configfile /boot/grub/grub.cfg >>> EOF >>> ./grub-mkstandalone --grub-mkimage=3D./grub-mkimage -o grub.xen -O >>> $ARCH-xen -d grub-core/ boot/grub/grub.cfg >>> >> >> Do I understand it correctly that to use grub.xen it is enough to add >> >> kernel =3D "/path/to/grub.xen" >> >> to guest configuration? >=20 > I have found the following problems in doing this; >=20 > The instructions are missing a step. You I found I had to do > export pkgdatadir=3D. > before running ./grub-mkstandalone as otherwise it looks for some files= > in the installed version of grub2 rather than the build location. >=20 > Your script > search -s root -f /boot/grub/grub.cfg > configfile /boot/grub/grub.cfg > only checks one location, and the grub.cfg file can be in other places > such as /grub/grub.cfg if there is a separate boot partition, or > /boot/grub2/grub.cfg for Fedora. For testing it can be set correctly by= > hand but more locations would need to be searched for general use. >=20 ok > It doesn't seem to understand sub-partitions. I can get it to work if > the boot files are in /dev/xvda but not in /dev/xvda1 . >=20 insmod part_msdos insmod part_gpt > Michael Young ------enig2AEFBQFCHNUARORAFKOOR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlKD3ZUACgkQmBXlbbo5nOt3zwEAjL/6WgeuHDGEg7lNU9EJObgy rJI5bzuFBk/QRAXJMeUA/2KZ6WrFzGgCQy8KCUspSjBT5Y6tmkWW24L73LQLRixq =yd15 -----END PGP SIGNATURE----- ------enig2AEFBQFCHNUARORAFKOOR--