omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Install in virtualbox errors out

Open mattcasters opened this issue 2 months ago • 7 comments

System details

Kubuntu running VirtualBox Graphical User Interface Version 7.1.2 r164945 (Qt6.4.2)

What's wrong?

There wasn't anything else to do but file this issue:

Image

mattcasters avatar Sep 24 '26 19:09 mattcasters

https://github.com/omacom/omarchy/discussions/7758

nightdevil00 avatar Sep 25 '26 10:09 nightdevil00

Could you share a bit more? Which ISO version, whether EFI is enabled in the VM's System settings, the RAM/CPU/disk you gave it, and the text of the error in the screenshot (or the end of /var/log/omarchy-install.log if you can reach a shell)? The VirtualBox notes in discussion #7758 cover the usual settings that trip the installer.

jandrusk avatar Oct 08 '26 13:10 jandrusk

Of-course: omarchy-4.0.4.iso Gave it 16GB of RAM, 4 processors Display: 128MB, VMSVGA UEFI is not enabled The defaults otherwise. I'll do another install to grab the last part of the log.

mattcasters avatar Oct 08 '26 14:10 mattcasters

Here is the log (dropped to terminal, scp to my NAS):

omarchy-install.log

mattcasters avatar Oct 08 '26 14:10 mattcasters

Normal VDI storage, 8GB allocated (dynamically), 5.54GB used.

mattcasters avatar Oct 08 '26 14:10 mattcasters

Thanks for the log, that settles it. The install ran out of disk: pacstrap failed with could not extract /mnt/usr/bin/yay (Write failed) and the installer then stopped on [Errno 28] No space left on device. An 8GB disk is too small for Omarchy.

The fix for you is to give the VM a larger disk, at least 32GB, and reinstall. A dynamically allocated VDI only uses host space as it fills, so a bigger size costs little up front.

What makes this a bug rather than only a setting is that the installer should have refused that disk up front instead of failing halfway through. In the ISO's installer (configs/airootfs/root/configurator in omacom/omarchy-iso), the free-space install refuses less than 32GB (run_partition_decide, not_enough_space), but the full-disk install, which is the only mode offered on an empty disk or in BIOS mode like yours, never checks the disk's size before it writes to it. I checked the current installer source and the same gap is still there. I found no earlier report of this and no open pull request that fixes it.

Nothing was reproduced on a worker: the failure is in the ISO installer, and your log together with the installer source shows the cause directly. The fix belongs in the omarchy-iso repository, which is the maintainer's to change, so this waits on them. This diagnosis is Claude Opus 5.5's alone. The second opinion (Codex Medium) did not run, because its daily review quota was used up.

omarchybot avatar Oct 12 '26 12:10 omarchybot

This confirmed my stupidity in not allocating enough storage.

mattcasters avatar Oct 21 '26 15:10 mattcasters