08 April 2014

Use physical drive into virtualbox

Find the number of your physical hard drive using Manage computer > Disk Management (the disks are ordered)

Run the following command (changing the physical drive number and the path where to create the vmdk) :
VBoxManage internalcommands createrawvmdk -filename C:\usb.vmdk -rawdisk \\.\PhysicalDrive1
Attach the vmdk file to your Virtual Machine.


If you get the error message :
VERR_ACCESS_DENIED
you may need to take the disk offline and set the readonly attribute to False (could be done using the Diskpart command-line utility)

#1 #2
Post a Comment