content_image/811574.jpg content_image/811575.jpg
## Warning 

This type of automated partitioning is easy to get wrong. It is also functionality that receives relatively little testing from the developers of debian-installer . The responsibility to get the various recipes right (so they make sense and don’t conflict) lies with the user. Check /var/log/syslog if you run into problems. 

# The method should be set to "raid". #d-i partman-auto/method string raid # Specify the disks to be partitioned. They will all get the same layout, # so this will only work if the disks are the same size. #d-i partman-auto/disk string /dev/sda /dev/sdb 

# Next you need to specify the physical partitions that will be used. 

<img src='content_image/811574.jpg'>

# Last you need to specify how the previously defined partitions will be # used in the RAID setup. Remember to use the correct partition numbers # for logical partitions. RAID levels 0, 1, 5, 6 and 10 are supported; # devices are separated using "#". # Parameters are: # <raidtype> <devcount> <sparecount> <fstype> <mountpoint> \ # <devices> <sparedevices> 

<img src='content_image/811575.jpg'>

# For additional information see the file partman-auto-raid-recipe.txt # included in the ’debian-installer’ package or available from D-I source # repository. 

# This makes partman automatically partition without confirmation. d-i partman-md/confirm boolean true d-i partman-partitioning/confirm_write_new_label boolean true d-i partman/choose_partition select finish d-i partman/confirm boolean true d-i partman/confirm_nooverwrite boolean true 

