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) :
If you get the error message :
#1 #2
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 \\.\PhysicalDrive1Attach the vmdk file to your Virtual Machine.
If you get the error message :
VERR_ACCESS_DENIEDyou 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
Comments