Page 1 of 1

cryptsetup: source device not found

Posted: 17. Jun 2010, 15:49
by stijnc
Hi,

I created a virtual machine in VmWare server 2.0. Host OS is Windows XP professional, guest OS is Debian 5.03. Now I try to run this virtual machine on a Ubuntu 9.04 with VirtualBox. The virtual machine starts (so I see the POST screen and GRUB bootloader), but during Debian boot process I get this error: "cryptsetup: source device /dev/sda2 not found" (it's an encrypted partition).
Does someone know how to solve this problem? Thanks!

Kind regards,
Stijn.

Re: cryptsetup: source device not found

Posted: 21. Jun 2010, 11:38
by stijnc
Hi,

We found the solution: normally VirtualBox uses a SATA disk controller and it tries to mount the VMDK disk image with this controller. Since I've used a virtual SCSI disk in VmWare, it fails. I'd to change the disk controller to SCSI, and now it works!

Kind regards,
Stijn.