All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: passing options to grub in xen,openfirmware and efi
Date: Fri, 8 May 2015 13:46:54 +0200	[thread overview]
Message-ID: <20150508114654.GA12411@aepfle.de> (raw)
In-Reply-To: <CAA91j0WO0OOpdw6X0wLWFdM2iR=Lmt5TVqjguH=rGf-QgfnpGg@mail.gmail.com>

On Fri, May 08, Andrei Borzenkov wrote:

> On Fri, May 8, 2015 at 2:15 PM, Olaf Hering <olaf@aepfle.de> wrote:
> > On Fri, May 08, Vladimir 'phcoder' Serbinenko wrote:
> >
> >> That's not the plan which is pushed by xen guys. They propose to make grub
> >> stored on dom0 to just load grub from a predefined place in domU. This I.a.
> >> allows easier upgrade of bootloader for distros as they don't have to worry
> >> about dom0 having very old grub.
> >
> > Thats news, where was that proposed and discussed?
> http://xenbits.xen.org/docs/unstable/misc/x86-xenpv-bootloader.html

That is chainloading, and in that sense at a different layer.

The kernel= still looks just at the very first disk, or whatever disk is
returned by "search -f /path". If grub2 would start to look at extra= it
will be possible to select a configured disk.

I just browsed the code today, grub_xen_start_page_addr->cmd_line is
what /boot/chosen is in OF. Should be easy to add similar code to set
variables found in that cmdline. Its then up to the scripts running in
the binary referenced by kernel= to make use of such variables.

Olaf


  reply	other threads:[~2015-05-08 11:47 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
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 [this message]
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=20150508114654.GA12411@aepfle.de \
    --to=olaf@aepfle.de \
    --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.