All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Thomas Schmitt" <scdbackup@gmx.net>
To: grub-devel@gnu.org
Subject: Re: Does grub-mkrescue support UEFI hybrid USB/DVD images?
Date: Fri, 23 Jan 2015 19:27:46 +0100	[thread overview]
Message-ID: <29261543668638987559@scdbackup.webframe.org> (raw)
In-Reply-To: <20150123205839.1af3ce51@opensuse.site>

Hi,

Andrei Borzenkov wrote:
> Not eltorito, but normal ESP.

That's somewhat appeasing.


> returning (hd0,gpt2) would also be wrong here - ESP on CD image is
> empty, we need to somehow jump from ESP to full ISO image.

One could allow nested partitions and put whole-ISO partitions
into the various tables. Debian "amd64" ISOs do it that way.
They boot on BIOS via ISOLINUX and on EFI via GRUB2.

  MBR partition table:   N Status  Type        Start       Blocks
  MBR partition      :   1   0x80  0x00            0       454656
  MBR partition      :   2   0x00  0xef         3440          896
  MBR partition path :   2  /boot/grub/efi.img
  ...
  GPT partname local :   1  ISOHybrid
  ...
  GPT start and size :   1  0  454600
  ...
  GPT partname local :   2  ISOHybrid1
  ...
  GPT start and size :   2  3440  896
  GPT partition path :   2  /boot/grub/efi.img

MBR partition 1 and GPT partition 1 cover the whole ISO.
Partitions 2 mark the ESP.

But Vladimir is clearly opposed to nested or overlapping
partitions. And all partition editors seem to join his opinion.


Have a nice day :)

Thomas



  reply	other threads:[~2015-01-23 18:29 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-22 21:25 Does grub-mkrescue support UEFI hybrid USB/DVD images? Kris Moore
2015-01-22 22:15 ` Vladimir 'φ-coder/phcoder' Serbinenko
2015-01-23  9:40   ` Andrei Borzenkov
2015-01-23  9:45     ` Vladimir 'φ-coder/phcoder' Serbinenko
2015-01-23 10:10       ` Andrei Borzenkov
2015-01-23 10:14       ` Thomas Schmitt
2015-01-23 14:40         ` Kris Moore
2015-01-23 16:18           ` Thomas Schmitt
2015-01-23 17:58       ` Andrei Borzenkov
2015-01-23 18:27         ` Thomas Schmitt [this message]
2015-01-23 18:29         ` Vladimir 'φ-coder/phcoder' Serbinenko
2015-01-23 18:38           ` Andrei Borzenkov
2015-01-23 19:03             ` Andrei Borzenkov
2015-01-24  0:12 ` adrian15
2015-01-25  8:03   ` adrian15
2015-01-25  8:15     ` adrian15
2015-01-25 10:51       ` adrian15

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=29261543668638987559@scdbackup.webframe.org \
    --to=scdbackup@gmx.net \
    --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.