- make a new machine
- when asked about disks, load up the terminal
- find the disk and partition with windows installed
- diskutil list
- unmount it
- I did this in disk utility
- change permissions on it
- chmod 777 /dev/diskXsY (replace X and Y with numbers)
- go into the folder where your new VirtualBox machine is
- cd ~/VirtualBox\ VMs/VirtualComputerName
- make the .vmkd file
- sudo vboxmanage internalcommands createrawvmdk -rawdisk /dev/disk0 -filename "winXP.vmdk" -partitions 3
- you have to find out how many partitions are on the harddrive. I've got 3
- change permissions of the files created
- chmod 777 winXP*
- in VirtualBox, select the disk file you created.
Sorted.
Turns out the error I got was from not reading the bit where you have to unmount it.
No comments:
Post a Comment