Getting an error when creating a snapshot
System details
Latitude E7470, Intel(R) Core(TM) i7-6600U, Omarchy 3.8.0 master
What's wrong?
When I try to create a snapshot, like using 'omarchy update' or 'omarchy snapshot create' command, this notification error appears. Adding it to the /boot/limine.conf cmdline option fixes the problem, but every time I update the config file resets.
edit /etc/limine-snapper-sync.conf and add it into
### Specify the path to your root snapshots. The default is "/@/.snapshots", which is used for the default Snapper layout.
### Note: The tool supports Snapper with any custom layout within the same filesystem, but not random Btrfs layouts without Snapper.
ROOT_SNAPSHOTS_PATH="/@/.snapshots"
@nightdevil00 already there
#!/bin/bash set -euo pipefail
echo "=== Fix 1: Bluetooth AutoEnable ===" if grep -q '^AutoEnable=false' /etc/bluetooth/main.conf 2>/dev/null; then sudo sed -i 's/^AutoEnable=false/AutoEnable=true/' /etc/bluetooth/main.conf sudo systemctl restart bluetooth echo " Bluetooth AutoEnable set to true, service restarted" else echo " Bluetooth already configured correctly" fi
echo "" echo "=== Fix 2: Snapper snapshots ==="
Ensure @snapshots subvolume is in fstab
if ! grep -q '@snapshots' /etc/fstab 2>/dev/null; then UUID=$(findmnt / -o UUID -n) if [[ -n $UUID ]]; then echo " Adding @snapshots to /etc/fstab" sudo bash -c "cat >> /etc/fstab << 'FSTAB' UUID=$UUID /.snapshots btrfs rw,noatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvol=/@snapshots 0 0 FSTAB" fi else echo " fstab entry already exists" fi
Mount @snapshots if not mounted
if ! findmnt /.snapshots &>/dev/null; then echo " Mounting /.snapshots" sudo mount /.snapshots fi
Create snapper config if missing
if ! sudo snapper list-configs 2>/dev/null | grep -q '^root'; then echo " Creating snapper root config" sudo snapper -c root create-config / fi
Apply omarchy-style limits
echo " Applying snapshot limits (5 max, no timeline)"
sudo snapper -c root set-config
NUMBER_LIMIT=5
NUMBER_LIMIT_IMPORTANT=5
TIMELINE_CREATE=no
SPACE_LIMIT=0
FREE_LIMIT=0
Disable BTRFS quotas (performance)
echo " Disabling BTRFS quotas" sudo btrfs quota disable / 2>/dev/null || true
Set ROOT_SNAPSHOTS_PATH for limine-snapper-sync
if ! grep -q 'ROOT_SNAPSHOTS_PATH' /etc/default/limine 2>/dev/null; then echo " Setting ROOT_SNAPSHOTS_PATH in /etc/default/limine" sudo sed -i '/^ESP_PATH/a ROOT_SNAPSHOTS_PATH="/@snapshots"' /etc/default/limine fi
Restart services
echo " Restarting services" sudo systemctl restart snapperd 2>/dev/null || true sudo systemctl restart limine-snapper-sync 2>/dev/null || true
Create a test snapshot
echo "" echo "=== Creating test snapshot ===" sudo snapper -c root create -c number -d "Post-fix verification" echo " Done! Snapshots:" sudo snapper -c root list
echo "" echo "=== All fixes applied ==="
The notification is limine-snapper-sync refusing to add snapshot boot entries because the kernel command line has no rootflags=subvol=…. Its message is "Missing 'rootflags=subvol=/@' in the kernel cmdline. Please add it." Your fix keeps getting reset because /boot/limine.conf is a generated file. limine-update rewrites it on every kernel or Limine update, and it builds the cmdline: lines from KERNEL_CMDLINE in /etc/default/limine plus the drop-ins in /etc/limine-entry-tool.d/. Any edit made to /boot/limine.conf itself is lost the next time it is regenerated.
To make it stick, put the parameter in /etc/default/limine. Either add it to the existing KERNEL_CMDLINE[default]+="…" line or add a line of its own (use your actual root subvolume, which findmnt -no FSROOT / prints):
KERNEL_CMDLINE[default]+=" rootflags=subvol=@"
Then run sudo limine-update && sudo limine-snapper-sync. ROOT_SNAPSHOTS_PATH in /etc/limine-snapper-sync.conf is a separate setting and does not supply this parameter. The script posted above that rewrites /etc/fstab and recreates the Snapper config goes well beyond this problem, and I would not run it.
What I checked: on a fresh worker built from the current Omarchy ISO (4.x, limine-snapper-sync 1.31.0), /etc/default/limine carries rootflags=subvol=@. omarchy-snapshot create succeeds, and so does the sync. With the parameter removed from both /etc/default/limine and the booted command line, the current limine-snapper-sync appends rootflags to the snapshot entries itself rather than failing. So I could not reproduce the error on current Omarchy. I also found no code path in 3.8.0 or in the current release that removes this parameter from a stock ISO install. The 3.8.0 installer copies the command line from the bootloader entry that the ISO's archinstall step wrote, and that entry includes rootflags. A config without it most likely came from somewhere other than the ISO, or was edited later. Codex Medium reviewed this independently and reached the same conclusion: it found no Omarchy defect to fix here.
Next step is yours. If this still happens on current Omarchy, please post the output of cat /proc/cmdline, sudo cat /etc/default/limine, ls /etc/limine-entry-tool.d/, sudo btrfs subvolume get-default /, pacman -Q limine-snapper-sync, and say whether this machine was installed from the Omarchy ISO or by running the install script on an existing Arch system.