Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

telemakos

macrumors member
Original poster
Hello!

I had this commands in the rc.local file (OS X Mavericks) that I need to execute in order to run my bootcamp installation (Win7) from within Virtualbox. They change the permissions and unmount bootcamp as a partition:

Code:
sudo chmod 777 /dev/disk0s4
diskutil unmount /dev/disk0s4

It seems that rc.local does not work anymore in Yosemite and now I cannot start Win7 within Virtualbox without first manually executing the above commands via terminal.
How can I automate this task at startup? I understood that "launchd" might be of help but I'm not an expert here.

Thank you! 🙂
 
Thank you! 🙂
I could finally solve the issue by using Lingon and creating 2 different plist-files.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.