Passthrough Mounting A Physical Disk Drive in VirtualBox

Channel:
Subscribers:
14,400
Published on ● Video Link: https://www.youtube.com/watch?v=t9L_gH0b5zw



Category:
Tutorial
Duration: 1:35
7,410 views
55


#VirtualBox #DiskDrive #Passthrough #VirtualMachine

Full steps can be found at https://i12bretro.github.io/tutorials/0365.html

--------------------------------------------------------------------
Creating the Physical Disk VMDK
--------------------------------------------------------------------
   01. Connect the physical disk to the host
   02. Log into the VirtualBox host
   03. Launch PowerShell as administrator
   04. Run the following commands
         # list physical disks
         Get-PhysicalDisk
   05. Take note of the disk number for the target disk to mount in VirtualBox
   06. Continue with the following commands
         # cd to the virtualbox installation directory
         cd "$ENV:ProgramFiles\Oracle\VirtualBox"
         # create a vmdk disk pointing to the target physical disk
         # usage
         # .\VBoxManage.exe internalcommands createrawvmdk -filename "≪%fullpathto.vmdk%≫" -rawdisk \\.\PhysicalDrive≪%disknumber%≫
         .\VBoxManage.exe internalcommands createrawvmdk -filename "D:\VMs\SSD.vmdk" -rawdisk \\.\PhysicalDrive2
         # launch virtualbox manager
         .\VirtualBox.exe
 
--------------------------------------------------------------------
Attaching the Physical Disk to a Virtual Machine
--------------------------------------------------------------------
NOTE: If you don't run VirtualBox Manager as administrator you will get permissions errors trying to access the physical disk
 
   01. Right click on the target VM ≫ Settings
   02. Select Storage from the left navigation menu
   03. Click the Add Hard disk icon
   04. Click Add ≫ Browse to and select the .vmdk file created earlier
   05. Scroll to the bottom of the listing and select the .vmdk ≫ Click Choose
   06. Click OK to confirm the VM settings
   07. Right click on the target VM ≫ Start
 
Documentation:  https://www.virtualbox.org/manual/ch09.html#rawdisk
 


### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro







Tags:
.vmdk
Add Storage
Debian
Disk
HDD
Hard Disk
Hard Drive
How To
Hypervisor
SSD
Storage
Tutorial
VDI
VM
Virtual Disk
Virtual Disk Image
Virtual Machine
Virtual Machines
VirtualBox
VirtualBox Add Physical Storage
VirtualBox Hardware Passthrough
Virtualization
Windows
i12bretro