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

    • I agree when are you going to read this (really poor BTW) article?
    • I disagree; they come off very "bitchy" and "whiny". Make a great product and combine that with a great price (free) and people will come over to your side. Or build it and they will come as they say. Constantly trying to get attention by complaining all the time, will turn people off to your product.
    • It use to be a nightmare, with LibreOffice supporting a newer draft ODF standard by default, and Microsoft Office supporting the older non-draft standard. Now that they both support the same version of ODF, they should be interoperable.
    • Brave Browser 1.91.171 by Razvan Serea Brave Browser is a lightning-fast, secure web browser that stands out from the competition with its focus on privacy, security, and speed. With features like HTTPS Everywhere and built-in tracker blocking, Brave keeps your online activities safe from prying eyes. Brave is one of the safest browsers on the market today. It blocks third-party data storage. It protects from browser fingerprinting. And it does all this by default. Speed - Brave is built on Chromium, the same technology that powers Google Chrome, and is optimized for speed, providing a fast and responsive browsing experience. Brave Browser also features Brave Rewards, a system that rewards users with Basic Attention Tokens (BAT) for viewing opt-in ads. This innovative system provides an alternative revenue model for content creators and a way to support the Brave community. SlimBrave Neo takes all the good things about Brave and makes them even better by keeping everything clean, light, and privacy-focused. It removes the extra clutter, turns off features you might not need, and cuts down on anything that could slow you down or collect unnecessary data. Because it relies on simple settings and policies instead of modifying the browser itself, you still get full Brave compatibility—just in a smoother, lighter, and more privacy-friendly package. Brave Browser 1.91.171 changelog: General Fixed Cardano not being disabled on upgrade to Brave Origin. Upgraded Chromium to 149.0.7827.103. Origin Removed “Survey Panelist” setting from brave://settings/privacy. Fixed P3A and usage ping under brave://settings/privacy being displayed on first launch on Linux. Upgraded Chromium to 149.0.7827.103. Download: Brave Browser 64-bit | 1.2 MB (Freeware) Download: Brave Browser 32-bit View: Brave Homepage | Offline Installers | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Hi. As the title suggests, I can't access the forum on my phone. I'm using Edge on Android and when I try to navigate to the forum I get a "we value your privacy" popup and none of the buttons are clickable. It effectively stonewalls me from reading any forum content.
  • Recent Achievements

    • Rookie
      Marzoid went up a rank
      Rookie
    • Community Regular
      coch went up a rank
      Community Regular
    • One Year In
      slackerzz earned a badge
      One Year In
    • One Year In
      highriskpaym earned a badge
      One Year In
    • One Month Later
      highriskpaym earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      519
    2. 2
      PsYcHoKiLLa
      190
    3. 3
      +Edouard
      156
    4. 4
      Steven P.
      84
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!