Need HowTo for WinXP guest on rawdisk under Win7 host
Posted: 17. Jan 2011, 03:00
Hi All,
Newbie VB user here (one week). I have been able to create a virtual WinXP using a virtual drive and booting from a WinXP CD, works like a charm. Running Win7 on a brand new HP core i7 desktop, VB 4.0.0 PUEL.
Now I want to move a working WinXP physical drive from my old desktop (a *copy* of the WinXP C: drive, not the original) into my Win7 box (i.e., a second physical drive inthe Win7 box, separate from the host Win7 drive) and use it as a rawdisk to a virtual machine.
My first question is: How to specify the second physical drive to VBoxManage (i.e., the correct syntax). To test if I got the syntax correct, I tried to list the partitions on the second drive in a Win7 command shell like this:
C:\Users\<MyUserName>\VirtualBox VMs\WinXP Home on HDD>VBoxManage internalcommands listpartitions -rawdisk \\.\PhysicalDrive1
VBoxManage.exe: error: Cannot open the raw disk: VERR_ACCESS_DENIED
Is that syntax (\\.\PhysicalDrive1) correct? If that is correct, why am I getting the "access denied" error?
TIA for any help or advice you can give me. I did try searching the forums for references to "rawdisk", but all of the ones I saw seem to be for Linux hosts, and I have a Win7 host.
Peter
Newbie VB user here (one week). I have been able to create a virtual WinXP using a virtual drive and booting from a WinXP CD, works like a charm. Running Win7 on a brand new HP core i7 desktop, VB 4.0.0 PUEL.
Now I want to move a working WinXP physical drive from my old desktop (a *copy* of the WinXP C: drive, not the original) into my Win7 box (i.e., a second physical drive inthe Win7 box, separate from the host Win7 drive) and use it as a rawdisk to a virtual machine.
My first question is: How to specify the second physical drive to VBoxManage (i.e., the correct syntax). To test if I got the syntax correct, I tried to list the partitions on the second drive in a Win7 command shell like this:
C:\Users\<MyUserName>\VirtualBox VMs\WinXP Home on HDD>VBoxManage internalcommands listpartitions -rawdisk \\.\PhysicalDrive1
VBoxManage.exe: error: Cannot open the raw disk: VERR_ACCESS_DENIED
Is that syntax (\\.\PhysicalDrive1) correct? If that is correct, why am I getting the "access denied" error?
TIA for any help or advice you can give me. I did try searching the forums for references to "rawdisk", but all of the ones I saw seem to be for Linux hosts, and I have a Win7 host.
Peter