I read that I need to create a vmdk from the partition like so:
Code: Select all
$ sudo VBoxManage internalcommands createrawvmdk -filename windows.vmdk -rawdisk /dev/disk0 -partitions 4
Code: Select all
$ sudo chown (my name) *.vmdk
$ chmod 0666 *.vmdk
$ sudo chmod 0666 /dev/disk0
Code: Select all
Failed to open the hard disk
/Users/(my name)/Documents/Windows/windows.vmdk.
The medium
'/Users/(my name)/Documents/Windows/windows.vmdk' can't be used as the requested device type.
Details:
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Medium
Interface: IMedium {53f9cc0c-e0fd-40a5-a404-a7a5272082cd}
Callee: IVirtualBox {c28be65f-1a8f-43b4-81f1-eb60cb516e66}