Search This Blog

Wednesday, August 12

VMware Tutorial: How to Install Windows 7 on Windows XP Using Vmware Player

How to Install Windows 7 on Windows XP Using Vmware Player

1. Install Vmware Player on your Windows XP

2. Type run->cmd and change directory to Qemu (folder where qemu is extracted)

3. Now Type follow command to create Vmware compatible virtual disk of size 6 GB

qemu-img.exe create -f vmdk windows7.vmdk 6G

Create Windows 7 Virtual Disk using Qemu

I have created virtual disk of size 10GB & divided into 2GB files using Vmware-vdiskmanager comes with Vmware workstation, Reason of doing this is that Windows XP doesn’t support files larger then 2 GB because of addressing issue.

You want to create virtual disk of size 15GB then type at command prompt cmd->dir to VMware workstation directory. and type following command.

vmware-vdiskmanager.exe -c -s 15Gb -a ide -t 1 -q windows7.vmdk

Windows 7 Vmware Virtual Disk using vmware-vdiskmanager

4. To create .vmx file for Windows 7 use can use online vmx file builder (VMX file is Vmware virtual machine core configuration file and each virtual machine has its own .vmx file.)

Enter Following information while using VMX builder.

Display Name: Windows XP

Guest OS: Windows XP Professional Edition

Memory: 512 MB (Windows 7 Requires Minimum of 512 MB RAM)

Check: Sync Clock, VMTools Reminder, USB Host, Autoconnect

Ethernet: Check ETH0, Address Type: Generated, Address (leave default), Connection Type: Bridged (more info)

Check Sound Card, Type: Ensoniq ES1371, Check Absolute Mouse, NVRam Filename: nvram, IDE0:Master: Checked, File Name: WinXP.vmdk, Device Type: disk, Mode: Persistent, Check: WriteThrough, AutoDetect, Start Connected, IDE1:Master: Checked Device Type: cdrom-raw, Mode: Persistent Check: WriteThrough, AutoDetect, Start Connected

OR you can download pre-configured windows7.vmx file from here.

5. Once you have created .vmx file save it in your windows 7 folder (virtual machine folder where all your Windows 7 Virtual machine files will be stored)

6. Now you should have Windows 7 folder with following files

a. widnows7.iso (windows 7 beta 1 iso file)

b. windows7.vmx file

c. windows7.vmdk files (empty virtual disk files)

Windows 7 Folder Content

Don’t forget to change

ide1:0.present = “TRUE”

ide1:0.fileName = “auto detect”

ide1:0.deviceType = “cdrom-raw”

ide1:0.autodetect = “TRUE”

ide1:0.startConnected = “FALSE”

To

ide1:0.present = “TRUE”

ide1:0.fileName = “windows7.iso”

ide1:0.deviceType = “cdrom-image”

ide1:0.autodetect = “TRUE”

ide1:0.startConnected = “FALSE”

In your windows7.vmx file if you have created by yourself. No need to do any thing if you have downloaded windows7.vmx from here. Above changes is done to use windows7.iso file as cdrom image file to let us install windows 7 on our virtual machine. Hence no need to burn windows7.iso file on DVD.

7. Now double click on windows7.vmx file and it will automatically open with Vmware player.

Starting Vmware Player

8. Vmware player will boot like normal machine and will detect windows7.iso file as soon as it finish booting. A prompt will be displayed to select option i.e to start windows 7 installation.

Windows 7 Installation on Vmplayer

9. Complete the Windows 7 instillation steps and wait for installation to finish.

Windows 7 Installation Completed

10. Once your Windows 7 boots for first time just make sure every thing is working fine by browsing Computer or Checking Program files.

11. Now its time to install Vmware tools. You need Extract Vmware tools from vmware workstation which contains windows.iso file. open this file with any iso opener like freeware CDimage. There are a few ways by which you can transfer the VMware Tools.msi file but I find the easiest is to just share it out from your host computer and connect via the network from your virtual machine. Once you have VMware Tools.msi on your virtual machine’s disk, double-click it and do a standard install.

12. To enable sharing between your Windows 7 and Windows XP copy following lines and add to your windows7.vmx file at the end (Assuming you need to share E: drive of your host operating system with windows 7)

sharedFolder0.enabled = “TRUE”

sharedFolder0.present = “TRUE”

sharedFolder0.writeAccess = “TRUE”

sharedFolder0.readAccess = “TRUE”

sharedFolder0.hostPath = “E:\”

sharedFolder0.guestName = “D”

sharedFolder0.eXpiration = “never”

sharedFolder.maxNum = “1″

Don’t forget to revert back the changes we had done in step number 6.

13. Now when you will start your Windows 7 you need to enable Vmware Player ->Share folders ->Check Always enable to enable sharing.

Enable Share Folders

14. Now after your Windows 7 boots, access your share folder by Mapping shared folder from Network and Install Vmware Tools.msi.

That’s it, Now Your Virtual Windows 7 Machine on Windows XP is ready for Use.

Windows 7 Beta 1 on Vmware Player

Please Note: I am running Windows XP SP 2 and using Windows Vista Transformation Pack so please do no confuse with screenshots, this is not Windows Vista.

Let me know if you have trouble in following any steps or any issue in installing Windows 7 on Vmware Player
Download:

I am looking forward your comments about this tutorial !!!!( For your comment click here)

No comments:

Post a Comment

Shortly i come back to you !! thank you for your comment !!