I wanted to enlarge my guests (system config: see signature) disk which has encryption enabled from 40 up to 60 GB.
So due to backup reasons I copied the .vdi-file to another location on my host. Then I submitted the command
Code: Select all
sudo VBoxManage modifyhd xxx.vdi --resize 61440
Now, when I boot the VM, I type in the encryption phrase, select the OS in GRUB and the following error occurs
Code: Select all
(...)
end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
(...)
Code: Select all
00:00:03.303860 Console: VM runtime error: fatal=false, errorID=DrvVD_DEKMISSING message="VD: The DEK for this disk is missing"
The VM configuration file (xxx.vbox-prev) contains the DEK
Code: Select all
<HardDisk uuid="{e5add2a5-a55e-439b-ab02-8ca206f74558}" location="xxx.vdi" format="VDI" type="Normal">
<Property name="CRYPT/KeyId" value="xxx"/>
<Property name="CRYPT/KeyStore" value="....."/>
</HardDisk>
May I be screwed up because the DEK in the config file is the encryption key for the original .vdi, which was altered through my copy and enlargement operations?
Many thanks in advance. Regards,
Ullus Parvus