Page 1 of 1

Add raw hard drive to VM system

Posted: 13. Jul 2009, 21:17
by drewbp
Okay i admit I am a total newb. I have searched the forums, although maybe not for long enough, and I have read the manual section 9.10 about adding a raw hard drive.

I dont get where to do this though. \\.\PhysicalDrive0. Do I do it in a command line on the host or guest. How do I point it to the actual hard drive. In this case it is the D:\ drive on my host machine is a 320GB hard drive I would like access to.

Thanks in advance. I am more than happy if someone knows off hand another post that answers my question.

Re: Add raw hard drive to VM system

Posted: 14. Jul 2009, 02:05
by TerryE
drewbp wrote:I dont get where to do this though. \\.\PhysicalDrive0.
You do it on the host. This creates a VMDK which you add to your guest VM. The guest can't see the hosts disks (except that is any partition windows that you've allowed through the createrawvmdk command)

Use the listpartitions command to see what you've got. If you've got a single HDD the this will be \\.\PhysicalDrive0. Any second HDD will be \\.\PhysicalDrive1. This is a Windows naming convention. The D:\ "drive" is typically the second partition on the HDD.