Virtualbox direct access to SD Card in windows


Posted by on August 8, 2018

1. Get the DirectID for your card reader.
C:\Program Files\Oracle\VirtualBox>wmic diskdrive list brief
Caption                         DeviceID            Model
    Partitions  Size
Innostor Innostor USB Device    \\.\PHYSICALDRIVE2  Innostor Innostor USB Device
    3           31132684800
SDHC Card                       \\.\PHYSICALDRIVE3  SDHC Card
    1           7945620480
ASP600S7-256GM-B                \\.\PHYSICALDRIVE0  ASP600S7-256GM-B
    4           256052966400
Samsung M3 Portable USB Device  \\.\PHYSICALDRIVE1  Samsung M3 Portable USB Devi
ce  1           2000396321280

2. Navigate to the VirtualBox directory
cd C:\Program Files\Oracle\VirtualBox
VBoxManage internalcommands createrawvmdk -filename "%USERPROFILE%/Desktop/sdcard.vmdk" -rawdisk "\\.\PHYSICALDRIVE3"

Now, open VirtualBox as administrator, and open the Settings for your virtual machine. Go to Storage -> Controller: SATA -> (right click) Add Hard Disk -> Choose Existing Disk and open the file you just created.

This post is referred to VirtualBox direct access to SD Card in Windows written by Sandy Scott’s Web Spot.