Bug#567590: debian-installer: GPT with RAID fails to install
I have a system containing two 2TB SATA drives which I have configured into a RAID1 and am using through LVM. When using the Debian 5.03 amd64 installer, I was unable to use the partitioner provided in the menus to install.
When the partitioner started, I created new partition tables on the otherwise empty drives. Because the drives are so large (2TB each), the installer wisely suggested that I use GPT rather than the traditional MBR partition table. I created a new GPT on each drive with a single partition (named "RAID1-0" and "RAID1-1" respectively).
I then chose to configure software RAID; this is the point at which things broke down. I received an error message indicating that there were no Linux RAID/Autodetect partitions available and that I should format one of my drives to create one. It is my suspicion that the check to ensure that RAID partitions exist is assuming an MBR-style partition table.
I ran an mdadm --create command from the secondary terminal and restarted the partitioner. When it rescanned the disks and discovered my RAID1 already in place, I was able to set up LVM without difficulty.
-- System Information:
Debian Release: 5.0.2
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash