From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: passing options to grub in xen,openfirmware and efi
Date: Thu, 07 May 2015 17:21:46 +0200 [thread overview]
Message-ID: <554B830A.8040400@gmail.com> (raw)
In-Reply-To: <CAA91j0Uw+7tk+zSnpttHKihNseagR8eGDUOfVtWwf1+6GOXByQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1733 bytes --]
On 07.05.2015 17:03, Andrei Borzenkov wrote:
> On Thu, May 7, 2015 at 5:59 PM, Vladimir 'φ-coder/phcoder' Serbinenko
> <phcoder@gmail.com> wrote:
>> On 07.05.2015 16:54, Olaf Hering wrote:
>>> On Thu, May 07, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
>>>
>>>>
>>>>> Sigh..
>>>>> There are likely ways to find out where grub was loaded from even on a
>>>>> PC, and use that as initial root=. In a PV guest no such thing exists
>>>>> 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.
>
>
> 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.
>
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
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]
next prev parent reply other threads:[~2015-05-07 15:21 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-23 8:03 passing options to grub in xen,openfirmware and efi Olaf Hering
2015-04-23 9:35 ` Andrei Borzenkov
2015-04-23 9:43 ` Olaf Hering
2015-04-23 9:54 ` Andrei Borzenkov
2015-04-23 11:25 ` Olaf Hering
2015-04-23 11:40 ` Andrei Borzenkov
2015-04-23 12:17 ` Olaf Hering
2015-04-29 15:02 ` Vladimir 'φ-coder/phcoder' Serbinenko
2015-04-29 15:10 ` Olaf Hering
2015-04-29 15:21 ` Vladimir 'phcoder' Serbinenko
2015-04-29 15:35 ` Olaf Hering
2015-04-29 15:41 ` Vladimir 'phcoder' Serbinenko
2015-04-29 15:48 ` Olaf Hering
2015-04-29 16:22 ` Vladimir 'phcoder' Serbinenko
2015-04-29 16:28 ` Olaf Hering
2015-04-29 16:37 ` Vladimir 'phcoder' Serbinenko
2015-04-29 16:49 ` Olaf Hering
2015-05-07 14:45 ` Vladimir 'φ-coder/phcoder' Serbinenko
2015-05-07 14:54 ` Olaf Hering
2015-05-07 14:59 ` Vladimir 'φ-coder/phcoder' Serbinenko
2015-05-07 15:03 ` Andrei Borzenkov
2015-05-07 15:21 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2015-05-08 10:09 ` Olaf Hering
2015-05-08 10:57 ` Vladimir 'phcoder' Serbinenko
2015-05-08 11:06 ` Andrei Borzenkov
2015-05-08 11:17 ` Olaf Hering
2015-05-08 11:15 ` Olaf Hering
2015-05-08 11:33 ` Andrei Borzenkov
2015-05-08 11:46 ` Olaf Hering
2015-05-08 12:57 ` Vladimir 'phcoder' Serbinenko
2015-05-11 9:36 ` Olaf Hering
2015-05-11 10:22 ` Andrei Borzenkov
2015-05-11 10:43 ` Olaf Hering
2015-05-11 10:46 ` Vladimir 'phcoder' Serbinenko
2015-05-11 11:04 ` Olaf Hering
2015-05-11 11:22 ` Vladimir 'phcoder' Serbinenko
2015-05-11 14:10 ` Olaf Hering
2015-05-08 10:44 ` Michael Chang
2015-04-23 17:05 ` Curt Brune
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=554B830A.8040400@gmail.com \
--to=phcoder@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.