Quattro 4.5 Mac install fails trying to repartition disk
System details
Apple M3 Max Tahoe 26.7.2
What's wrong?
Downloaded the "Install Omarchy" DMG, dragged it to Applications. Ran it, and the installation UI defaults to a ~130GB recommended size. I have ~400GB free. Tried the installer, and it fails with the message:
engineFailed(engineFailed(reason: unclassified, exit: 1, diskUnchanged: false, summary: "subprocess.CalledProcessError: Command '['diskutil', 'apfs', 'resizeContainer', 'disk0s2', '857223630848']' returned non-zero exit status 1."))
It looks like it's trying to resize to 857GB, not 130GB, and it fails when it's unable to do that.
Experiencing the same issue on an M1 MBP.
engineFailed(engineFailed(reason: unclassified, exit: 1, diskUnchanged: false, summary: "subprocess.CalledProcessError: Command '['diskutil', 'apfs', 'resizeContainer', 'disk0s2', '394385248256']' returned non-zero exit status 1."))
The installer engine stopped with an error The installer couldn’t confirm whether disk changes started. engineFailed(engineFailed(reason: unclassified, exit: 1, diskUnchanged: false, summary: "subprocess.CalledProcessError: Command '['diskutil', 'apfs', 'resizeContainer', 'disk0s2', '394385248256']' returned non-zero exit status 1.")) Started preparing disk space
Same failure here on an M1 Pro MacBook Pro (MacBookPro18,2, apple,j316c), macOS 15.7.4 → 15.8.2, engine v0.9.2-omarchy.20261022.31425f17fb9b. I dug into it and I think I found the underlying cause of the resizeContainer failure, plus a second bug that makes retries impossible.
1. resizeContainer fails because diskutil's pre-resize fsck finds APFS corruption
The engine's saved diagnostics (/var/db/org.omarchy.installer/diagnostics/engine-failure-*.log) show the actual diskutil error, which the UI summary hides:
summary: subprocess.CalledProcessError: Command '['diskutil', 'apfs', 'resizeContainer', 'disk0s2', '738663239680']' returned non-zero exit status 1.
--- engine stderr (redacted tail) ---
Error: -69716: Storage system verify or repair failed
diskutil apfs resizeContainer verifies the container before resizing and aborts if the check fails. Running the same check by hand (diskutil verifyVolume disk3, read-only) shows an error on the Data volume:
Checking volume /dev/rdisk3s5
...
error: directory valence check: directory (oid 0x3): nchildren (91) does not match drec count (88)
The volume /dev/rdisk3s5 with UUID ... was found to be corrupt and needs to be repaired
...
Storage system check exit code is 8
Error: -69716: Storage system verify or repair failed
So this isn't a sizing problem: free space and resizeContainer limits were fine. I requested 128 GB, 128 GiB and 256 GB on three attempts, and all three failed the same way. The fix should be running Disk Utility First Aid on the Data volume from Recovery. I'll report back once I've done that.
For anyone else hitting this: check your engine-failure log for -69716, or run diskutil verifyVolume disk3 (use your container's identifier). If it reports corruption, run First Aid before retrying.
Suggestion: run a verify (or parse -69716) during preflight, before writing apfs_preparation_started, and show "run First Aid from Recovery" instead of reason: unclassified.
2. After one failed resize, every retry is permanently blocked with AmbiguousMutationState
Each later run fails immediately with:
omarchy_stage1.AmbiguousMutationState: apfs_preparation_started has no completion checkpoint
The execution journals in /var/db/org.omarchy.installer/execution-journals/ each end with only the intent event:
{"payload":{"name":"apfs_preparation_started","plan_digest":"..."},"schema_version":1,"sequence":4,"type":"event"}
and the matching .performance.jsonl shows {"outcome": "failed", "phase": "prepare_target", ...}.
But the disk is provably unchanged: the container is still the full 994.7 GB and the partition table is untouched. diskutil failed in its verify step before it moved any data. Because validate_stage1_resume treats any started-without-checkpoint stage as ambiguous, a clean CalledProcessError from the verify step leaves the user stuck with no in-app way to recover. (The UI also says diskUnchanged: false, which is misleading here.)
Suggestion: when prepare_target fails and the partition table and container size still match the plan's inventory, record a "not mutated" outcome or retire the journal, instead of leaving a dangling intent event. At minimum, offer a supported "reset" path in the UI, or document which journal is safe to retire.
Happy to provide the full diagnostics logs if useful.
Follow-up: fixed, the install now gets past disk preparation. Confirmed that the APFS corruption was the cause. Here's what it took, for anyone else hitting resizeContainer ... returned non-zero exit status 1 / -69716:
Disk Utility First Aid was not enough. Running it from Recovery reported success, but diskutil verifyVolume disk3 back in macOS still showed the same directory valence check: directory (oid 0x3) error on the Data volume (still off by exactly 3).
What actually fixed it (Recovery → Utilities → Terminal):
diskutil list # find your container + Data volume IDs (mine: disk3 / disk3s5)
diskutil unmountDisk disk3 # fsck refuses "live repair" while any volume in the container is mounted
diskutil apfs unlockVolume disk3s5 -nomount # FileVault: unlock without mounting
fsck_apfs -y /dev/rdisk3 # repair the whole CONTAINER, not the volume
Running fsck_apfs -y on the volume alone (/dev/rdisk3s5) reproduced the error but wouldn't repair it: "Unable to perform deferred repairs without full space verification. Try running fsck against the entire APFS container instead of a volume." The container-level run fixed it. After rebooting, diskutil verifyVolume disk3 reported every volume OK with exit code 0.
Then clear the stuck journals. After the failed attempts, every retry hit AmbiguousMutationState: apfs_preparation_started has no completion checkpoint (bug #2 from my previous comment). I moved the stale journals out of /var/db/org.omarchy.installer/execution-journals/ (moved, not deleted), relaunched the installer, and the install went through.
So, to sum up for maintainers:
- A preflight
diskutil verifyVolume(or mapping-69716to a "repair your disk" message) would have saved a lot of time. The current UI only showsreason: unclassified. - A clean verify failure in
prepare_targetshouldn't leave a journal that blocks all future attempts.
GPT-6 High in Codex read the report and all follow-ups. The resize failure and the reported retry block have not been reproduced or verified in this review. Classification remains unsettled: I classified this as a bug, but the configured second classifier returned no answer. This is waiting for maintainer review; no fix has been verified.
Thanks @swalker326, that diagnosis is right. There are two separate problems here:
resizeContainerexits 1 because diskutil's pre-resize verify fails (-69716: Storage system verify or repair failed). The UI only showsunclassified; the real error is in/var/db/org.omarchy.installer/diagnostics/engine-failure-*.log. What fixes it is the container-levelfsck_apfs -yfrom Recovery in this comment. Disk Utility First Aid isn't enough. The installer should catch this before it starts and tell you to repair the disk.- After that failure, every retry stops at
AmbiguousMutationState: apfs_preparation_started has no completion checkpoint, even though the disk wasn't changed. That's tracked in omacom/omarchy-mac-installer#199 and omacom/omarchy-mac-installer#210.
@jbnunn @anortiz08, if you're still blocked:
- Check the engine-failure log for
-69716. If it's there, rundiskutil verifyVolume <your macOS container>(fromdiskutil list). If that reports corruption, repair it with the Recovery steps linked above. - Before you touch the execution journals, post
diskutil list internalanddiskutil apfs listin omacom/omarchy-mac-installer#199, so we can confirm the disk wasn't changed.
The original M3 Max report includes the failed command and exit status, but not the underlying diskutil error. That is still needed to establish whether it matches the verification failure reported by @swalker326.
@jbnunn @anortiz08, please share the installer version and the diskutil output immediately before the exception in the saved engine-failure-*.log. For the retry block, add the disk-layout outputs requested by @maralcbr to installer issue #199 before changing execution journals. Installer issue #210 reports a container that shrank while its physical-store partition stayed the same size, so the partition size alone cannot establish that nothing changed.
GPT-6 in Codex reviewed this report, the new maintainer response and those linked reports; the session's reasoning effort was not exposed. This was the only diagnostic review. No Apple/APFS reproduction was run or fix verified. This is waiting for the reporters' diagnostics.