Page 1 of 1

Yosemite using a bootcamp as a VM

Posted: 8. Jul 2015, 07:33
by dash4385
Hello, I apologize if this was covered somewhere else but I have be trying to find an answer for 2 hour now and getting no where.

I am running OSX 10.10.3 and have bootcamp set up with Windows 7 and want to set up virtual box to use the bootcamp as the VM. I have read through and tried all the walkthroughs I can find but getting stuck.

Here is where I am at.

My Bootcamp drive is disk0s4

So I ran this to create the Virtual disk

Code: Select all

sudo VBoxManage internalcommands createrawvmdk -rawdisk /dev/disk0 -filename bootcamp.vmdk -partitions 4
Changed the permissions on disk0s4 and unmounted with this '

Code: Select all

sudo chmod 777 /dev/disk0s4 diskutil unmount /dev/disk0s4
When I run the Machine It just load to Black screen with white text saying "error loading operating system"

I have tried every setting in Virtual box and nothing seems to work
Verified by booting in to the Bootcamp that that OS does boot
I have been doing searches for a few hours and nothing helpful,

Re: Yosemite using a bootcamp as a VM

Posted: 8. Jul 2015, 18:07
by ikar.us
Is there a working boot loader present and accessible?

Re: Yosemite using a bootcamp as a VM

Posted: 12. Jul 2015, 02:15
by paulrw
May not be the same problem as you had, but I was helped by including the EFI partition in the vboxmanage command, as touched on in this forum thread:

viewtopic.php?f=8&t=58821

For example, if your Boot Camp partition is on /dev/disk0:

Code: Select all

sudo VBoxManage internalcommands createrawvmdk -rawdisk /dev/disk0 -filename win8raw.vmdk -partitions 1,4

Re: Yosemite using a bootcamp as a VM

Posted: 19. Jul 2015, 23:18
by dash4385
ikar.us wrote:Is there a working boot loader present and accessible?
How would I find out if there is?