Newbie Guide to Installing Linux as a Virtual Machine

liquidvApor —  November 19, 2012

This is a guide for installing a virtual copy of Linux and is intended for people who have NO idea what they are doing. Prior to writing this guide, I had absolutely no experience with Linux. As I went on this journey, I took notes so that I may spread my wisdom to others and soften the learning curve a bit. There are a few other guides out there for doing and install like this, but they are all really old and a lot has changed since then. Hopefully this guide will save you a lot of the headache and troubles that I went through.

Ubuntu? I thought I was installing Linux?

Ubuntu is a version of Linux! Well actually it is a Linux distribution intended to be more user-friendly. If you are coming from Windows or Mac to Linux, Ubuntu will be the easiest to transition to. That’s right, kids! Unlike the American presidential selection process, there is a third option! And this option is free.

As of 2012, according to online surveys, Ubuntu is the most popular Linux distribution on desktop/laptop personal computers,[10][11][12][13] and most Ubuntu coverage focuses on its use in that market. However, it is also popular on servers and for cloud computing.

Why a Virtual Machine?

If you are like me and you want to give Linux a try but you don’t want to fully commit a disk partition to an install, consider doing a Virtual Machine! It works as an emulator inside of Windows and you can switch back and forth without having to reboot every time. The whole “machine” is stored as a file in your hard drive, and you can delete it at any time.

What do I need?

First, for this guide you need to be running Windows 7 with SP1. I’m sure you can do this on a mac as well, but that’s not the focus of this guide. Be sure you have all updates installed.

Next get Ubuntu. It’s free. For this guide, I am using version 12.04. Originally I tried using the 12.10 install, but it kept failing. However, updates come out all of the time and there is a good chance these version numbers will be different for your install. I would recommend using the “Long Term Support” versions and not the cutting-edge beta versions. Also, I have an Intel processor, and the 64-bit version of Ubuntu does not like that, so I am using the 32-bit version.

To create the Virtual Machine, I used VMware Player. It’s also free and makes the installation VERY easy. For this guide, I am using version 5.01, build 894247.

Before using VMware Player, I tried using Oracle’s VirtualBox and I HATED IT! It is a pain in the butt to use, it fails for many reasons (like if you have Dropbox installed, for one), it takes down your ethernet and it even clobbered my drivers and gave me blue screen of death a few times. I think it is a piece of crap, but other people like it so use what works.

I also tried using VirtualPC from Microsoft but it didn’t work out either. For some reason, it thought the RAM I allocated to it was the size of the HDD and therefor I could not complete the install. I dunno what was up with that. Anyways, I highly recommend VMware Player.

Getting Started

Now that you have Ubuntu and VMware Player, it’s time to start the install. First, install VMware Player. Just double click the file and install it just like you would any other program.

1

Main install screen

I have a main Solid State hard drive that my system is on and another 1TB mechanical drive for my media. I installed my virtual machine on the secondary (mechanical) drive, but you can install on your main if you want. Be sure to have the checkbox on the “Download Product Updates” option checked.

;

2

VMware Main Screen

Once you start up VMware Player, you get the screen above. Click the button that says “Create a New Virtual Machine”. You will get the following screen:

3

For the “Installer Disk Image” select the Ubuntu .iso you downloaded earlier

Click the “Browse” button and navigate to the Ubuntu .iso you downloaded earlier. Continue through the install by inputting your user name and password. You will get to a screen that asks you to choose a size for your virtual machine. I have plenty of room on my drive and I plan on installing some games and later on (come on steam beta key!!) so I want room. However, you can use much less depending on your needs.

4

Since I plan on using this a lot, I chose the “single file” option. I don’t want anything slowing down on me. Continue following directions and watch the magic happen! VMware does most of the heavy lifting for you. It’s a good day to be a noob.

5

You shouldn’t have to do anything at all until this screen appears:

6

It’s that easy!

;

And you’re done! Pretty easy right? Now that you have it installed, poke around and do things. I will be putting together more guides and reviews in the future (one a week!) so keep checking back. Next week I will go over essential apps & utilities to install. I also plan on doing a guide to use your new Ubuntu install as a media server so you can broadcast your videos and music to all the devices in your house, so stay tuned for that. If you have any questions or ideas for guides that I can do, feel free to message me on Twitter @liquidvApor.

Now that you have Ubuntu installed, check out rechosen’s handy command line tips!

If the boot sequence takes too long for you, check out rechosen’s guide for disabling unused daemons!

Have fun!
X

liquidvApor

Posts Twitter

5 responses to Newbie Guide to Installing Linux as a Virtual Machine

  1. Meh… Live CDs gave me a taste of Linux 4 years ago and I liked it enough to install a dual boot.
    Im not sure what virtualizing gives you more.
    Anyone can put in a Live CD and run it. VM can work or it can be a pain in the ass or your machine not powerful enough…

    And by the way, Ive installed Linux on the computers of 12 different friends and family the past 18months. Ive offered Ubuntu, Kubuntu and Xubuntu to see which one they feel more comfortable using and NOT ONE Windows user chose Ubuntu.
    It was 8 for Kubuntu and 4 XCFE (one didnt have a choice because she has a much older computer).

    As for Virtualbox, its the only way we run Windows now and my 11 year old installed it just fine. Maybe the Windows version is different…..

    Kubuntu is the easiest for the Windows user to relate to.

    • Interesting! I’ve heard of Kubuntu but I haven’t used it. As I said, this was my first experience with Ubuntu/Linux. I’ll have to check it out! As for VB, there is little I could do to mess it up myself. It is merely an installer. I’m not sure, it must have disagreed with my hardware or my current install of Windows or something. I’m not sure. The install just kept failing and/or causing a blue screen. It might be “easy” but if it doesn’t install, it doesn’t install.

      As for using the Live CD or Virtual Machine…well it depends how long you want to use it for before actually pulling the trigger. If you want to install programs and use it for a long period of time, VM is the way to go. If you just want to mess around, Live CD is good. I like to bounce between Ubuntu and Windows tho, so it is handy. There is a community out there for VM installs, so obviously people want to go that route for whatever reason. More options = better!

Trackbacks and Pingbacks:

  1. Newbie Guide to Installing Linux as a Virtual Machine | Pinehead.tv - cPanel Knowledge - November 20, 2012

    [...] Newbie Guide to Installing Linux as a Virtual Machine | Pinehead.tv   If you enjoyed this article, please consider sharing it! [...]

  2. Links 21/11/2012: GNU/Linux Preinstalled on More Systems, Linux Rootkit Claimed | Techrights - November 21, 2012

    [...] Newbie Guide to Installing Linux as a Virtual Machine [...]

  3. Ubuntu – Getting Started | Pinehead.tv - November 27, 2012

    [...] you have done a fresh install of Ubuntu or you used my guide to install a virtual machine, you might be asking yourself “now what do I do?”.  Well, let’s get [...]