Skip to content

Ensure we can remove El Torito from a Windows 11 ISO. - #176

Merged
clalancette merged 1 commit into
masterfrom
clalancette/fix-rm-eltorito
Jul 31, 2026
Merged

Ensure we can remove El Torito from a Windows 11 ISO.#176
clalancette merged 1 commit into
masterfrom
clalancette/fix-rm-eltorito

Conversation

@clalancette

Copy link
Copy Markdown
Owner

The problem was that the El Torito boot catalog on the Windows 11 ISO did not have any records attached. While this violates the standard, it is a relatively common situation, so we attach a "fake" directory record so that the ISO is conformant.

But we forgot to propogate that fix through to rm_eltorito, so if you try to remove El Torito on such an ISO, you can an exception rather than successful removal. The fix is to skip this fake record on such ISOs.

This fixes #175

The problem was that the El Torito boot catalog on the
Windows 11 ISO did not have any records attached.  While
this violates the standard, it is a relatively common
situation, so we attach a "fake" directory record so that
the ISO is conformant.

But we forgot to propogate that fix through to rm_eltorito,
so if you try to remove El Torito on such an ISO, you can
an exception rather than successful removal.  The fix is
to skip this fake record on such ISOs.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
@clalancette
clalancette merged commit 94c953f into master Jul 31, 2026
5 checks passed
@clalancette
clalancette deleted the clalancette/fix-rm-eltorito branch July 31, 2026 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rm_eltorito() fails on imported Microsoft Windows ISO

1 participant