This short howto explains the steps needed to create Linux Software RAID partitions during install.
Note: This guide assumes you ONLY want Linux to be installed when you're finished! It assumes you are starting with two blank disks.
You should have two identical hard drives hooked up to your system. It doesn't matter whether they are IDE, SCSI or SATA as long as the Mandrake installer can see them.
Boot from your normal boot media and follow the install until you get to the disk partitioning screen.
You should see both of your disks, as shown. This walkthrough was performed with two Virtual disks in VirtualBox, so they don't already have any partitions on them.
Here we've created a 20000 MB "Primary" partition on each disk, starting at sector #1. We've then used the remaining space on each disk for swap, although we'll RAID-1 mirror that as well.
Once you create the 4 partitions, as type "Linux RAID (0xfd)" you'll see a new button "Add To RAID" when you click on the partitions.
You'll get a warning at this point about not having a /boot partition. This warning is not valid for RAID-1 mirrored partitions. (It's valid for RAID-0 striping where you have to have a separate /boot on one of the drives).
You should end up looking at this:
After setting your RAID up, you can now proceed to format them and continue to the rest of the install
Updated: 17th March 2009. Copyright © Mark Watts 2009
This work is licensed under a Creative Commons License.