Last active
August 29, 2015 14:22
-
-
Save vallettea/1c7e214cbf0c5a5bbe68 to your computer and use it in GitHub Desktop.
How to have sd card in virtualbox under mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # diskutil to check where is the sd card, here in /dev/disk1 | |
| diskutil unmountDisk disk1 | |
| sudo launchctl unload /System/Library/LaunchDaemons/com.apple.diskarbitrationd.plist [ruby-2.1.3p242] | |
| sudo VBoxManage internalcommands createrawvmdk -filename ./sd-card.vmdk -rawdisk /dev/disk1 | |
| sudo chmod 777 /dev/disk1 | |
| sudo chmod 777 ./sd-card.vmdk | |
| # in virtualbox setting of the vm, then storage, select satacontroller and add hard drive from existing file pointing to the vmdk | |
| # make sure the order is inferior to the other dik or it will boot from it | |
| sudo launchctl load /System/Library/LaunchDaemons/com.apple.diskarbitrationd.plist [ruby-2.1.3p242] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment