7 Practical Reasons to Start Using a Virtual Machine

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.


The term “virtual” has been co-opted in so many ways that it’s now more vague and confusing than ever before. Virtual reality. Virtual RAM. Virtual schools. The virtual keyword in programming languages. But the most unclear? Virtualization in the context of PCs.

Virtualization (AKA the use of virtual machines What Is a Virtual Machine? Everything You Need to Know Virtual machines allow you to run other operating systems on your current computer. Here's what you should know about them. Read More ) is when you take one set of physical resources, like CPU and RAM and hard drive space, and allocate them into discrete chunks that are each seen as separate systems. But they aren’t “real” systems. One computer could be divided into many “virtual” systems.

The easiest way to do this is to use the free VirtualBox software. But the biggest question is… why? What’s the point? How can virtualization serve you? Here are some of the more practical ways you can use a virtual machine for your benefit.

1. Try New Operating Systems

Let’s say you’ve been a Windows user all your life but you’re feeling adventurous and want to get a taste of Linux. What are your options? You have several What's the Best Way to Run Multiple Operating Systems on Your PC? Undecided between Windows and Linux? It's possible to run multiple OSes on a single machine either by dual booting or using a virtual machine. Let's find out which one is best for you. Read More , including a dual boot setup, but one could argue that you’d be happiest with virtualization.

On your Windows system, just install VirtualBox and create a new virtual machine. Then take any Linux installation ISO (I recommend a recent version of Ubuntu or Linux Mint) and install it on the virtual machine. Now you can run Linux (the “guest” OS) in a window within Windows (the “host” OS) like any other program.

This is actually the most secure way to test a new operating system Testing A New Operating System? Stay Secure With A Virtual Machine Read More because the virtual machine acts as a sandbox — if something goes wrong in the guest OS, it won’t affect the host OS. If there’s a catastrophic failure, you can simply recreate the virtual machine and reinstall the OS. No bricked computer!

2. Run Old or Incompatible Software

A few years ago, I was working on a novel in my preferred writing app at the time, Scrivener. That happened to be during my Linux phase, and while a Linux version of Scrivener did exist, it was in beta development What Does "Beta Software" Really Mean? What does it mean for a project to be in beta and should you care? Read More and didn’t have all of the features of the Windows or Mac versions.

So I installed VirtualBox, created a virtual machine, installed Windows 7 on it, then installed the better version of Scrivener. With Linux as my host OS running Windows as my guest OS, I could conveniently benefit from the best of both worlds and basically emulate software from another platform How Does Emulation Work and Why Is It So Slow? You've probably heard of emulation before, but do you know what emulation actually means or how it works? Read More .

Another example could be running Windows XP-only software on Windows 10 or running Linux-only software on Mac.

3. Deliberately Execute Malware

Due to the sandboxed nature of a virtual machine, you can be reckless with security and do things that you normally should avoid. For example, you should never open unsolicited email attachments 7 Important Email Security Tips You Should Know About Internet security is a topic that we all know to be important, but it often sits way back in the recesses of our minds, fooling ourselves into believing that "it won’t happen to me". Whether... Read More because they could be malware in disguise or harmful in other ways.

But a virtual machine can be a great way to test suspicious files for malware Found a Suspicious File? Test It In A Virtual Machine! Don't run that suspicious file on your PC to check if it alerts your anti-virus software - instead, find out what it is capable of by running the file in a virtual machine. Read More . Moreover, you can use virtual machines to deliberately run viruses to see how they play out in real-time, whether out of curiosity, research, or boredom.

Note that there is some risk in doing this: newer malware may be able to detect that your environment is virtualized and seek to break out from the guest OS to the host OS. But if you’re going to test a suspicious file, always do it in a virtual machine anyway — just in case.

4. Tear Apart Your System

If you’re particularly techy, virtual machines allow you to explore and experiment with your system without fear of repercussion. This can be a nifty way to become a practical expert on one or more operating systems.

For example, you can virtualize Windows 10 within Windows 10 and use the guest version to tinker with the registry 5 Windows 10 Registry Tweaks to Improve & Unlock Features The registry editor is the only way to enable some of Windows 10's hidden features. Here we'll show you easy tweaks like enabling the dark theme or hiding folders. Read More . If you’re curious about the System32 directory, use the guest OS to open files, edit files, or even delete files. See how far you can go before wrecking your system, then recreate and try again.

I find this especially useful when learning Linux and the command line. While the command line offers lot of power and can do so many cool things 7 Neat Linux Tricks That Newbies Need to Know As a Linux newbie, it's normal to struggle. Everything just feels so different from Windows and you find yourself scratching your head at the simplest of tasks. Read More , sometimes one mistake can cripple the system. A virtual machine can get you familiarized without any of the risk.

5. Create Backup Snapshots

One excellent reason to start using a virtual machine is the ability to create system-level snapshots that can be instantly restored on demand.

Imagine you want to install a new app that’s untested and possibly unstable. Or maybe you want to uninstall a bunch of software you’ve accumulated over the past few months. Or maybe you just want to tweak some system configurations. But in all cases, you’re hesitant due to uncertainty.

Just take a snapshot before plowing ahead. If something does go wrong, you can restore the snapshot and move on as if nothing happened. These backups are like a more comprehensive System Restore, and best of all, they’re saved as single files that you can move and store elsewhere (like an external drive 7 Things to Know When Buying a Data Drive for Backups Thinking about buying a data drive for storing file backups? Here's what you need to know if you want to make an informed decision. Read More ).

6. Clone a System to Another Machine

Since the entire contents of a virtual machine is stored on a single file, you can easily transfer that file to another computer How to Transfer Files Between a Virtual Machine Guest and Host PC Need to share data from a host PC to a virtual machine OS? Here's how to share data using copy and paste, USB, and shared folders. Read More and load it up without any issues (as long as you use the same virtualization software, of course).

For example, VirtualBox VMs are stored as VDI files. Regardless of which host OS you were using, you can copy that VDI file and load it in as a guest OS on another computer running VirtualBox. This effectively creates a clone of your system that you can carry around with you anywhere you go.

And if you use VMware Player, it gets even better. With VMware vCenter Converter, you can take a current non-virtual installation of Windows or Linux and turn it into a virtual image that can be loaded in by VMware Player on another computer. Quite a nifty way to migrate operating systems Migrate to Linux without Leaving Windows Behind with a Virtual Machine Conversion You can have the best of both worlds: Merge Linux with your Windows setup. We show you how to import your complete Windows system into a virtual machine running in Linux. Read More !

7. Develop Software for Other Platforms

Despite being last on this list, I consider this the second-most practical use for virtual machines: it simplifies the workflow for testing apps and websites across multiple platforms.

For example, if you’re creating a game that can be played on desktops and mobile devices, you can use virtual emulation to test various executables right on your computer. Instead of ferrying APKs back and forth to your Nexus, you can just emulate it — along with virtual versions of Samsung, HTC, and Moto devices.

Virtualization also lets you compile to other executable types. Even if you use a cross-platform framework, you may only be able to compile APP files on Mac and EXE files on Windows. Instead of dual-booting for every build, virtualization simplifies the process (especially if you’re using source control What Is Git & Why You Should Use Version Control If You’re a Developer As web developers, a lot of the time we tend to work on local development sites then just upload everything when we’re done. This is fine when it’s just you and the changes are small,... Read More ).

Get Started Using Virtual Machines

Before you dive into virtualization, note that you’ll need a semi-powerful computer to really make use of it (i.e. modern CPU, at least 8 GB RAM, and a large hard drive). Trying to run a virtual machine on a weak computer will be a frustrating experience at best. We also have some tips for best virtual machine performance 6 Tips for Faster Virtual Machine Performance Is your virtual machine too slow and sluggish? Here's how to optimize your setup for better virtual machine performance. Read More to help you out.

To get started, I recommend our guide to using VirtualBox How to Use VirtualBox: User's Guide With VirtualBox you can easily install and test multiple operating systems. We'll show you how to set up Windows 10 and Ubuntu Linux as a virtual machine. Read More . For a practical step-by-step example, see our post on setting up a Windows VM in Linux How to Set Up a Windows Virtual Machine in Linux Many home users prefer to run a dual-boot setup when both Windows and Linux are needed, but if you'd rather run Windows inside Linux, here's how to set that up. Read More . If you’d rather use VMware Player instead, check out our introduction to using VMware Player Run Multiple Operating Systems At Once With VMware Player We’ve lavished attention on VirtualBox here at MakeUseOf, and for good reason. However, VirtualBox isn’t your only option for creating and using free virtual machines. VMware Player, VMware’s free product, is every bit as good... Read More .

Do you use virtualization at all? If so, what do you use it for? Got any virtualization tips to share with us? Let us know in the comments!

Explore more about: VirtualBox, Virtualization.

Whatsapp Pinterest

Enjoyed this article? Stay informed by joining our newsletter!

Enter your Email

Leave a Reply

Your email address will not be published. Required fields are marked *

    December 13, 2019 at 3:18 pm

    hi techies! anyone got some info or reliable steps to install mac os 10 snow leopard in virtual box? i tried with youtube but its very confusing and difficult. thanks !!!!!!

  2. Nicole
    April 19, 2019 at 12:55 am

    You forgot to mention that it's an awesome tool for scam-baiting :)

  3. Pram
    June 30, 2018 at 7:23 pm

    Will it be possible to run virtualbox in core i3 processor with 4GB ram windows 7 ?
    Can I allocate 1.4 Gb ram to virualbox ?

    I will use only light image editing software which requires minimum 1GB of ram.

    How many minutes will it take to install windows 7, 32 bit in virtualbox ?

    Awaiting your reply.

    • Dale
      October 5, 2018 at 1:59 pm

      I'm late to the party here but 4GB of RAM is not enough to run your host OS and virtual OS. I'd recommend a minimum of 8GB of RAM and a quad-core processor to run a virtual machine. This will give you 4GB for each OS. 2GB for each OS unfortunately is not enough anymore. I hope this helps!

  4. Alku
    October 30, 2017 at 4:19 pm

    Thank you for the information, it was useful and very well explained,
    I also did a bit of research on my own and found more information about this topichttps://blog.mailfence.com/virtual-machine/