The first phase follows exactly guidelines proposed in Bring CachyOS KDE Plasma 6.7.2 along with kernel 7.1.3 to Arch Linux
Second phase was developed in collaboration with Google AI Assistant.
Goals achieved in second phase:
1. Package Independence: Installing only btrfs-assistant and grub-btrfs completely bypasses the CachyOS configuration meta-packages, keeping Limine off.
2. Predictable mkinitcpio Execution: Cleaning the BOOTX64.EFI fallback slots before running mkinitcpio -P ensures that the subsequent grub-install execution writes a clean binary to an empty path. 3.Precise Target Identification:
Pointing --efi-directory directly to /boot accurately reflects 1 GB default FAT32 layout
$ sudo pacman -S --noconfirm btrfs-assistant grub-btrfs
$ sudo sed -i 's/^HOOKS=(.*/HOOKS=(systemd autodetect microcode modconf kms keyboard sd-vconsole block filesystems fsck)/' /etc/mkinitcpio.conf
### Clean up ######
$ sudo rm -f /boot/EFI/BOOT/BOOTX64.EFI
$ sudo rm -f /boot/EFI/BOOT/bootx64.efi
#################
$ sudo mkinitcpio -P
$ sudo grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub --recheck
$ sudo grub-install --target=x86_64-efi --efi-directory=/boot --removable --recheck ( required only in VENV )
$ sudo systemctl enable --now grub-btrfsd.service
$ sudo grub-mkconfig -o /boot/grub/grub.cfg