All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Kexec loading grub2
Date: Sat, 2 May 2009 13:45:15 +0200	[thread overview]
Message-ID: <20090502114515.GF28362@thorin> (raw)
In-Reply-To: <cone.1239744501.891500.3361.1000@toolshiner.phx1.kidfixit.com>

On Tue, Apr 14, 2009 at 02:28:21PM -0700, Joey Korkames wrote:
> 1)  Add a 32-bit load segment to boot/i386/pc/lnxboot.S as described by
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/x86/boot.txt (at the bottom)
>
>  grub4dos (which is kexec'able) implements this in startup_32: @ http://svn.gna.org/viewcvs/grub4dos/trunk/stage2/dosstart.S?view=markup

Please use Multiboot.  It's about time we start standarising on boot
protocols...

>  # kexec --type multiboot-x86 --load grub2.elf
>   issues this error:
>  > Base address: 8200 is not page aligned

Multiboot doesn't require that load addresses are page aligned, but I think you
can change the link address without much trouble.

If you use 0x100000, though, the Linux loader will probably stop working.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."



  reply	other threads:[~2009-05-02 11:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-14 17:37 Update on xnu.mod phcoder
2009-04-14 17:43 ` phcoder
2009-04-14 21:28 ` Kexec loading grub2 Joey Korkames
2009-05-02 11:45   ` Robert Millan [this message]
2009-05-02 22:04     ` Joey Korkames
2009-05-13 20:49       ` Robert Millan

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=20090502114515.GF28362@thorin \
    --to=rmh@aybabtu.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.