Intel® Galileo Development Kit for IoT - Tutorial Guide Revision 1.0 – 20-Feb-2014
(Page 10 of 32)
5. Use the ‘diskutil unmountdisk’ command along with the device node captured in the
previous step to unmount all partitions found on the USB key e.g.
Figure 5: Unmount disk on Mac
6. Use the ‘chmod’ command along with the device node captured in the previous step to make
the USB key device accessible by a non-root user
Figure 6: Make disk accessible on Mac
7. Create a VirtualBox virtual disk file corresponding to the DevKit USB key using the VBoxManage
command as shown below. Please note you will need to change the path where you wish the
file to be stored and use the device node captured in step 10 above
VBoxManage internalcommands createrawvmdk -filename /Users/todorminchev/Desktop/devkit.vmdk -
rawdisk /dev/disk4
Figure 7: Create Virtual disk on Mac
NOTE : Back up your virtual disk file (e.g. devkit.vmdk) to a safe location. You might need
to refer to it in the future in case that your virtual machine gets corrupted.
8. You are now ready to create your virtual machine. Use the ‘diskutil unmountdisk’ command to
unmount the USB key again (please see step 5 above).