So I recently set up Intel RST RAID on my Gigabyte z77‑d3h with UEFI firmware. The UEFI system recognizes the new RAID array instead of two disk and load bootx64.efi from the array.
The RAID array is a Windows/Linux dual‑boot system. I had no problem with Windows, as it simply recognized the RAID array instead of two disks (I didn’t had to reconfigure or install anything). The individual disks don't even show up in devmgmt.msc.
However, in Linux I have still /dev/sdaXX and /dev/sdbXX (where XX is the partition number). Only /dev/dm‑0 is created automatically by the kernel. But there aren’t sub block devices for partitions because dmraid knows nothing about gpt.
I tried to use software RAID. However, even for simple mirroring, mdadm require using metadata which won’t be understood by Windows®.
So how do I use an fake RAID array in Linux with GPT?