Archive

Posts Tagged ‘Virtual harddisk’

Adding VMWare harddisk in VMWare player

April 24th, 2009 No comments

This article describes how to create a VMWare virtual pc without the use of VMWare workstation.
Normally you create a image with VMWare workstation. This image can run with VMware player

Download the Free VMware Player from the VMWare website.

Next, you need the qemu-img.exe program that comes with QEMU. If you are using Windows (like I do) you can download QemuInstall-0.7.2.exe. After downloading this program, install it. Start a command prompt and cd to the installation directory of QEMU, for example:

cd C:Program FilesQemu

and create a VMware disk file as follows:

qemu-img.exe create -f vmdk WindowsXPPro.vmdk 2G Formating ‘WindowsXPPro.vmdk’, fmt=vmdk, size=2097152 kB

If you copy paste the above line into the command prompt (cmd.exe), do not include the prompt (the text before qemu-img.exe). If you do, you get the following error: ‘C:Program’ is not recognized as an internal or external command, operable program or batch file. A file “WindowsXPPro.vmdk” with a maximum disk size of 2G (the actual file is much smaller; about 320 KB) has been created. You might want to move this file to a different folder.

Now, create an empty text file, and rename it to “WindowsXPPro.vmx” (use the same name as in the previous step, but use vmx as the extension instead). Open the file in an editor and enter the following values:

*******************************************************/WindowsXPPro.vmx/**********************************************************
config.version = “8″
virtualHW.version = “3″
ide0:0.present = “TRUE”
ide0:0.filename = “WindowsXPPro.vmdk”
memsize = “64″ //You can choose your memory size in Mb
MemAllowAutoScaleDown = “FALSE”
ide1:0.present = “TRUE”
ide1:0.fileName = “auto detect”
ide1:0.deviceType = “cdrom-raw”
ide1:0.autodetect = “TRUE”
floppy0.present = “FALSE”
ethernet0.present = “TRUE”
usb.present = “TRUE”
sound.present = “TRUE”
sound.virtualDev = “es1371″
displayName = “Windows XP Pro”
guestOS = “winXPPro”
nvram = “WindowsXPPro.nvram”
MemTrimRate = “-1″
ide0:0.redo = “”
ethernet0.addressType = “generated”
uuid.location = “56 4d 5c cc 3d 4a 43 29-55 89 5c 28 1e 7e 06 58″
uuid.bios = “56 4d 5c cc 3d 4a 43 29-55 89 5c 28 1e 7e 06 58″
ethernet0.generatedAddress = “00:0c:29:7e:06:58″
ethernet0.generatedAddressOffset = “0″
tools.syncTime = “TRUE”
ide1:0.startConnected = “TRUE”
uuid.action = “create”
checkpoint.vmState = “”
*******************************************************/WindowsXPPro.vmx/**********************************************************

Save the text file and open with VMWare player.
Install operating system