From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YqNcW-0003pD-6D for mharc-grub-devel@gnu.org; Thu, 07 May 2015 11:21:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqNcU-0003oe-5F for grub-devel@gnu.org; Thu, 07 May 2015 11:21:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YqNcT-0000eb-0h for grub-devel@gnu.org; Thu, 07 May 2015 11:21:50 -0400 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:36017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqNcS-0000eM-Qz for grub-devel@gnu.org; Thu, 07 May 2015 11:21:48 -0400 Received: by wizk4 with SMTP id k4so247190085wiz.1 for ; Thu, 07 May 2015 08:21:48 -0700 (PDT) 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:subject:references :in-reply-to:content-type; bh=fpyZk6UE6ACu+rgtOE9lNK0i9bAE4u53TyWlTpowPwk=; b=NZvVCVtD0ACSClLDr0lzze2Y61oGVX89q0/JvEdv9yOjNP1dm7fzovoonvYottMTYr YOPd6cgjX/AegdHtXzC/wFZ8TIhUMFg7V7KK9RDfGHSWEa+6z8aZRjomv64ZWftqwl3B DxZNDOiKeHFcgLNwVRpkfm0CwkdDqOjZT7vUzP5tOgSVfDDFm16kOT/DnPdtx3Voztr9 JUlEawwl8CXWGVXzvmSrDVJqOYYIcZWjhsgCYp9Qk2mjXcUUSQijiRpObOnKWP9ymY/G ElfaAuXeYDzp3w5uiANurqJv50gX83kDiB1nd/GQK3muPaLMwAPuQGCpMN94WClbJHQS EJMA== X-Received: by 10.180.83.195 with SMTP id s3mr7896451wiy.52.1431012108283; Thu, 07 May 2015 08:21:48 -0700 (PDT) Received: from ?IPv6:2620:0:105f:fd00:863a:4bff:fe50:abc4? ([2620:0:105f:fd00:863a:4bff:fe50:abc4]) by mx.google.com with ESMTPSA id kc4sm3963298wjc.2.2015.05.07.08.21.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 May 2015 08:21:47 -0700 (PDT) Message-ID: <554B830A.8040400@gmail.com> Date: Thu, 07 May 2015 17:21:46 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: passing options to grub in xen,openfirmware and efi References: <20150429151011.GA5931@aepfle.de> <20150429153527.GA12448@aepfle.de> <20150429154801.GA7715@aepfle.de> <20150429162800.GA32494@aepfle.de> <20150429164921.GA9393@aepfle.de> <554B7A74.7010404@gmail.com> <20150507145426.GA26929@aepfle.de> <554B7DBA.8060501@gmail.com> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LATlKgIHHbDNlF2JA2TT07vEHHNVJ8eRo" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::231 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: Thu, 07 May 2015 15:21:51 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --LATlKgIHHbDNlF2JA2TT07vEHHNVJ8eRo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 07.05.2015 17:03, Andrei Borzenkov wrote: > On Thu, May 7, 2015 at 5:59 PM, Vladimir '=CF=86-coder/phcoder' Serbine= nko > wrote: >> On 07.05.2015 16:54, Olaf Hering wrote: >>> On Thu, May 07, Vladimir '=CF=86-coder/phcoder' Serbinenko wrote: >>> >>>> >>>>> Sigh.. >>>>> There are likely ways to find out where grub was loaded from even o= n a >>>>> PC, and use that as initial root=3D. In a PV guest no such thing ex= ists >>>>> because itself grub is the firmware. >>>> grub-install already takes this into account. >>> >>> There is no grub-install in that case. >>> >>> We run in circles, and to get out of the loop I have to show code. >>> >> No, you need to show an actual usecase with enough details and >> explanation why the solutions that already exist are inadequate. >=20 >=20 > The way pv-grub2 is built by distributions now is grub-mkstandalone > with grub.cfg that search several predefined directories for "real" > guest grub.cfg. Passing its location as boot argument would make it > possible to remove these harcdoded locations. >=20 most other firmwares like EFI or BIOS look for boot image at hardcoded place e.g. MBR or ESP at predefined locations or uses NVRAM. The trouble with passing this info from dom0 is that it's difficult to discover for grub-install where to put image, in some cases this would even make install impossible without modifying dom0. I feel like location which changes all the time would create more confusion that hardcoded location (E.g. I ran grub-install but my system still uses old GRUB) > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 --LATlKgIHHbDNlF2JA2TT07vEHHNVJ8eRo 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 iF4EAREKAAYFAlVLgwoACgkQmBXlbbo5nOu9rAEAntlyrvjGlic3ZfyeDX1weok1 FQNhSWzieRMhCOLfPtkA/2LiNQV0nelt4tQ+fw/pFyC2m9g88dJ5TjAVZc2Dzg8p =RScy -----END PGP SIGNATURE----- --LATlKgIHHbDNlF2JA2TT07vEHHNVJ8eRo--