From 7b213e74562ed7b86b7cd6e4e5516f243fa15835 Mon Sep 17 00:00:00 2001 From: Sandwich Date: Fri, 20 Feb 2026 04:50:32 +0100 Subject: [PATCH] fix(partitioning): create separate /boot for LVM-based filesystems VMware EFI firmware may not initialize all SCSI devices before GRUB runs, preventing LVM assembly when the root LV spans multiple disks. A separate /boot partition (the standard RHEL Anaconda layout) lets GRUB load kernels without LVM; the kernel initramfs handles LVM activation with proper device waiting. Co-Authored-By: Claude Opus 4.6 --- roles/partitioning/defaults/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/partitioning/defaults/main.yml b/roles/partitioning/defaults/main.yml index a1958cd..637706c 100644 --- a/roles/partitioning/defaults/main.yml +++ b/roles/partitioning/defaults/main.yml @@ -9,7 +9,10 @@ partitioning_boot_size_mib: 1024 partitioning_use_full_disk: true partitioning_separate_boot: >- {{ - (system_cfg.luks.enabled | bool) + ( + (system_cfg.luks.enabled | bool) + or (system_cfg.filesystem != 'btrfs') + ) and (os not in ['archlinux']) }} partitioning_boot_fs_fstype: >-