How can I mount a sdcard and view it in /dev of a virtualbox guest

Solution 1:

From the Windows host determine the physical drive

wmic diskdrive list > drives.txt
notepad drives.txt

Once you know your drive, you can attach it as a raw disk. Example below uses PhysicalDrive2. The following command must be done with elevated privileges:

VBoxManage internalcommands createrawvmdk -filename MySSDDisk.vmdk -rawdisk \\.\PhysicalDrive2

Attach the disk to the Virtual box and you should see the /dev/sdx when you start up Ubuntu