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

Comments

Popular posts from this blog

Resolve "Cannot download packages whilst offline" issue in Deja-Dup backup software

ubuntu 20.04 / netplan / change mac address and static ip

wireshark ssh remote connect on linux server