Code: Select all
C:\Users\peenut\.VirtualBox\HardDisks>"C:\Program Files\Sun\VirtualBox\VBoxManage.exe" internalcommands listpartitions -rawdisk \\.\PhysicalDrive0
VirtualBox Command Line Management Interface Version 3.0.10
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.
Error opening the raw disk: VERR_SHARING_VIOLATIONCode: Select all
C:\Users\peenut\.VirtualBox\HardDisks>"C:\Program Files\Sun\VirtualBox\VBoxManage.exe" internalcommands createrawvmdk -filename test.vmdk -rawdisk \\.\PhysicalDrive0 -partitions 2
VirtualBox Command Line Management Interface Version 3.0.10
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.
Error opening the raw disk '\\.\PhysicalDrive0': VERR_SHARING_VIOLATION
The raw disk vmdk file was not creatededit: I'm on Win7 by the way.