Comment 72 for bug 569900

Revision history for this message
Ky Weichel (kweichel) wrote : Re: mount: mounting /dev/md0 on /root/ failed: Invalid argument

The bug is in the installer's partitioner, NOT in mdadm. As previously stated, the partitions are being created by the installer with an end cylinder number that is one greater than the actual end of the disk.

All you have to do is create your _partitions_ somewhere other than the Ubuntu Server Installer. You can use a GParted disc, boot to your favourite Live CD and fdisk them, or whatever is easiest for you. Just make sure you set their type to Linux Raid Autodetect (that's type "FD" in fdisk).

That way you can even make them take up your whole disk and you don't have to waste 100MB of space.

You can then fire up the Ubuntu Server Installer and create your RAID sets on the partitions you made elsewhere.