EzDevInfo.com

vmware interview questions

Top vmware frequently asked interview questions

Can a hypervisor like VirtualBox be used to launch a virtualized OS which is also directly bootable?

This question is rather theoretical:

Suppose I have a PC with two different OS on two different partitions: OS1 on sda1 and OS2 on sda2. Is it somehow possible to set up a program like VMWare or Virtualbox in OS1, which accesses sda2, boots it and runs OS2? On the other hand OS2 should be bootable directly, as well.

I realize that the emulated OS2 would be an awful lot slower and probably noone would really use this setup, but I find this very interesting.


Source: (StackOverflow)

Advertisements

gcc path not valid when installing VMWare Tools from VMWare Workstation 7.1.1 build-282343 on Debian squeeze

I am trying to install VMWare tools on Debian Squeeze.

My error:

Before you can compile modules, you need to have the following installed... 

make
gcc
kernel headers of the running kernel

Searching for GCC...
The path "/usr/bin/gcc" is not valid path to the gcc binary.
Would you like to change it? [yes] 

uname -a:

Linux debian 2.6.32-5-686 #1 SMP Sat Sep 18 02:14:45 UTC 2010 i686 GNU/Linux

dpkg -l | grep make

ii  make                                 3.81-8                               An utility for Directing compilation.

dpkg -l | grep gcc

ii  gcc                                  4:4.4.4-2                            The GNU C compiler
ii  gcc-4.4                              4.4.4-8                              The GNU C compiler
ii  gcc-4.4-base                         4.4.4-8                              The GNU Compiler Collection (base package)
ii  libgcc1                              1:4.4.4-8                            GCC support library

whereis gcc

gcc: /usr/bin/gcc /usr/lib/gcc

Source: (StackOverflow)

How do you send Ctrl+Alt+Delete to Windows in VMWare Player

I run VMWare player 2.5.0-118166 from Ubuntu 8.10 using Gnome 2.24.1.

  • I can find no menu options to send the combination to the welcome screen.
  • Ctrl+Alt is being picked up by VMWare Player and releases input, so Ctrl+Alt+Del/Ctrl+Alt+Ins can't be typed in directly.
  • Ctrl+Alt+Space should suppress VMWare Player from picking up the next keyboard input, but following this with Ctrl+Alt+Del or Ctrl+Alt+Ins does not seem to work.

So I'm stuck, not able to log in to my Windows image.. How can I send a Ctrl+Alt+Del to Windows within VMWare Player?


Source: (StackOverflow)

When installing Mint Linux in VMware player which OS version should I select?

I just downloaded the iso for the 64bit version of Mint Linux. I want to run it from Windows and to do this I installed the free version of VMware player. It said it couldn't auto detect the type of operating system and is asking me to specify. I choose Linux and it gave me the sub category to choose from a whole bunch of versions such as Debian, Ubuntu, "other" and the 64 bit versions of them. Which one should I select (Mint isn't on the list)?

screen shot of different options to choose from in the new virtual machine wizard


Source: (StackOverflow)

VMWare shared folder out of sync

After booting the guest system, the shared folders are in sync and all works well. As soon as I make a change to one of the files on my host system (Windows 7), the file on the guest system (Ubuntu) loses its last characters and still has the old version. The actual change is not synced. However, the version on the guest gets truncated. If I delete the file on the host and create a new one with new content, everything is in sync again.

It all started happening when I updated VMWare player 6.0.1. And its happening for my Ubuntu guests only (Redhat works fine).

How can I tell VMware tools to force a sync on the shared folders?

Host: Windows 7
Guest: Ubuntu 12.04.3 LTS
VMWare: 6.0.1 build-1379776
VMWare-Tools: VMwareTools-9.6.1-1378637.tar.gz

Source: (StackOverflow)

What's better a better VM app: VMWare, Parallels or Virtual PC [closed]

From a Windows developer's perspective, which VM application is the best? Why?


Source: (StackOverflow)

RedHat Enterprise Linux 6 - Edit Hostname

I'm currently trying to edit my hostname in a RedHat Enterprise Linux 6 virtual machine but I have some problem.

I tried using the function hostname like this:

hostname -v bravo.cmweb.com

And it works, I call the function and the hostname as been edited successfuly.

Then, I reboot the machine et then, oups, the hostname is again localhost.localdomain.

Now, I want to ask: how I can edit permanently the hostname in Linux??


Source: (StackOverflow)

Does VMware have a tool for converting from Virtual Machines to Physical Disk Image (Reverse of Converter basically)

Does VMware have a tool for converting from Virtual Machines to Physical Disk Image (Reverse of Converter basically)?

Alternatively, is there a 3rd party tool that can do this from Vmware images?


Source: (StackOverflow)

Open-VM-Tools vs VMware-Tools

What is the difference between the Open-VM-Tools package and the tool that come with VMware ESX/ESXi?

The wondering this because the ones from VMware are not compiled for anything but RPM and I use Debian. In the past I just compiled them on each machine as per VMware instructions.

But there are a few things I was messing with, like a UTM software called Untangle. And to avoid issues related to opening Untangle up to the vanilla repos I was wanting to try a stab at the Open-VM tools.

Any help would be appreciated.


Source: (StackOverflow)

Limiting CPU speed in a virtual machine?

Does anyone know of a way to limit the CPU speed in a virtual machine? Or if there is even a virtualization software that allows you to do this?

I am trying to find the minimum requirements for a system, given a specific OS image that I have. I see ways to limit RAM and hard disk size and number of cores, but I need to slow the CPU down to 800 MHz in order to really simulate the system configuration. Also, the computer running the virtual machine is a Windows 7 machine.


Source: (StackOverflow)

Back / Forward mouse buttons do not work in VMWare Workstation 6.5 Guest OS

I am using a Logitech G9 mouse and running VMWare Workstation 6.5.3 on Vista x64. The guest OS is Win XP, and has the most current version of VMWare Tools installed. Left / right buttons and mouse wheel scrolling work fine in the guest OS, but the back / forward buttons are apparently not recognized.

I have tried installing the Logitech software inside the guest OS as well, but it still did not recognize the back / forward buttons. (I didn't really expect this to work since the guest OS doesn't actually see the mouse hardware as a Logitech G9 directly anyway.)

I vaguely remember seeing something a while back about editing the virtual machine config file to specify a 5-button mouse rather than the default 3-button setup, but I can't seem to find any specifics on how to do so in the VMWare documentation. Does anyone know if such a workaround exists, or is 5-button mouse functionality just not supported?


Source: (StackOverflow)

How to move a partition to the end in gparted?

I can't find a way to move the partition /dev/sdb2 to the end, where 12GB are free.

enter image description here

I can resize (expand) the partition, but not create (insert) any free space in front of it.

How to do the trick?

(There are 2 small black arrows on the top of the popup window in the screenshot at the side of the blue box that represents the 400 GB sdb2 - I can only move the right arrow to the right, which extends the size, but I cannot move the left arrow. When I enter something in the free space preceding box it is always reset to zero by the programm immediateley)

I hope I explained this well enough, please feel free to ask for details.

This is serious for me as I am expanding a live image.

Maybe there is another solution with linux commandline tools ?


Source: (StackOverflow)

How can I access a shared folder from VMware workstation?

I have a Windows XP SP3 virtual machine, and I set a shared folder at the Windows 7 host which is running VMware workstation.

How can I find the shared folder when I am in the VM? I have nothing in My network places.


Source: (StackOverflow)

How to start VMware virtual machine guests automatically after booting up?

We have a Windwos 7 host with VmWare 8 installed. After the Win 7 machine boots up, selected virtual machines should boot as well automatically. With automatically I mean, that no one has to login or do something manual at the host.

How can we do that?


Source: (StackOverflow)