Tip

Using VMware Player to virtualize Linux and other OSes for free

VMware Player 5 lets you try new OSes and support legacy systems. In this tip, find out how to use Player to virtualize Linux Mageia 2, a new OS.

    Requires Free Membership to View

Figure 1. Check CPU and memory stats in your host machine under Windows Task Manager.

While studying the current popularity of various Linux distributions, I came across Mageia 2, released in 2012. I didn't know anything about the OS, which made it a great candidate for a trial run in VMware Player 5.

Player 5 boasts low hardware requirements and an easy install. Check that your host machine meets the hardware requirements for a guest OS [in the form of a virtual machine (VM)], leaving the resources available even when the host is up and running applications. If your new virtualized OS's memory requirement is 1 GB, that means that your host system must leave at least 1 GB of free space when running.

Figure 2. In the new Virtual Machine Wizard, VMware Player will attempt to detect what OS you want to virtualize, but it didn't recognize Mageia 2.

These are the hardware requirements for Mageia 2:

  1. Any AMD, Intel or VIA processor;
  2. 512 MB or more memory, 2 GB recommended;
  3. Depending on the installation, 1 GB to 6 GB reserved on the hard drive;
  4. Any ATI, Intel, Matrox, Nvidia, SiS or VIA graphics card.
Figure 3. When testing Mageia 2, I had to make some educated guesses about the OS.

Monitor available resources in your host system (Windows 7 here) by opening Windows Task Manager and viewing the Performance tab (see Figure 1).

How to download and install Mageia 2

Figure 4. Name the guest OS. I chose "Mageia2" for the VM.

To install a new OS, you'll either procure software or use a VMware appliance. To test Mageia 2, I downloaded an .ISO file, then created the new VM.

In VMware Player's File menu, select "New Virtual Machine." Initial install options include virtualizing the OS from a physical disk or an .ISO file (used in this example), or building a blank disk to install the OS later. Depending on which OS you virtualize, Player may detect one that matches your installation media.

In this case, Player did not detect the Linux distribution I was virtualizing (see Figure 2), so I selected my guest OS and version manually (see Figure 3). With no option for Linux Mageia 2, I chose Linux Mandriva: Mageia's creators based the distribution off of Mandriva. When testing out unlisted OSes such as the newcomer Mageia 2, you have to use a bit of trial and error.

Figure 5. I created a 10 GB disk size -- smaller than what Player recommends for virtualizing Linux Mandriva -- and left it as a single file.

Give your new VM a name and designate storage for its files (see Figure 4). Select your disk partition's size and how to store it: single disk file or multiples (see Figure 5). If you select multiples, VMware Player 5 will break up any disk smaller than 950 GB into separate 2 GB disks. The Help button here will give you more details to influence your choice.

Before finalizing the installation, look through your "Customize Hardware" options to allocate memory to the VM, configure its network and make other tweaks to Mageia 2.

While virtualizing Mageia 2, Player prompted me to install VMware Tools.

Once everything looks good, select "Finish" and follow any prompts to download and install VMware Tools (see Figure 6), then keep one eye on the screen while Linux Mageia 2 installs (see Figure 7).

Figure 7. The Linux Mageia 2 installation is under way.

Once Mageia 2 came up, it offered a prompt to update to the latest version, which added 590 new packages automatically.

After building the new VM and installing Mageia 2, it's time to get in there and use it, break it, fix it and build a new one. VMware Player 5 is a great tool to create and test Linux OS VMs and learn some new things, like how to work with an unlisted OS.

This was first published in February 2013

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.