I have been able to successfully run windows 7 - boot camp in virtualbox by following this guide:
http://luckyviplav.blogspot.com/2011/06 ... rtual.html
One little detail - I had to choose 'PIIX4' instead of 'ICH6', in order to get past the blue screen of death - unlike what he suggests.
Anyhow, onto the question. I choose not to permanently unmount my boot camp partition, and just eject it like the article mentions. I then noticed that I have to run the command: "sudo chmod 777 /dev/disk0s3" every time before starting windows 7. To be more accurate, I need to run this after ejecting the drive in finder, every time after a restart (say, after running win7 natively and go back into OSX).
The need to eject BOOTCAMP is understandable, but I would like to know of a way to skip running the terminal command every time... either by making the chmod effects permanent... or if that fails, possibly figure out a way to automate said command every time I run 'Windows 7' in virtualbox. Or anything else clever you can come up with, so long as I don't have to run that command over and over and over. Thanks for any worthwhile suggestions!
Run boot camp windows in virtualbox, some questions
-
pbaekdal
- Posts: 7
- Joined: 20. Aug 2011, 11:01
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win7, Ubuntu
Re: Run boot camp windows in virtualbox, some questions
DrD,
have another look at the page (http://luckyviplav.blogspot.com/2011/06 ... rtual.html) ...
Go down to the part headed '1. Prepare the Mac system for installation' and you'll find how to edit the etc/rc.local file to include the 'diskutil unmount' and the 'chmod' commands. The etc/rc.local file is executed every time the system is booted into OSX so this should work for you - it worked for me.
Cheers,
Pete.
have another look at the page (http://luckyviplav.blogspot.com/2011/06 ... rtual.html) ...
Go down to the part headed '1. Prepare the Mac system for installation' and you'll find how to edit the etc/rc.local file to include the 'diskutil unmount' and the 'chmod' commands. The etc/rc.local file is executed every time the system is booted into OSX so this should work for you - it worked for me.
Cheers,
Pete.
-
DrD
- Posts: 31
- Joined: 12. Jan 2009, 00:47
- Primary OS: Mac OS X other
- VBox Version: OSE other
- Guest OSses: Linux Mint, Win XP, Win 7
Re: Run boot camp windows in virtualbox, some questions
Yup, that worked. My bad - I skipped that part (in my laziness), because I assumed it only applied to those who unmount their bootcamp partition permanently.
So I just added: "sudo chmod 777 /dev/disk0s3"
to the /etc/rc.local file, and left off the unmount command.
Restarted the computer, and now I can just eject 'bootcamp' myself, and it starts up perfectly. Thanks for the pointer.
So I just added: "sudo chmod 777 /dev/disk0s3"
to the /etc/rc.local file, and left off the unmount command.
Restarted the computer, and now I can just eject 'bootcamp' myself, and it starts up perfectly. Thanks for the pointer.