Yosemite using a bootcamp as a VM

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
dash4385
Posts: 2
Joined: 8. Jul 2015, 07:19

Yosemite using a bootcamp as a VM

Post 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,
ikar.us
Posts: 48
Joined: 26. Aug 2010, 01:40
Primary OS: MS Windows 8
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Debian u.a.
Location: Baden
Contact:

Re: Yosemite using a bootcamp as a VM

Post by ikar.us »

Is there a working boot loader present and accessible?
paulrw
Posts: 2
Joined: 12. Jul 2015, 02:11

Re: Yosemite using a bootcamp as a VM

Post 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
Last edited by paulrw on 19. Jul 2015, 23:38, edited 1 time in total.
dash4385
Posts: 2
Joined: 8. Jul 2015, 07:19

Re: Yosemite using a bootcamp as a VM

Post by dash4385 »

ikar.us wrote:Is there a working boot loader present and accessible?
How would I find out if there is?
Post Reply