Free space install (alongside exsisting data) Doesn't work alongside non-OS partitions
System details
Omarchy 4.0.0
What's wrong?
When a disk has some data partition, e.g. like here:
and someone tries to install Omarchy 4 alongside this partition, it will fail on "Creating Btrfs filesystem and subvolumes":
It doesn't create any partitions when fail happens, here's still that ntfs partition and ~79G of unallocated space:
If I'll create some dummy EFI partition (I created 256M EFI System partition in cfdisk and formatted it to FAT32 with mkfs.fat) it will actually work. The screenshot of me doing that and relaunching the script:
Now It installs successfully on that unallocated free space. Inside freshly installed Omarchy I end up with my dummy EFI without which it wouldn't have installed:
The dummy EFI was empty except for random-seed binary file. When I was doing this on other device with empty linux fs partition (instead of ntfs like here) that EFI was completely empty. When I deleted that dummy EFI partition Omarchy still booted normally.
Screenshot of EFI partition contents:
Inside the /var/log/omarchy-install.log there's nothing what's not on the first photo, the initial installation attempt that has failed ends at line 212, then I do that dummy EFI thing and all following 3000 lines is I guess just Omarchy successfully installing.
here's the file: omarchy-install.log
The 'free space install' feature is really nice thing, when I was trying to install Omarchy 3.8.4 following the old manual just days before 4.0 was released the installation script was failing, and this feature on Omarchy 4 is just what I needed. It's weird that it doesn't work when there's no other OS on a disk, only a data partition, I don't think it's intended, since it doesn't actually use the dummy EFI it currently looks for.
I didn't look at any dmesg which is mentioned in the error:
mount: /mnt/boot: fsconfig() failed: Can't find a SQUASHFS superblock on sda2.
dmesg(1) may have more information after failed mount system call.
mounting the ESP failed (exit 32)
I'm sure this can be reproduced on any device (I did that on two: a 10 years old laptop and a PC).
This issue is from this omarchy-help post on discord @ryanrhughes
Filed a root-cause writeup that looks related: #7867. Confirmed that the installer's free-space/alongside-existing-data path creates its own new ESP instead of using an existing one (reproduced on two separate installs), which is likely the same class of issue described here — plus a second, independent bug in omarchy-refresh-limine that silently drops any Windows boot entry on every run. Details and exact repro steps in #7867.
Filed by Claude (Sonnet 5) via Claude Code.
I think it's actually good that Omarchy always creates its own ESP instead of using Windows' or some other existing one. Because then I can remove or reinstall other OS without bricking Omarchy.
For me it resulted in the limine dual boot not triggering and the windows bootloader taking priority.
So after Omarchy install, I had to boot back into the installer USB, ctrl+c to CLI and manually configure limine in order to boot Omarchy.
Exactly the same issue on a Macbook Pro 16 (T2) with 2 data partitions (NTFS+EXFAT) at the end of the disk and no EFS partition
After adding a tiny 2MB dummy EFS partition and formatting at FAT and rebooting the installed worked ok
Can confirm this exact bug - MSI laptop. Attempting to install into 'free space' on a disk without a boot/EFI partition.
Confirming this on Omarchy 4 as well — Acer Nitro AN515-55, target disk is a data-only NTFS drive with no existing OS/ESP. Same exact error.
Workaround: pre-create an ESP on the target disk before running the installer.
Hit this on 4.0.3. Two NVMe disks, Windows on nvme0n1, target nvme1n1 holding a single 1.8 TB ReFS data partition plus 93 GB unallocated. Free space install failed at the same point every time:
mount: /mnt/efi: fsconfig() failed: Can't find a SQUASHFS superblock on nvme1n1p2.
mounting the ESP failed (exit 32)
Reproduced twice, including after a clean reboot. The btrfs filesystem and subvolumes were created fine each time, but the partitions the installer made were not committed to the on-disk table, so the disk came back clean with the original partition intact and partprobe found nothing.
Fix that worked: from Windows, diskpart on the target disk, then
create partition efi size=1024 and format quick fs=fat32. That leaves the
disk looking like the fixture in omarchy-iso's test-windows-disk (existing ESP
plus data partition plus unallocated space). The installer then completed in
1m29s, and GRUB came up with both Omarchy and Windows entries on first boot
despite Windows living on the other disk.
This suggests the installer requires an existing ESP on the target disk, which lines up with the original report that it looks for a dummy EFI partition it doesn't end up using. Worth either creating one when absent, or failing early with a clear message instead of attempting the mount.
I hit this on a real machine: existing data partition, free space, no ESP. Free space install failed in under a minute — nowhere near enough time to copy the ISO off USB 3.0. Same error: Can't find a SQUASHFS superblock / mounting the ESP failed (exit 32). After rollback the disk looked untouched.
Ephemeral environment using KVM and Ansible that reproduces it:
https://github.com/alefq/omarchy-repro
This is the same bug as #7263, which was reported two days earlier, so I'm closing this one as a duplicate of it. Both are a free-space install onto a disk with no FAT partition on it, both fail at mounting the ESP failed (exit 32) with Can't find a SQUASHFS superblock on the ESP the installer has just created, and both have the same cause and fix.
The cause is in the installer's configurator (omarchy-iso, quattro). It mounts the new ESP without a filesystem type (mount "$efi_dev", line 773). Detection fails, so mount falls back to the filesystem types the kernel already has loaded. On the live ISO, vfat is not among them until something mounts a FAT partition. When the target disk already has one, detect_windows_esp (line 396) mounts it and loads vfat. That is why the dummy EFI partition described above works around the bug. The fix is mount -t vfat, and it is up as omacom-io/omarchy-iso#111, which already says it fixes both this issue and #7263. Several people on that pull request report that it fixed their install.
I checked this by reading the installer source at quattro (595d38c). I did not run the installer, and nothing on quattro has changed this code since 4.0.0. Codex Medium reviewed the duplicate call separately. The fix is waiting on the maintainer to merge omacom-io/omarchy-iso#111. If you think these are two different bugs, say so and this can be reopened.