There are a number of articles on how to do this, such as:
http://mesbalivernes.blogspot.com/2008/ ... sting.html
as well as section 9.9.2 Access to individual physical hard disk partitions in the UserManual.
Most of these seem to be aimed at unix or other OS's tho, and I'm having trouble making it work on Mac.
The idea seems to be to use the VBoxManage tool to create a .vmdk file pointing at the windows partition.
The first step would be to find the partition # of XP on my box:
Code: Select all
VBoxManage internalcommands listpartitions -rawdisk /dev/sda
If I type "mount" into terminal, I get:
Code: Select all
/dev/disk0s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local)
fdesc on /dev (fdesc, union)
map -hosts on /net (autofs, automounted)
map auto_home on /home (autofs, automounted)
/dev/disk1 on /Volumes/SIN_CITY (udf, local, nodev, nosuid, read-only, noowners)
/dev/disk0s3 on /Volumes/XP (msdos, asynchronous, local, noowners)
-VBoxManage internalcommands listpartitions -rawdisk /dev/disk0s3
But that did nothing.
So I gave up trying to get the # of my partition, and skipped straight ahead to the main part, trying to create the .vmdk, and just try guessing my partition #.
Code: Select all
VBoxManage internalcommands createrawvmdk -filename /Users/ericridgeway/Desktop/WinXPImg.vmdk -rawdisk /dev/disk0s3 -partitions 2
None of this got me anywhere.
I'd much rather use VirtualBox then pay for Parallels or Fusion. But I really don't want to have to uninstall Bootcamp's copy of windows and never be able to use it again just so I can give the freed up license to my VirtualBox windows. I want them to use the -same- copy of windows, pointing at the already-created partition.
Can anyone help me with this or point me in the right direction?