| 1 | C:\Program Files\Oracle\VirtualBox>VBoxManage.exe internalcommands listpartition
|
|---|
| 2 | s -rawdisk \\.\PhysicalDrive0
|
|---|
| 3 | Number Type StartCHS EndCHS Size (MiB) Start (Sect)
|
|---|
| 4 | 5 0x83 0 /2 /1 29 /254/63 235 126
|
|---|
| 5 | 6 0x82 30 /1 /1 333 /254/63 2384 482013
|
|---|
| 6 | 7 0x83 334 /1 /1 1023/254/63 18119 5365773
|
|---|
| 7 | 8 0x83 1023/254/63 1023/254/63 17406 42475520
|
|---|
| 8 | 2 0x07 1023/254/63 1023/254/63 114470 78124095
|
|---|
| 9 |
|
|---|
| 10 | C:\Program Files\Oracle\VirtualBox>VBoxManage.exe internalcommands createrawvmdk
|
|---|
| 11 | -filename "c:\Users\alaric\mydrive.vmdk" -rawdisk \\.\PhysicalDrive0 -partition
|
|---|
| 12 | s 5,6,7,8
|
|---|
| 13 | VBoxManage.exe: error: VMDK: could not open raw partition file '\\.\PhysicalDriv
|
|---|
| 14 | e0'
|
|---|
| 15 | VBoxManage.exe: error: Error code VERR_SHARING_VIOLATION at D:\tinderbox\win-4.0
|
|---|
| 16 | \src\VBox\Storage\VMDK.cpp(3762) in function vmdkCreateRawImage
|
|---|
| 17 | VBoxManage.exe: error: Cannot create the raw disk VMDK: VERR_SHARING_VIOLATION
|
|---|
| 18 | VBoxManage.exe: error: The raw disk vmdk file was not created
|
|---|