diff --git a/overlay/usr/local/bin/veilor-installer b/overlay/usr/local/bin/veilor-installer index dfa665a..6a0d9aa 100644 --- a/overlay/usr/local/bin/veilor-installer +++ b/overlay/usr/local/bin/veilor-installer @@ -314,14 +314,19 @@ user --name=admin --groups=wheel --gecos="veilor admin" --password=__ADMIN_PW__ # --location=none: anaconda auto-places bootloader (UEFI grub2-efi or BIOS). bootloader --location=none --append="lockdown=integrity slab_nomerge init_on_alloc=1 init_on_free=1 randomize_kstack_offset=on vsyscall=none" -# Disk: zero, LUKS2 (argon2id), btrfs subvolumes +# Disk: zero, LUKS2 (argon2id), btrfs subvolumes (no LVM intermediary). +# Native btrfs-on-LUKS matches Fedora KDE Spin defaults; LVM+btrfs combo +# triggered "mount failed: wrong fs type, bad option, bad superblock" +# under anaconda --cmdline. btrfs subvols give us the snapshot/rollback +# story without LVM's added complexity. zerombr clearpart --all --initlabel --drives=__DISK_BASENAME__ part /boot/efi --fstype=efi --size=600 part /boot --fstype=ext4 --size=1024 -part pv.veilor --grow --encrypted --luks-version=luks2 --pbkdf=argon2id --passphrase=__LUKS_PW__ -volgroup veilor pv.veilor -logvol / --vgname=veilor --name=root --fstype=btrfs --size=8192 --grow +part btrfs.veilor --grow --encrypted --luks-version=luks2 --pbkdf=argon2id --passphrase=__LUKS_PW__ +btrfs none --label=veilor btrfs.veilor +btrfs / --subvol --name=root LABEL=veilor +btrfs /home --subvol --name=home LABEL=veilor # ── Packages — mirrors live ks (kickstart/veilor-os.ks 63-141), minus # live-only entries (livesys-scripts, anaconda-live, @anaconda-tools,