Making partman partition a single disk is easy enough:
d-i partman-auto/disk string /dev/xvda
d-i partman-auto/method string regular
d-i partman-auto/expert_recipe string \
boot-swap :: \
2048 2048 -1 ext3 \
$primary{ } \
$bootable{ } \
method{ format } \
format{ } \
use_filesystem{ } \
filesystem{ ext3 } \
mountpoint{ / } \
device{ /dev/xvda } \
. \
Or the even simpler:
d-i partman-auto/disk string xvda
d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select atomic
But with more than one disk, none of the recipes I've found or written work. The installer gets to the screen where it asks for the partitioning method, and stalls there. I thought I had answered that question here:
# The presently available methods are:
# - regular: use the usual partition types for your architecture
# - lvm: use LVM to partition the disk
# - crypto: use LVM within an encrypted partition
d-i partman-auto/method string regular
Even if that does answer the question and it's actually stuck on the next bit, choosing a disk, isn't that answered by this?
d-i partman-auto/disk string /dev/xvda
I aim to end up with three disks: root on /dev/xvda, including /home, /usr and the rest; an extra swap volume on /dev/xvdb; and an EXT3 volume on /dev/xvdc, mounted on /var/build. Just to make things extra complicated, /var/build doesn't exist at installation time, so it needs making somehow too. This is on Debian Squeeze.