Sun, 18 Apr 2010
Adding a raw disk to VirtualBox is a lot harder than it is with vmware. Here's how to do it on Windows 7:
cd "\Program Files\Sun\VirtualBox" VBoxManage internalcommands createrawvmdk -filename C:\Users\pjcj\.VirtualBox\HardDisks\1.5TB.vmdk -rawdisk \\.\PhysicalDrive1
I had to start the command prompt window an administrator in order to be able to do this. I then had to start VirtualBox as administrator in order to be able to add the disk from the Virtual Device Manager.
Oracle bought Sun. The path is now:
cd "\Program Files\Oracle\VirtualBox"
But more importantly, if you do as I said above and do all this as an administrator, then you can't connect any USB devices, which is a shame. The solution to this, such as it is, is to turn off UAC (User Access Control). Type UAC into the start menu and drag the slider down to the bottom. Reboot, acknowledge that you are doing something silly, and off you go.