Posted in Linux, Mac

How to know the progress of ‘dd’ command ?

Ctrl + T

The ‘dd’ command doesn’t show the working progress.

Press ‘Ctrl + T’, then it will shout the process information~!

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