Problems starting Bootcamp in Virtualbox (OS X 10.10 Yosemit

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
telemakos
Posts: 2
Joined: 28. Oct 2014, 14:04

Problems starting Bootcamp in Virtualbox (OS X 10.10 Yosemit

Post 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!
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

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

Post 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.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
telemakos
Posts: 2
Joined: 28. Oct 2014, 14:04

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

Post 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!
Post Reply