I had the same problem and finally solved
The problem seems to be in update-initramfs that doesn't generate the initrd properly.
"evms_activate not found" means that the /sbin/evms_activate file is not created inside the initrd file by update-initramfs
So, my workaround consists in unpacking the not working initrd, and copy the evms_activate executable into /sbin/ from a working initrd file (probably getting one from a deb file of debian/ubuntu repositories), and packing initrd again.
In my case, I made the following steps.
We create two folders:
mkdir NOT_WORKING
mkdir WORKING
We copy the corrupted initrd to NOT_WORKING folder (in my case "initrd.img-3.4.94") and the working to WORKING (in my case "initrd.img-3.8.0-31-generic").
cp /boot/initrd.img-3.4.94 NOT_WORKING
cp initrd.img-3.8.0-31-generic WORKING
Unpack both initrd:
cd NOT_WORKING
mv initrd.img-3.4.94 initrd.img-3.4.94.gz
gzip -d initrd.img-3.4.94.gz
cpio -id < initrd.img-3.4.94
cd ..
cd WORKING
mv initrd.img-3.8.0-29-generic initrd.img-3.8.0-29-generic.gz
gzip -d initrd.img-3.8.0-29-generic.gz
cpio -id < initrd.img-3.8.0-29-generic
cd ..
We copy evms_activate
cp WORKING/sbin/evms_activate NOT_WORKING/sbin/evms_activate
And we pack initrd again
cd NOT_WORKING
mv initrd.img-3.4.94 .. #We don't want to pack an older initrd into the newer :p
find . | cpio --quiet -H newc -o | gzip -9 -n > /boot/initrd.img-3.4.94
Now the evms_active error should dissappear :)
Best Answer
The standard recommendation, is that you over-write a disk/volume with random data before you setup luks. The Ubuntu installer will even offer to do this for you if you select the Expert mode. I don't believe the latest version will do this by default though, but I haven't actually tried it. This is often skipped/ignored because the process will take a long time.
But no, luks does not automatically fill or over-write blocks when it is setup.
Using the psuedo random generator in badblocks (
badblocks -c 10240 -wsvt random /dev/<device>
)is usually considered good enough and suggested as a good method to wipe a volume by most LUKS guides and HOWTOs.