Vmware Workstation Guide : How to Work with Virtual Machines


Recommended Posts

Hi Guys

Vmware Workstation is one of the best softwares for virtualization.

Well to put it in simple word this is what you can do with it.

Downloaded a new linux distro and wanted to try how the installation

works without messing with you orignal harddisk drive well look no

further as vmware will help you do that.

Everything is stored in a vmware image file which can be there on

any place on you harddrive.

Well still confused how this thing works , this tutorial will

simplify everything.

Hardware Required [According to my opinion]

- Minimum 1Ghz

- Ram 512Min 1GB Recommended.

- Rest all is fine.

Software

- Vmware Workstation 5.5 Min , now 6 is out [PAID Software]

Link: VMware Workstation, virtual machine, multiple operating systems, Windows and Linux - VMware

OR

- Virtual Box [Freeware but equivalent to Vmware Workstation]

Link: VirtualBox

Note: Vmware Workstation 5.5 used for the tutorial.

=================================================

Guide

=================================================

Step 1:

Install and Open "Vmware Workstation"

vmware1yw1.th.png

This is the basic interface that will be presented when you start it.

=================================================

Step 2:

To make a new virtual machine or install any new linux distro click on new virtual machine. Click Next.

vmware2xx5.th.png

Select Typical and Click Next

winvmware3wq6.th.png linvmware3lh2.th.png selwinvmware3lt2.th.png

Select appropriate option for that OS if u want to install.

Single OS Installation

This is only if u want to install only that particular OS so that

Vmware Tools for that particular virtual machine can be installed.

We will discuss Vmware Tools Later.

Multi OS Installation

But if u want to try out Multiboot like

WinXP + Vista / WinXP + Ubuntu / WinXP + PCLOS 2007 / WinXP + Vista + Any Linux Distro

Select "Windows XP Professional" only here.

Click Next.

vmware4uu4.th.png

Write any Virtual Machine Name here to describe the virtual machine.

Location where the vmware image file for the virtual machine will be stored

see that u have appropriate free space on that partition.

vmware5natku0.th.png

Select NAT here if u want to share you internet connection diretly with

your virtual machine , no settings are needed to be made in the virtual

machine OS to run internet in it , just select NAT here and done.

[Thanks to KingKrool for this Tip]

vmware6sizeag0.th.png

Windows XP --> 3GB

Vista Ultimate ---> 10GB [Vista took 6.31GB ]

Ubuntu / PCLOS 2007 ---> 4GB

Fedora/openSuse/sabayon ---> 6GB

These are my approximations use according to ur opinion.

If u want to use multiboot just add these values for total virtual image size.

- Check Allocate Disk space

- Check split into 2GB [upto you but wud advice you to split into 2GB]

Image file size creation will now start.

vmware7wj8.th.png vmware7virmachineqf3.th.png

This how it looks after the hdd image has been created and the files on ur hdd.

=================================================

Step3:

Now we will be using the Virtual Machine

vmware7virmachineqf3.th.png vmwareprebootuu7.th.png

Suppose if u want to install windows xp or vista or any linux distro on this

virtual machine you can do this via the DVD Rom drive or via the iso of the

OS to be installed.

vmwareboot1bm6.th.png vmwareboot2gu6.th.png vmwareboot3wr1.th.png

Before you start installation start the virtual machine , click F2 to enter the

virtual machine bios and let cd from be the first boot device and exit the bios.

vmwarememoryjl0.th.png

Memory 256MB should be sufficient for any OS.

If u have 2GB of actual Ram then you can set this vaule to 512Mb or even 1GB.

Note: You actual Ram is shared here so choose wisely , 256Mb shuold be

sufficient if u have 512MB or 1GB of actual Ram.

Load ur OS CD in ur actual CD/DVD Drive or load the iso of the OS to install.

Now you are all set to install you fav OS and to try out any new Linux distro in the virtual machine.

Single OS or Multi boot try out everything and formatting the HDD etc....

Everything without interfering with ur actual HDD paritions.

=================================================

Step4:

Some More Info.

4.1> Vmware Tools this can be installed after you actually install the OS.

This is only used if u install a single OS not the MultiBoot thing.

Vmware Tools will only work for that OS which was selected at the start while creating the image.

4.2> Enabling Accelerated 3-D for a Virtual Machine , by default in the virtual machine there is only 16MB of video memory.

Enabling Accelerated 3-D for a Virtual Machine

To enable a virtual machine for accelerated 3-D

1. Choose a virtual machine with Windows 2000 or XP guest operating system.

Note: Do not enable Direct3D on a virtual machine that is powered on or suspended.

2. Add the following to the configuration (.vmx) file for the virtual machine:

mks.enable3d = TRUE

This line enables accelerated 3-D on the host. It is required to support accelerated 3-D in the guest and also enables the

host to accelerate 2-D portions of the guest display.

3. You may also add one or both of the following optional lines:

svga.vramSize = 67108864

NOTE:- 128 megabytes = 134 217 728 bytes

This line increases the amount of VRAM on the virtual display card to 64 MB. Adding more VRAM helps to reduce thrashing in

the guest. The maximum value is 128 MB.

vmmouse.present = FALSE

This line disables the absolute pointing device in the guest. Applications which require DirectInput relative mode need to

turn off the absolute pointing device in the guest. In practice, this is only required for a certain class of full screen 3-D

applications (for example, real-time games like first-person shooters).

Note: If you set the vmmouse.present option, you should also turn off the preference for motion ungrabbing in the Input tab

of the Preferences settings dialog.

To turn off ungrabbing for vmouse.present:

a. Choose Edit > Preferences.

b. Click Input.

c. Deselect Ungrab when cursor leaves window.

4.3> Sharing existing HDD partition in the virtual machine

[Data Risk - Dont use it unless really required]

- Click on Edit virtual machine settings.

- New windows open , click ADD

- Add Hardware Wizard Opens Click Next

- Select Harddisk here.

- Use physical disk [Warning is displayed]

- Select ur HDD Physical Drive0,Physical Drive1,....... [if u have more than one HDDs]

- Select Entire or partition

- Select the Partition

- Select app Disk file name.vmdk

- Click Next and finish

- Now boot your virtual machine and you will have your Windows Partition in your Virtual Machine.

=================================================

Hope this Guide helps you getting started with using Virtual Machines and trying out all the Linux Distros and multiboot.

I have tried to simplify to my level best by adding screenshots wherever required.

Do lemme know if this guide helped you. :)

VMware is great, I took snapshots of a "perfect build" with all my software and drivers, and saved that ISO. Now I can load the "perfect" virtual machine with in 10 seconds ;). Vmware is also great for testing, alot of large corporations, including my company is using VMWARE for testing/application testing with certain OS platforms.

Its really one of the most powerful softwares i have used till date.

You can also try out virtualbox from innotek which is a freeware and is equally powerful as vmware worsktation which is a paid software

Its free out there, look around some ;)

is it possible to install the OS from VMware to harddisk? or is it possible to copy a virtual image to harddisk or can we make a virtual disk from harddisk?

Why would you want to install the OS from VMWARE? If you have the OS on VMWARE you can install it on the hard drive as well. You need the OS and the cd key to load it into VMWARE so you can load it onto your HDD as well then.

Its possible to copy a virtual machine, however it saves it to a certain file extension only to be used in VMWARE's format. I built a ISO in one respect that can be used on a VMPLAYER. Which is a free DL and you can use my ISO to load onto your player and have that VIRTUAL OS loaded onto that machine.

As for your question

can we make a virtual disk from harddisk?
Your using your HDD to create space for the virtual machine. You may want to look into this a bit further before you proceed into installing OS's.

Microsoft Virtual Machine or Virtual PC is also a virtual machine software like Vmware or Virtual box

All 3 do the same task or handling virtual machines , i feel Vmware is the best [personal opinion , might vary for others]

  • 2 months later...
  • 2 months later...

does virtualbox have a feature like vmwares "unity"?

and with virtualbox can you assign each OS to its on desktop, so you have Linux on #1 then flip to the 2nd Desktop Running XP etc...

its its full screen of each OS but different desktops. (desktops, not monitors)

  • 1 month later...

Hey I got a question, I'm so sorry to bump this...

I'v added mks.enable3d = TRUE but everytime I run it nothing happens and it goes back to FALSE, any ideas? I did shut down it b4 editing.

ok I got it. nvm.

Edited by Mantrastic
lets say i have already installed XP to my hardisk. Can i convert this partiton to vmware image format

so i can use it as if its installed through Vmware.

Yes, just download the free vmware converter from their site and you can convert any machine to a VM.

I'v enabled 3D support on the virtual, but when its enabled the screen is black on half of it, theres like smudges all over, I cant see anything clearly, if I disable 3D support its all back to normal.

That's a pretty good reason why that option is not available in the GUI, isn't it? :D

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Formatting would be awesome if fully customised and then roll out the settings as a company wide standard.
    • I just want to know why the volume control feature in the browser version keeps appearing then disappearing, here today - gone tomorrow. Now it's gone again. Annoying as hell.
    • When you have only lies and blood libels to present, you've lost. And how hard is it for you to look up BBC and AP? You hate Jews, just admit it.
    • This article does not make sense and it’s very evident, the bug wasn’t confirmed to exist, because the application itself runs on editions of Windows which make it impossible to run Hyper-V VMs on, “Basically, Claude Desktop on Windows spins up a 1.8GB Hyper-V virtual machine if you use Claude Cowork or agent mode even once.”, suggests the bug is caused by something else otherwise it would only happen to users with the capability of running Hyper-V VMs and that’s only if Hyper-V was enabled which is by default not enabled. The true issue is that the author who reported the bug used the incorrect terminology, it’s actually a container, not a VM that is being started by the way. There were users on macOS reporting the same issue, Hyper-V, doesn’t exist on that platform obviously. Every single user who confirmed the problem in the last week was either using macOS making this issue impossible to be relevant to them, or was a comment talking about WSL, which the author indicated 3 months ago was disabled.
    • “To prevent hallucination issues and keep the database clean, the platform uses a multi-agent verification loop to check code quality.” - This absolutely isn’t happening. ”Before the massive rise of LLMs, which tanked its traffic by about 50% over the last couple of years, Stack Overflow was the go-to website for millions of programmers seeking coding solutions.” - It still is trusted, because the community of users, blocked other users from submitting false and misleading answers generated by AI agents that can be convinced something it generated is actually incorrect even if it’s actually correct. The company itself doesn’t know what it wants to be so it keeps trying and failing to introduce AI features to the platform. This effort will also fail, already submitted one successful poison pill, look forward to generating more.
  • Recent Achievements

    • One Month Later
      Sopa flores earned a badge
      One Month Later
    • First Post
      StaticMatrix earned a badge
      First Post
    • Week One Done
      StaticMatrix earned a badge
      Week One Done
    • Rookie
      lamborghiniv10 went up a rank
      Rookie
    • One Month Later
      pinnclepd earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      524
    2. 2
      PsYcHoKiLLa
      211
    3. 3
      +Edouard
      160
    4. 4
      Steven P.
      98
    5. 5
      ATLien_0
      83
  • Tell a friend

    Love Neowin? Tell a friend!