#796056 d-i lets the user run into an impossible situation

#796056#5
Date:
2015-08-18 21:59:46 UTC
From:
To:
Hi,

I was trying to install a virtual machine with a RAID1 for testing
purposes. The setup included two disk files, one representing each disk,
vda and vdb in my case, which are each partitioned into a small part for
/boot and one for the rest. From /dev/vda1 and /dev/vdb1, I create
/dev/md0 which ends up as /boot, and then I use /dev/vda2 and /dev/vdb2
to create /dev/md1, which is used for encryption. The encrypted
partition then holds an LVM volume group with the individual partitions.

Because I recently ran into problems booting machines with large disks,
I made the virtual disks to have GPT partitions. Then, after installing,
I wanted to also install Grub, but it failed, claiming that it can't
install into a RAID when the disks have a GPT partition. I discussed
the problem together with KiBi, and we concluded that if the complaint
of grub is valid, the probably best way to go about this problem is
probably to ask the user when he selects RAID and GPT partition tables,
whether he is sure that he wants to install Grub later, because then
this combination will not work.

On a side note, I have no idea on how to install modern machines with
big disks, MD raid and Grub, because larger disks appear to require GPT
partition tables and will not boot otherwise, acording to my experience.


Cheers,
--Toni++