Opened 16 years ago
Last modified 9 years ago
#919 closed defect
Unable to create a vmdk for raw drive partition (VERR_SHARING_VIOLATION) — at Initial Version
Reported by: | Demon | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 1.5.2 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description
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"
Output:
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