After you've created two or more linux raid autodetect partitions, you can create a RAID device that uses them by running the mdadm command:
# mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/hda2 /dev/hdb1 # mke2fs -j /dev/md0
commandsdebianfilesystemmdadmmke2fspartitionsraid