Creating an ISO that a macbook can boot from

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












1















Trying to repack an ISO with a preseed file to automate installation.



I have done this with a dozen laptops and works great. Until I ran into a macbook, where it does not work.



Originally repacking ISO with:



xorriso -as mkisofs 
-r -J -V "Stretch Repack"
-b isolinux/isolinux.bin
-c isolinux/boot.cat
-no-emul-boot
-boot-load-size 4
-partition_offset 16
-boot-info-table
-isohybrid-mbr "/usr/lib/ISOLINUX/isohdpfx.bin"
-o $DEST_ISO
.


The standard debian live image mentions EFI when I boot from it on the macbook (and works great also) so I figure there is some EFI related issue here, so I tried:



xorriso -as mkisofs 
-r -J -V "Stretch Repack"
-b isolinux/isolinux.bin
-c isolinux/boot.cat
-no-emul-boot
-boot-load-size 4
-partition_offset 16
-boot-info-table
-isohybrid-mbr "/usr/lib/ISOLINUX/isohdpfx.bin"
-e boot/grub/efi.img
-o $DEST_ISO
.


Same issue, macbook can't detect my usb drive with my repacked ISO.



So then I found a forum post:



https://forums.bunsenlabs.org/viewtopic.php?pid=64229#p64229



And adapted it slightly:



xorriso -as mkisofs 
-iso-level 3
-full-iso9660-filenames
-volid "Repack"
-eltorito-boot isolinux/isolinux.bin
-eltorito-catalog isolinux/boot.cat
-no-emul-boot -boot-load-size 4 -boot-info-table
-isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin
-eltorito-alt-boot
-e boot/grub/efi.img
-no-emul-boot -isohybrid-gpt-basdat
-o $DEST_ISO
.


However, now xorriso complains



Cannot find in ISO image: -boot_image ... bin_path='/isolinux/isolinux.bin'


What? Why is xorriso looking in / now? I clearly passed isolinux/isolinux.bin in my command, not /isolinux/isolinux.bin.










share|improve this question



















  • 1





    The Captcha test does not let me in. So as comment: Read paragraph 1 to 4 of wiki.debian.org/RepackBootableISO . This explains how to repack like the original amd64 or i386 ISOs. Your last try is quite near to that. But '/isolinux/isolinux.bin' is missing in the ISO. I.e. './isolinux/isolinux.bin' is missing in in your local filesystem.

    – Thomas Schmitt
    Jan 29 at 6:17
















1















Trying to repack an ISO with a preseed file to automate installation.



I have done this with a dozen laptops and works great. Until I ran into a macbook, where it does not work.



Originally repacking ISO with:



xorriso -as mkisofs 
-r -J -V "Stretch Repack"
-b isolinux/isolinux.bin
-c isolinux/boot.cat
-no-emul-boot
-boot-load-size 4
-partition_offset 16
-boot-info-table
-isohybrid-mbr "/usr/lib/ISOLINUX/isohdpfx.bin"
-o $DEST_ISO
.


The standard debian live image mentions EFI when I boot from it on the macbook (and works great also) so I figure there is some EFI related issue here, so I tried:



xorriso -as mkisofs 
-r -J -V "Stretch Repack"
-b isolinux/isolinux.bin
-c isolinux/boot.cat
-no-emul-boot
-boot-load-size 4
-partition_offset 16
-boot-info-table
-isohybrid-mbr "/usr/lib/ISOLINUX/isohdpfx.bin"
-e boot/grub/efi.img
-o $DEST_ISO
.


Same issue, macbook can't detect my usb drive with my repacked ISO.



So then I found a forum post:



https://forums.bunsenlabs.org/viewtopic.php?pid=64229#p64229



And adapted it slightly:



xorriso -as mkisofs 
-iso-level 3
-full-iso9660-filenames
-volid "Repack"
-eltorito-boot isolinux/isolinux.bin
-eltorito-catalog isolinux/boot.cat
-no-emul-boot -boot-load-size 4 -boot-info-table
-isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin
-eltorito-alt-boot
-e boot/grub/efi.img
-no-emul-boot -isohybrid-gpt-basdat
-o $DEST_ISO
.


However, now xorriso complains



Cannot find in ISO image: -boot_image ... bin_path='/isolinux/isolinux.bin'


What? Why is xorriso looking in / now? I clearly passed isolinux/isolinux.bin in my command, not /isolinux/isolinux.bin.










share|improve this question



















  • 1





    The Captcha test does not let me in. So as comment: Read paragraph 1 to 4 of wiki.debian.org/RepackBootableISO . This explains how to repack like the original amd64 or i386 ISOs. Your last try is quite near to that. But '/isolinux/isolinux.bin' is missing in the ISO. I.e. './isolinux/isolinux.bin' is missing in in your local filesystem.

    – Thomas Schmitt
    Jan 29 at 6:17














1












1








1








Trying to repack an ISO with a preseed file to automate installation.



I have done this with a dozen laptops and works great. Until I ran into a macbook, where it does not work.



Originally repacking ISO with:



xorriso -as mkisofs 
-r -J -V "Stretch Repack"
-b isolinux/isolinux.bin
-c isolinux/boot.cat
-no-emul-boot
-boot-load-size 4
-partition_offset 16
-boot-info-table
-isohybrid-mbr "/usr/lib/ISOLINUX/isohdpfx.bin"
-o $DEST_ISO
.


The standard debian live image mentions EFI when I boot from it on the macbook (and works great also) so I figure there is some EFI related issue here, so I tried:



xorriso -as mkisofs 
-r -J -V "Stretch Repack"
-b isolinux/isolinux.bin
-c isolinux/boot.cat
-no-emul-boot
-boot-load-size 4
-partition_offset 16
-boot-info-table
-isohybrid-mbr "/usr/lib/ISOLINUX/isohdpfx.bin"
-e boot/grub/efi.img
-o $DEST_ISO
.


Same issue, macbook can't detect my usb drive with my repacked ISO.



So then I found a forum post:



https://forums.bunsenlabs.org/viewtopic.php?pid=64229#p64229



And adapted it slightly:



xorriso -as mkisofs 
-iso-level 3
-full-iso9660-filenames
-volid "Repack"
-eltorito-boot isolinux/isolinux.bin
-eltorito-catalog isolinux/boot.cat
-no-emul-boot -boot-load-size 4 -boot-info-table
-isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin
-eltorito-alt-boot
-e boot/grub/efi.img
-no-emul-boot -isohybrid-gpt-basdat
-o $DEST_ISO
.


However, now xorriso complains



Cannot find in ISO image: -boot_image ... bin_path='/isolinux/isolinux.bin'


What? Why is xorriso looking in / now? I clearly passed isolinux/isolinux.bin in my command, not /isolinux/isolinux.bin.










share|improve this question
















Trying to repack an ISO with a preseed file to automate installation.



I have done this with a dozen laptops and works great. Until I ran into a macbook, where it does not work.



Originally repacking ISO with:



xorriso -as mkisofs 
-r -J -V "Stretch Repack"
-b isolinux/isolinux.bin
-c isolinux/boot.cat
-no-emul-boot
-boot-load-size 4
-partition_offset 16
-boot-info-table
-isohybrid-mbr "/usr/lib/ISOLINUX/isohdpfx.bin"
-o $DEST_ISO
.


The standard debian live image mentions EFI when I boot from it on the macbook (and works great also) so I figure there is some EFI related issue here, so I tried:



xorriso -as mkisofs 
-r -J -V "Stretch Repack"
-b isolinux/isolinux.bin
-c isolinux/boot.cat
-no-emul-boot
-boot-load-size 4
-partition_offset 16
-boot-info-table
-isohybrid-mbr "/usr/lib/ISOLINUX/isohdpfx.bin"
-e boot/grub/efi.img
-o $DEST_ISO
.


Same issue, macbook can't detect my usb drive with my repacked ISO.



So then I found a forum post:



https://forums.bunsenlabs.org/viewtopic.php?pid=64229#p64229



And adapted it slightly:



xorriso -as mkisofs 
-iso-level 3
-full-iso9660-filenames
-volid "Repack"
-eltorito-boot isolinux/isolinux.bin
-eltorito-catalog isolinux/boot.cat
-no-emul-boot -boot-load-size 4 -boot-info-table
-isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin
-eltorito-alt-boot
-e boot/grub/efi.img
-no-emul-boot -isohybrid-gpt-basdat
-o $DEST_ISO
.


However, now xorriso complains



Cannot find in ISO image: -boot_image ... bin_path='/isolinux/isolinux.bin'


What? Why is xorriso looking in / now? I clearly passed isolinux/isolinux.bin in my command, not /isolinux/isolinux.bin.







debian system-installation uefi iso






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 28 at 21:47









Rui F Ribeiro

40.3k1479136




40.3k1479136










asked Jan 28 at 21:31









cat pantscat pants

1653826




1653826







  • 1





    The Captcha test does not let me in. So as comment: Read paragraph 1 to 4 of wiki.debian.org/RepackBootableISO . This explains how to repack like the original amd64 or i386 ISOs. Your last try is quite near to that. But '/isolinux/isolinux.bin' is missing in the ISO. I.e. './isolinux/isolinux.bin' is missing in in your local filesystem.

    – Thomas Schmitt
    Jan 29 at 6:17













  • 1





    The Captcha test does not let me in. So as comment: Read paragraph 1 to 4 of wiki.debian.org/RepackBootableISO . This explains how to repack like the original amd64 or i386 ISOs. Your last try is quite near to that. But '/isolinux/isolinux.bin' is missing in the ISO. I.e. './isolinux/isolinux.bin' is missing in in your local filesystem.

    – Thomas Schmitt
    Jan 29 at 6:17








1




1





The Captcha test does not let me in. So as comment: Read paragraph 1 to 4 of wiki.debian.org/RepackBootableISO . This explains how to repack like the original amd64 or i386 ISOs. Your last try is quite near to that. But '/isolinux/isolinux.bin' is missing in the ISO. I.e. './isolinux/isolinux.bin' is missing in in your local filesystem.

– Thomas Schmitt
Jan 29 at 6:17






The Captcha test does not let me in. So as comment: Read paragraph 1 to 4 of wiki.debian.org/RepackBootableISO . This explains how to repack like the original amd64 or i386 ISOs. Your last try is quite near to that. But '/isolinux/isolinux.bin' is missing in the ISO. I.e. './isolinux/isolinux.bin' is missing in in your local filesystem.

– Thomas Schmitt
Jan 29 at 6:17











0






active

oldest

votes











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f497295%2fcreating-an-iso-that-a-macbook-can-boot-from%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f497295%2fcreating-an-iso-that-a-macbook-can-boot-from%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?