On Fri, 22 Aug 2025, Qingwei Zhang via linux wrote:
> HI Robert,
>
> Thank you for the follow-up. That's a great question.
>
> The solution you found on Reddit is excellent and will work. Both methods achieve the same goal: creating a proper hybrid-bootable ISO. The difference is only in the approach.
>
> The Reddit method uses a single, complex command to copy the required boot data directly from the original ISO during the build process.
>
> My method is more explicit: it first extracts that same boot data into separate files, and then uses those files to build the new ISO.
>
> The "extra steps" are just a different way of providing xorriso with the same essential information. Either method will produce the bootable USB drive you need.
>
> Best regards,
> Qingwei
So the solution that's been working for me for the last day is:
$ xorriso \
-indev ubuntu-24.04.3-live-server-amd64.iso \
-outdev custom.iso \
-map autoinstall.yaml /autoinstall.yaml \
-boot_image any replay
Apparently, that last line is what simply copies over from the
original ISO image everything that relates to keeping it bootable.
rday
To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
To visit the archives: https://lists.linux-ottawa.org