Skip to content

Conversation

@emunn13
Copy link
Contributor

@emunn13 emunn13 commented Jan 19, 2026

@emunn13 emunn13 requested a review from qdzlug January 19, 2026 22:22
@sudomateo sudomateo self-requested a review January 19, 2026 22:54
Copy link
Contributor

@sudomateo sudomateo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this! I left some non-blocking comments and suggestions to, hopefully, make the wording more concise without losing the meaning. Let me know what you think!

README.adoc Outdated
To validate your Windows ISO, check the `VolumeId` using `7z`:

```bash
7z l your-windows.iso | grep "VolumeId:"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the grep return anything in the happy path that the user should look out for? You mention the things that occur in the error path but perhaps it's worth showing the user the happy path as well.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could consider something like the following too, although I'm not always partial to multiple invocations in the same code block.

# Correct!
$ 7z l your-windows.iso | grep "VolumeId:"
VolumeId: Happy Path

# Incorrect.
$ 7z l your-windows.iso | grep "VolumeId:"
VolumeId: FOD

# Incorrect.
$ 7z l your-windows.iso | grep "VolumeId:"
VolumeId: LP

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for the review and suggestions. I tried to address the happy/error path examples in the new commit (a589bc1). Looking forward to hearing how it looks

Copy link
Contributor

@sudomateo sudomateo Jan 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those changes look good! I pushed e604cdf based on @qdzlug's feedback. I don't have the Wi-Fi bandwidth to download the Windows ISOs and test this setup myself. Could you run the updated commands and let me know if they work correctly? If not, we can revert to the LogicalVolumeId method. I used an AI agent to discuss this a bit in https://ampcode.com/threads/T-019bdd33-c2b3-73e5-a383-a78a94dcde5f.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this @sudomateo

Tested the commands on full installer and FOD iso, and they worked:

# Full installer iso - files exist
$ 7z l windows.iso | grep -E 'sources/(boot|install)\.(wim|esd)'
2022-03-03 04:39:06 .....    414658108    414658560  sources/boot.wim
2022-03-03 04:39:48 .....   4340202461   4340203520  sources/install.wim

# FOD iso - files don't exist
$ 7z l win-fod.iso | grep -E 'sources/(boot|install)\.(wim|esd)'

emunn13 and others added 2 commits January 19, 2026 16:34
Copy link
Contributor

@sudomateo sudomateo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking great! Just some nitpick suggestions and a question.

README.adoc Outdated
LogicalVolumeId: SERVER_FOD_LP_X64FRE_MULTI_DV9
```

A valid ISO usually contains `FRE` as the primary descriptor, and should not contain strings that indicate supplemental content, such as `FOD` or `LP`. If you see `FOD` or `LP` in the `VolumeId`, it means you downloaded the wrong ISO. This is not bootable and image build script will fail.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why usually? Would an invalid image contain FRE?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I looked at the code snippet again and both the good and bad image have FRE in it. Do we need to further clarify or perhaps just be explicit that the negative cases to watch out for are those with FOD or LP.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to word it but I think I couldn't be clear. A valid (full installer) iso has FRE in it, but without FOD or LP. Language pack iso also has FRE but has additional descriptor (LP or FOD) in its volume id. So we do want only FRE - we don't want additional FOD or LP.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With #28 (comment) this discussion may be moot. Waiting on confirmation there.

@qdzlug
Copy link
Contributor

qdzlug commented Jan 20, 2026 via email

emunn13 and others added 2 commits January 20, 2026 10:05
Co-authored-by: Matthew Sanabria <matthew@sanabria.email>
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.

4 participants