Using encrypted Linux LVM partition fails
Posted: 4. Jun 2012, 22:48
I tried to use existing excrypted LVM Linux partitions under a Windows 7 Host with VirtualBox 4.1.16.
The system has just one harddrive.
Created VDMK file:
But trying to attach the VDMK I get the error:
The medium 'C:\ubuntu6.vmdk' can't be used as the requested device type.
Fehlercode:E_FAIL (0x80004005)
Komponente:Medium
Interface:IMedium {53f9cc0c-e0fd-40a5-a404-a7a5272082cd}
Callee:IVirtualBox {c28be65f-1a8f-43b4-81f1-eb60cb516e66}
Is it possible to run that configuration?
Maybe I took the wrong partitions when creating the VDMK file (but other partition combinations showed the same error)? Is VirtualBox able to use existing encrypted LVM partitions?
The system has just one harddrive.
Code: Select all
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe internalcommands listpartitions -rawdisk \\.\PhysicalDrive0
Number Type StartCHS EndCHS Size (MiB) Start (Sect)
1 0x27 0 /32 /33 1023/254/63 13312 2048
2 0x07 1023/254/63 1023/254/63 100 27265024
3 0x07 1023/254/63 1023/254/63 47683 27469824
5 0x83 1023/254/63 1023/254/63 238 125126656
6 0x83 1023/254/63 1023/254/63 415604 125616128
Code: Select all
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe internalcommands createrawvmdk -filename C:\ubuntu6.vmdk -rawdisk \\.\PhysicalDrive0 -partitions 5,6
RAW host disk access VMDK file C:\ubuntu6.vmdk created successfully.
The medium 'C:\ubuntu6.vmdk' can't be used as the requested device type.
Fehlercode:E_FAIL (0x80004005)
Komponente:Medium
Interface:IMedium {53f9cc0c-e0fd-40a5-a404-a7a5272082cd}
Callee:IVirtualBox {c28be65f-1a8f-43b4-81f1-eb60cb516e66}
Is it possible to run that configuration?
Maybe I took the wrong partitions when creating the VDMK file (but other partition combinations showed the same error)? Is VirtualBox able to use existing encrypted LVM partitions?