[Q] Alternative to rc.local for unmounting Boot Camp?
Posted: 31. Oct 2014, 20:17
In Mac OS < 10.9, I was able to run Boot Camp (Win7 64bit) in VirtualBox.
Apple's latest OS release, 10.10 Yosemite has removed the ability to use rc.local to unmount and set permissions on a Boot Camp partition. This means that if you're using Boot Camp with Virtualbox, you'll have to manually tweak it after every reboot.
I see that the "proper" way to unmount and set permissions after every boot is with a .plist / launchd, however I have no idea how to do that. Does anyone know how to create a boot script for the following?
EDIT: Just saw a similar post down the page from this one. Yes, it's a Yosemite question, but I also figured somebody on this forum may have a solution.
Apple's latest OS release, 10.10 Yosemite has removed the ability to use rc.local to unmount and set permissions on a Boot Camp partition. This means that if you're using Boot Camp with Virtualbox, you'll have to manually tweak it after every reboot.
I see that the "proper" way to unmount and set permissions after every boot is with a .plist / launchd, however I have no idea how to do that. Does anyone know how to create a boot script for the following?
Code: Select all
# grant VBox permissions to Bootcamp
sudo chmod 777 /dev/disk0s4
diskutil unmount /dev/disk0s4