I am following the official arch Linux installation guide, and veering off to the RAID installation guide when instructed to setup my raid array with mdadm. I am using 2 2TB nvme drives. My motherboard comes with intel rapid storage technology, which I have used before to facilitate software raid in windows, not sure if that should be enabled for this or not.
The first step in partitioning is two wipe the drives and partition the free space with the type “Linux Raid”. After this I can run fdisk -l and see both drives listed as functional.
After this, I run # mdadm --create --verbose --level=0 --metadata=1.2 --raid-devices=2 /dev/md0 /dev/nvme0n1 /dev/nvme1n1
If I run fdisk -l again, nvme0n1 says “The primary GPT table is corrupt, but the backup appears ok.” I am able to continue with formatting the newly created array “/dev/md0” for arch install, and complete the installation, but after installing grub and rebooting, my motherboard screen says “GPT header corruption has been detected, please check SATA mode setting in BIOS Setup, or you can use Boot Sector Recovery item under Boot Configuration page to recovery GPT header”. Following this, the only bootable drive is the arch installer.
I have tried using Gdisk to repair the partition, but this does not work.
If I stop mdadm and remove the array, fdisk -l shows that “nvme0n1” no longer has a corrupt primary GPT table”
Any thoughts on how to successfully complete this installation?