An example custom hook for debian-installer that will let you run your own logic for partitioning, LVM, and software RAID when bootstrapping a machine