Hot answers tagged

162 votes

How can I install Linux and Windows 7 to run side by side, not requiring reboot?

There are two additional ways of running Windows and Linux side by side that you haven't mentioned in your question: You could install Windows Subsystem for Linux if you are running 64-bit Windows 10....
  • 4,959
138 votes
Accepted

Why can't VirtualBox or VMware run with Hyper-V enabled on Windows 10

VirtualBox and VMware Workstation (and VMware Player) are "level 2 hypervisors." Hyper-V and VMware ESXi are "level 1 hypervisors." The main difference is that a level 2 hypervisor is an application ...
  • 1,550
64 votes
Accepted

Sharing a folder between windows 7 and mac os x on vmware

You need to follow this procedure in order to share files between Windows 7 and Mac OS X on VMWare : Go in your virtual machine settings and select 'Options' tab. Click on 'Folder Sharing' and tick '...
58 votes

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

It's possible, yes, and it doesn't necessarily have to be slower, since these days it's not emulation anymore, it's virtualization – most CPUs support hardware-assisted virtualization (VT-x and such), ...
  • 399k
53 votes

How can I install Linux and Windows 7 to run side by side, not requiring reboot?

I believe that the solution with the least overhead would be using Linux as your primary OS and using KVM (kernel-based virtual machine, not a KVM switch though that could be used as well) to ...
42 votes

What is the difference between NAT / Bridged / Host-Only networking?

The below table shows the connectivity between VM and Host for different network types. Please see Virtualbox Docs: Networking for a brief explanation of the modes. '+' means 'yes, this direction of ...
  • 521
41 votes

Why can't VirtualBox or VMware run with Hyper-V enabled on Windows 10

Starting from Windows Redstone 4 build, QEMU will be able to run under Hyper-V by employing the Windows Hypervisor Platform API. The Windows Hypervisor Platform accelerator (WHPX) is being integrated ...
  • 553
37 votes

How to reduce the size of VMware disk

There are three steps: Defragment (no need to un/remount anything) sudo e4defrag / Ignore any errors. Some files like symlinks and device files can't be defragmented. Zero-fill all unused space so ...
  • 2,194
28 votes

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

qemu will let you use block devices like /dev/sda2, etc. as virtual hard drives. VMWare does as well. Not sure about Virtualbox. When you boot /dev/sda2 in a VM, it will have a similar effect as ...
  • 71.9k
24 votes

What is the difference between NAT / Bridged / Host-Only networking?

While the other answers here provide good descriptions for the NAT and Bridged modes, their explanations for Host-only mode are not quite accurate. From VMware's documentation, under Configuring ...
  • 2,874
24 votes
Accepted

Is it possible to autostart a VMware virtual machine in background as a Windows service, and shut it down elegantly when Windows shuts down?

If you're using VMware Workstation, you could make the VM a "Shared VM" and can configure it to automatically start (in the library, right-click on "Shared VMs" and choose "Manage AutoStart VMs"). By ...
  • 2,874
23 votes

VMWare tools install failure. Unable to find "depmod" progam

depmod and other tools are found inside /sbin/. After entering these paths manually when the install script asked for them, it showed me that I should instead use the open-vm-tools packages, see http:/...
22 votes

Is it possible to autostart a VMware virtual machine in background as a Windows service, and shut it down elegantly when Windows shuts down?

You can also use the vmrun command. You can use a script to start a VM, for example: vmrun -T ws start "F:\VMWare-VMs\S1.vmx" and you add the script at Windows startup. More info about ...
22 votes
Accepted

VMware Tools for Ubuntu 16.04 LTS Xenial

Check out the "vmhgfs-fuse" command. I was able to do the following: I made a directory to mount the hgfs share, let's call it ~/vmshare. Then I did: vmhgfs-fuse ~/vmshare On my system, with the ...
20 votes

Should I split VMware virtual disk into multiple files or not?

Disadvantages of monolithic disks: If you delete snapshots and need to consolidate unused .vmdk files, if you need to defragment .vmdk files, etc., then your host needs as much free space as the ...
  • 2,874
19 votes

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

It is completely possible, in fact, I used to do this! I had one partition / disk (I forget which) with Windows one with Linux, I think it was in the days of Windows XP (admittedly, that did last ...
  • 764
18 votes
Accepted

Unable to ping from VM's to host machine

In Windows 7 (also the case in Windows 8/10) by default the Windows Firewall is set to block ping requests. To be able to ping your host from one of your virtual machines--or anywhere else on your LAN,...
  • 7,338
15 votes

can the spectre security vulnerability be in a virtual machine?

Yes Spectre can cross host/guest, guest/host and guest/guest boundaries because this is a CPU level flaw that means that potentially sensitive information can be leaked across anything that runs on a ...
  • 86.7k
14 votes
Accepted

Should I split VMware virtual disk into multiple files or not?

There seems little point in splitting an image file unless you're creating it on a FAT32 volume or network share that has file size restrictions. VMware has this to say: Select Split virtual disk ...
  • 11.2k
12 votes
Accepted

git clone fatal: 'origin' does not appear to be a git repository for VMware vmhgfs share

I had the same problem, also in a VM (although Ubuntu 14.04 under VMWare Workstation). The problem was a permissions problem between my Ubuntu VM guest user and my Windows host user. Although on the ...
11 votes

Convert a USB drive into a Virtual Machine HDD

for those wanting to convert the drive instead of using a transparent virtual disk, or link... (took me around 20 minutes to convert a 32GB USB drive to vmdk) VBoxManage convertfromraw \\.\...
11 votes

Sharing a folder between windows 7 and mac os x on vmware

Unlike other answers posted so far, this one explains how to connect the host and guest via VMware Shared Folders. Install VMware Tools in the VM If a security dialog pops up saying that a system ...
  • 1,861
11 votes

How can I install Linux and Windows 7 to run side by side, not requiring reboot?

As all the other answers to this question have mentioned, virtualization is the way to go. One way to minimize the performance penalty would be to run Windows as your primary OS, and virtualize a ...
  • 241
10 votes

Getting 1920x1080 resolution or 16:9 aspect ratio on Ubuntu or Linux Mint

@InvalidBrainException's answer is great. In addition, in order to it make it permanent and prevent running commands on each restart, you can write the following configs into file /etc/X11/xorg.conf.d/...
10 votes
Accepted

Manually add a resolution to Gnome with Wayland

tldr -- On Gnome, you can set kernel boot parameter to manually override the resolution of your monitor. If you're using the Weston implementation (which apparently Gnome isn't), you can configure ...
9 votes
Accepted

Windows 10 task manager shows 0% cpu under vmware

Uninstalling Hyper-V, which windows installed by default for some reason, solved this problem and many other problems I had with my virtual machine. It can be uninstalled using the following steps: 1....
9 votes

VMWare and Docker on Same Windows 10 PC

This is now possible after Windows 10 May 2020 Update (Build 19041) with WSL2 Install WSL 2 Linux Kernal Turn on Virtual Machine Platform Windows Feature Hyper-V, Windows Hypervisor Platform and ...
  • 91
8 votes

Open-VM-Tools vs VMware-Tools

In recent versions of VMware, it recommends the use of open-vm-tools This is the KB http://kb.vmware.com/kb/2073803 Which basically said: VMware recommends using open-vm-tools redistributed by ...
  • 181
8 votes

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

Interestingly, for those running VMware Fusion on a Mac, with a Windows bootcamp partition, it's possible to start a virtual machine that runs off the bootcamp partition: VMware Fusion allows you ...
  • 181
7 votes

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

I did that. It's pretty useful, but there are some limitations and setting it up isn't trivial. The native-or-VM OS must be tolerant about hardware it runs on. Most Linux distros don't care and just ...
  • 54.7k

Only top scored, non community-wiki answers of a minimum length are eligible