Page 1 of 1

Problems starting Bootcamp in Virtualbox (OS X 10.10 Yosemit

Posted: 28. Oct 2014, 14:17
by telemakos
Hello everyone,

until OS X 10.9 I could also run bootcamp (Windows 7) within Virtualbox (through a .vmdk file). In order to do this I needed to unmount the bootcamp partition after changing the permissions during the OS X startup process in the rc.local file. Now, with OS X 10.10 rc.local does not seem to work anymore and I cannot start my virtual machine without first manually execute the terminal commands that are in my rc.local script.

Here is my rc.local content:

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

I understood that rc.local is not supported anymore in Yosemite but there must be a simple way to execute these 2 commands at startup. Can someone help me? Please be patient as I am not an expert.
Thank you!

Re: Problems starting Bootcamp in Virtualbox (OS X 10.10 Yos

Posted: 28. Oct 2014, 14:44
by loukingjr
Your question is an OSX 10.10 question and has nothing to do with VirtualBox. You might want to ask how to run a script on startup on the Apple forums. But someone here may know. I don't.

Re: Problems starting Bootcamp in Virtualbox (OS X 10.10 Yos

Posted: 28. Oct 2014, 15:01
by telemakos
I understand this is not a problem directly related to Virtualbox but maybe someone here has already come across this issue and has a solution. Thanks!