All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Thomas Schmitt" <scdbackup@gmx.net>
To: bug-xorriso@gnu.org
Cc: grub-devel@gnu.org
Subject: Re: grub-mkrescue does not boot on older Macs as USBstick
Date: Wed, 23 Dec 2015 00:36:24 +0100	[thread overview]
Message-ID: <884658490605243844@scdbackup.webframe.org> (raw)
In-Reply-To: <5679B5C6.7090508@gmail.com>

Hi,

Alexander E. Patrakov wrote:
> The first thought, though, is related to the fact that the Porteus Kiosk
> image uses partitions aligned to 1 MB. It may be a good idea to force this
> on grub-mkrescue command line and test-boot the result.

That would be xorriso -as mkisofs options

  -partition_cyl_align on -partition_hd_cyl 64 -partition_sec_hd 32


Did you note the embedded configuration snippet at the end of
the file /EFI/BOOT/bootx64.efi in the Porteus EFI partition ?

  search --file --set=root /docs/kiosk.sgn
  set prefix=($root)/boot/isolinux/efi

(One should not get confused by the directory name "isolinux".)

Your "minimal.iso" does not have such strings in its bootx64.efi
or bootia32.efi.

In bootia32.efi of debian-8.2.0-i386-netinst.iso :

  search --file --set=root /.disk/info
  set prefix=($root)/boot/grub
  source $prefix/i386-efi/grub.cfg

In bootx64.efi of debian-8.1.0-amd64-netinst.iso :

  search --file --set=root /.disk/info
  set prefix=($root)/boot/grub
  source $prefix/x86_64-efi/grub.cfg

They all search for files in the ISO, not in the EFI partition.
I understand Debian hops onto the ISO's GRUB2 config for menu display.
(Does Porteus just boot a kernel without further menu ?)


Have a nice day :)

Thomas



      reply	other threads:[~2015-12-22 23:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-22 20:02 grub-mkrescue does not boot on older Macs as USB stick Andrei Borzenkov
2015-12-22 20:42 ` [Bug-xorriso] " Alexander E. Patrakov
2015-12-22 23:36   ` Thomas Schmitt [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=884658490605243844@scdbackup.webframe.org \
    --to=scdbackup@gmx.net \
    --cc=bug-xorriso@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.