Preseeds are poorly documented. This is a note to myself on how to reproduce an install
sudo apt-get install debconf-utils # It is part of the debconf-utils package.
debconf-get-selections –installer > somefile.txt
debconf-get-selections » somefile.txt “
via [ubuntu] preseeding installation 8.10 – how to preseed “encrypted directory” prompt? – Ubuntu Forums.