cryptsetup: source device not found

Discussions about using Linux guests in VirtualBox.
Post Reply
stijnc
Posts: 2
Joined: 17. Jun 2010, 15:42
Primary OS: Ubuntu 8.04
VBox Version: OSE Debian
Guest OSses: Debian

cryptsetup: source device not found

Post 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.
stijnc
Posts: 2
Joined: 17. Jun 2010, 15:42
Primary OS: Ubuntu 8.04
VBox Version: OSE Debian
Guest OSses: Debian

Re: cryptsetup: source device not found

Post 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.
Post Reply