Is building the ISO supposed to be a straightforward process?

I’m using qubes-builderv2 on Fedora 41 to build Qubes 4.2 and I’ve been running into so many errors. I fix one error and another one comes up.

I want to say I followed the instructions at GitHub - fepitre/qubes-builderv2: Next generation of Qubes OS builder properly but it is possible I did something incorrectly. I copied example-configs/qubes-os-r4.2.yml to builder.yml, edited the file to use the docker executor, and followed the commands in the instructions.

Have any of you successfully built the ISO with qubes-builderv2 without a lot of problems? I wonder if I’m having a lot of trouble because of the Fedora version I’m using.

2 Likes

I was able to build the ISO. It helped me figure out why the installer freezes on boot on my Thinkpad T490.

If you try to solve problems as they come up, maybe 6 fixes later, the ISO does build successfully. I didn’t document them since I didn’t know if I would be successful at the end.

After swapping the kernel to the old one (6.1), it consistently freezes at the message:

xen_acpi_processor: Uploading Xen processor PM info

Searching for that helped me find the fix at Qubes 4.2 rc4 Install Fails at "xen_acpi_processor: Uploading Xen processor PM info" · Issue #8635 · QubesOS/qubes-issues · GitHub

With the kernel that comes with the 4.2 ISO (6.6), the freeze would happen at different messages after seeing “Uploading Xen processor PM info”. That made it hard to tell what was causing the installer boot to freeze.

Here is an example of where it would freeze if I didn’t apply the fix:

1 Like

It turns out I was using the wrong qubes-builderv2. It looks like if you search Google for qubes builder v2, it shows the version linked above rather than the newer and official repository which is

2 Likes