Opened 13 years ago
Last modified 5 years ago
#8760 reopened defect
VMDK: VERR_SHARING_VIOLATION — at Initial Version
Reported by: | Alaric | Owned by: | |
---|---|---|---|
Component: | virtual disk | Version: | VirtualBox 4.0.6 |
Keywords: | VERR_SHARING_VIOLATION Windows7 rawdisk physicaldrive | Cc: | |
Guest type: | Linux | Host type: | Windows |
Description
When running in an administrator command line and attempting to create virtual drives from raw disks under a windows 7 host, vboxmanage fails with this error message. I was previously able to use these commands to mount my ubuntu partition under virtualbox on a windows XP host.
Regards, Alaric
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe internalcommands listpartition s -rawdisk \.\PhysicalDrive0 Number Type StartCHS EndCHS Size (MiB) Start (Sect) 5 0x83 0 /2 /1 29 /254/63 235 126 6 0x82 30 /1 /1 333 /254/63 2384 482013 7 0x83 334 /1 /1 1023/254/63 18119 5365773 8 0x83 1023/254/63 1023/254/63 17406 42475520 2 0x07 1023/254/63 1023/254/63 114470 78124095
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe internalcommands createrawvmdk
-filename "c:\Users\alaric\mydrive.vmdk" -rawdisk \.\PhysicalDrive0 -partition
s 5,6,7,8 VBoxManage.exe: error: VMDK: could not open raw partition file '\.\PhysicalDriv e0' VBoxManage.exe: error: Error code VERR_SHARING_VIOLATION at D:\tinderbox\win-4.0 \src\VBox\Storage\VMDK.cpp(3762) in function vmdkCreateRawImage VBoxManage.exe: error: Cannot create the raw disk VMDK: VERR_SHARING_VIOLATION VBoxManage.exe: error: The raw disk vmdk file was not created
Log file showing the createrawvmdk error