Posted in Mac, VirtualBox

Mac, VirtualBox – Mount SD-card to virtualbox on Mac OS X

Unmount SDcard on Mac OS X

$ diskutil unmountDisk [SD card path]
(Ex. $ diskutil unmountDisk /dev/disk3)

Generate .vmdk file for VirtualBox

$ sudo VBoxManage internalcommands createrawvmdk -filename [.vmdk file name] -rawdisk [SD card path]
(Ex. $ sudo VBoxManage internalcommands createrawvmdk -filename sdcard.vmdk -rawdisk /dev/disk3)

Authorize .vmdk file and SDcard path as 666 or 777

$ sudo chmod 666 [.vmdk file name]
(Ex. $ sudo chmod 666 microsd.vmdk)

$ sudo chmod 666 [SDcard path]
(Ex. $ sudo chmod 666 /dev/disk3)

Unmount SDcard on Mac OS X whenever SDcard is remounted by Mac OS X

and then

Mount .vmdk file on VirtualBox

Advertisements

Author:

HOiT Creator

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s