VMWare running native XP on SATA disk, part 2

Last week I started writing the introductory article: “VMWare running native XP on SATA disk” — I promised to have the follow up the next day. It has been more than week. What can I say, busy week at work.

We left of having configuring the Windows side of the equation, having set up a separate hardware profile and installed the VMware SCSI drivers. All we have left to do is create a virtual machine that reads the already installed Windows XP, which is for the most part a simple process. There is are a few places that can be time sinks, so I’ve included screen shots and a step-by-step walk through to save you time.

I will not cover installing VMware workstation or server, has how you choose to do so depends on your system and what you want. I’ll leave that up to you.

To begin, make sure the user that will be running vmware is in the “disk” group (on my Ubuntu system) — which allows the user access to the raw disk.

I am using VMware workstation so these screen shots are geared towards that, but are mostly relevant to VMware server.

1) Fire up VMware — you should see something like the Screen Shot Below — A standard VMWare splash screen

VMware workstation splash screen

2) Start the process of creating a new virtual machine, either by going to File->New or right clicking inside the inventory pane (the far left pane). The key thing here is to select a “Custom” virtual machine, instead of the “Typical” virtual machine.

VMWare new virtual machine

3) The Guest operating system to select is obviously Windows XP — I have not tried this out with Vista yet, but it should probably work.

4) Give your new Virtual Machine a name and configure where the configuration files will be stored on disk.

5) Select the number of processors you want to allocate to this virtual machine.

6) Configure the amount of RAM you want allocated to this virtual machine.

7) Configure the networking, I selected “bridged networking” which means the virtual machine gets its own IP, instead of using the Hosts via NAT.

8 ) Select the I/O Adapter type — this is critical, make sure to select the “Buslogic” option, which should be selected by default.

VMWare SCSI Adapter

9) Next you will be prompted to “Select a Disk” — you obviously want to choose “Use a physical disk” (this is the premise of this article after all?)

VMware Disk Selection

10) You will then be prompted to configure which physical disk you want to use. I used /dev/sda, and that should be enough for you, the only time this becomes a problem is when you have your linux boot partition on another disk, but GRUB installed on the MBR of the first disk. In that case after the wizard is complete, simply had a second physical device to the virtual machine and you should be set.

VMWare physical disk detection

11) Finish!

Have fun with your new Windows partition running under linux. This setup has allowed me the flexibility of booting into my favorite operating system most of the time, and only requiring a reboot when I need to use “Hardware Intensive” applications (Read: games).

Cheers!

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • StumbleUpon
  • Technorati
  • Reddit

9 Responses to “VMWare running native XP on SATA disk, part 2”

  1. [...] We left of having configuring the Windows side of the equation, having set up a separate hardware profile and installed the VMware SCSI drivers [...]

  2. Thanx for the article! I was waiting for the second part :) I though it would be more complicated, but quite simple!

    What do you about XP activation? Will this break to already activated XP installation?

  3. Great guide!! thanks :)

    only 2 questions:

    1- what about winXP activation? It will continue to prompt me to activate it every time I switch between XP VM and XP physical?

    2- I have virtualizated MBR too… what will happen if I’ll make start the Linux VM inside the Linux physical?

    greetings

  4. Big, and Pak: Activation is a bit of a tricky point . If you can through work or school, or some other *legal* way, use an enterprise edition cd.

    Pax: If I understand and you are asking what will happen if you accidentally boot into the linux partition you are currently running — bad things will happen — mostly with the potential to corrupt your filesystem. I would stop the VM right away.

    Hope this helps.
    Yousef

  5. thanks for the answer

    1- I have OEM winXP… it ask me to activate both VM and physical.. I’d like to solve it in “legal” way… otherwise I’ll look for turnaround…

    2- do you know if there are some way to make bootable only the win partition, without including GRUB in virtualizated machine too? Using the partition (sda1) instead the full disk (sda) don’t work…

    thanks again

    Pak

  6. Pak,

    1) Unfortunately OEM installs see this as two different computers.

    2) You can create a boot-floppy image that boots straight into XP and then configure vmware to boot from this first and then the virtual disk 2nd.

  7. when i tried to setup and boot XP from Vista, i got an error message
    Operation on file “\\.\PhysicalDrive0″ failed.

    can you help me please.
    ref: http://communities.vmware.com/thread/119210?tstart=0

  8. Hi,

    VMware Workstation costs $189! So I tried to use
    Applications->System Tools->VMware Server Console.
    The screens are almost identical, except on the last
    screen–the one where you click Finish.

    There’s a text box for the name of a ‘disk file’. It’s
    primed with .vmdk.

    What’s a .vmdk file?

  9. To-notch! Your instructions in Part One regarding the scsi drivers did the trick.

    Much appreciated!

Leave a Reply