All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Starting grub 2 from grub legacy?
Date: Mon, 18 Feb 2008 09:08:32 -0500	[thread overview]
Message-ID: <1203343712.13621.6.camel@dv> (raw)
In-Reply-To: <rieo85-ek6.ln1@CPE-124-182-119-184.sa.bigpond.net.au>

On Tue, 2008-02-19 at 00:12 +1030, Arthur Marsh wrote:
> ardoRic wrote, on 14/02/08 05:20:
> > Hi.
> > 
> > I tried it and didn't exactly work.
> > 
> > the grub entry you are looking for is:
> > 
> > title Chainload Grub2
> > root (hd0,0) # or whatever your root is
> > kernel /boot/grub/core.img
> > savedefault
> > 
> > This is what i had before commenting it out, and i tried it out and works.
> > 
> 
> This doesn't work for me )-:

For what it's worth, I cannot load core.img even from the current GRUB2:

grub> kernel /boot/grub/core.img
error: unknown ELF class

Yet core.img appears to have a valid multiboot header:

# mbchk /boot/grub/core.img 
/boot/grub/core.img: The Multiboot header is found at the offset 592.
/boot/grub/core.img: Page alignment is turned off.
/boot/grub/core.img: Memory information is turned off.
/boot/grub/core.img: Address fields is turned on.
/boot/grub/core.img: All checks passed.

-- 
Regards,
Pavel Roskin



  parent reply	other threads:[~2008-02-18 14:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-13 16:19 Starting grub 2 from grub legacy? Arthur Marsh
2008-02-13 16:41 ` ardoRic
2008-02-13 18:50   ` ardoRic
2008-02-14 18:28     ` Arthur Marsh
2008-02-18 13:42     ` Arthur Marsh
2008-02-18 13:55       ` Arthur Marsh
2008-02-18 14:08       ` Pavel Roskin [this message]
2008-02-19  0:57       ` George Lengel
2008-02-19  6:25         ` Pavel Roskin
2008-02-19  7:13           ` Robert Millan
2008-02-19  7:14           ` Bean
2008-02-19 18:19             ` Pavel Roskin
2008-02-19 18:33               ` Bean
2008-02-19 20:56                 ` Pavel Roskin
2008-02-20 21:32                   ` Yoshinori K. Okuji
2008-02-21  3:19                     ` Bean

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=1203343712.13621.6.camel@dv \
    --to=proski@gnu.org \
    --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.