Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

During installing Debian Squeeze I created partitions on a VPS (/dev/vda):

vda1 = /boot

vda2 = encrypted LVM (not using a standard way of Debian installer, but with the help of cryptsetup switching to the shell [alt+f2], after that switched back to the installation [alt+f1] and mounted LVs to Debian's directories) with LVs:

  - /
  - /var
  - /tmp
  - /home
  - and 3 others

Of course I did cryptsetup luksOpen /dev/vda2 vda2_crypted and vgchange -s y vg0 before install.

After installing the system says, that it can't find 'debian_root' and it gave up, starting the initramfs shell.

So now I tried cryptsetup luksOpen /dev/vda2 vda2_crypted but the shell says, that it is not a valid LUKS device.

What could be a problem and a possible solution?

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.