Hi,

> I think that, at this point, it would be useful to take one step back.
> Namely, I have this fact: Porteus Kiosk has no Apple partition map and no
> hfsplus, and boots on all machines (including the 2007 Mac) both as USB
> flash drive and as a CD.

Do the Debian amd64 or i386 netinst ISOs boot.
They have APM but no HFS+. :))

It should be possible to prevent HFS+ by adding xorriso arguments.
In this case the separator string "--" to end the parameter list of
xorriso command -as "mkisofs", and the xorriso command -hfsplus "off".
(The -as "mkisofs" emulation command has no option to disable it after
 it was set. But command -hfsplus can do.)

If 
  
https://www.gnu.org/software/grub/manual/html_node/Invoking-grub_002dmkrescue.html
is still (or again) valid, then this should work:

  grub-mkrescue ...grub-mkrescue.options... -- -hfsplus off


For a while, the first "--" was consumed by grub-mkrescue as of git.
The symptom would be
  xorriso : FAILURE : Cannot determine attributes of source file '.../off' : No 
such file or directory
In that case use one "--" more.

See man xorrisofs for -as "mkisofs" options and
man xorriso for xorriso commands (among them -as).


> So, what's the use case for hfsplus on x86? Maybe
> we should remove it from the default layout created by grub-mkrescue?

Interesting question. Vladimir told me that there were Macs
which need HFS+ and blessings to find GRUB2. Young enough for x86
but too old for GPT.


Have anice day :)

Thomas


_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to