From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= Subject: Re: pvgrub2 is merged Date: Wed, 13 Nov 2013 21:14:07 +0100 Message-ID: <5283DD8F.5080103__36776.7938915223$1384373797$gmane$org@gmail.com> References: <527EA084.6000706@gmail.com> <20131110084753.540b0107@opensuse.site> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8591625454886746261==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: M A Young Cc: The development of GNU GRUB , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============8591625454886746261== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="----enig2AEFBQFCHNUARORAFKOOR" 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-- --===============8591625454886746261== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============8591625454886746261==--