Ticket #919 (new defect) — at Initial Version

Opened 13 years ago

Last modified 5 years ago

Unable to create a vmdk for raw drive partition (VERR_SHARING_VIOLATION)

Reported by: Demon Owned by:
Component: other Version: VirtualBox 1.5.2
Keywords: Cc:
Guest type: other Host type: other


Using Windows XP host, I was unable to create a raw vmdk for my existing linux partition.

WinXP resides in \.\PhysicalDrive0 partition 1, and Linux resides in \.\PhysicalDrive1 partitions 1,5 (main, swap).

"VBoxManage.exe internalcommands listpartitions -rawdisk \.\PhysicalDrive1" output: Number Type StartCHS EndCHS Size (MiB) Start (Sect) 1 0x83 0 /1 /1 1023/254/63 14307 63 5 0x82 1023/254/63 1023/254/63 956 29302623 3 0x07 1023/0 /1 1023/254/63 289977 31262490

The command used to create the raw vmdk: "VBoxManage.exe internalcommands createrawvmdk -filename c:\ubuntu1.vmdk -rawdisk \.\PhysicalDrive1 -partitions 1,5"


ERROR: VMDK: could not create new partition data file 'c:\ubuntu1-pt.vmdk' Error code VERR_SHARING_VIOLATION at E:\vbox\1.5-w32-rel\src\VBox\Devices\Storag e\VmdkHDDCore.cpp(2224) in function vmdkCreateImage Error while creating the raw disk VMDK: VERR_SHARING_VIOLATION

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use