All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Gerards <mgerards@xs4all.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [grub2 newbie] Chainload grub-legacy from grub2
Date: Tue, 09 Jan 2007 21:06:40 +0100	[thread overview]
Message-ID: <87lkkcvub3.fsf@xs4all.nl> (raw)
In-Reply-To: <45A382F6.2010201@beamartyr.net> (Issac Goldstand's message of "Tue, 09 Jan 2007 13:56:38 +0200")

Issac Goldstand <margol@beamartyr.net> writes:

Hi,

>   I am trying to use grub2 to boot from an iso image.  The iso is for a
> live cd which in turn runs grub-legacy.  I've gotten the loopback
> figured out (awesome feature!!!) but can't get the old grub-legacy to boot.
>
> Currently, I do:
> loopback cd (hd0,1)/path/to/image.iso
> root=(cd)
> chainloader +1
>
> But I get
> error: invalid signuature.
>
> Am I missing something?

Yeah, loopback should be used to boot by loading from the filesystem.
So if it is a GNU/Linux CDROM you can just load the kernel.  But in
that case the distribution should also understand this feature somehow
and mount the loopback image as well.

The problems with chainloading is that this might work differently for
CDROMs.  One thing is that you have to read 2048 bytes instead of
512.  Besides that, the code in this sector is not enough to boot the
CDROM usually and the boot code will not find the CDROM, because it is
not in the CDROM drive.

So in your case this feature is not as useful as it seemed to be, I
think.

--
Marco




      reply	other threads:[~2007-01-09 19:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-09 11:56 [grub2 newbie] Chainload grub-legacy from grub2 Issac Goldstand
2007-01-09 20:06 ` Marco Gerards [this message]

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=87lkkcvub3.fsf@xs4all.nl \
    --to=mgerards@xs4all.nl \
    --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.