Installing Ubuntu 12.04 LTS on Virtualbox (with screenshots for beginners)

Posted: October 14, 2012 in Linux / Redhat
Tags: , , ,

This is a newbie guide to  installing Ubuntu 12.04 LTS in Virtual Box.

Stuff you will need:

1. Ubuntu ISO Image file : You can download either the 32 bit version or the 64-bit version. Using the 64-bit version will have better performance in my opinion. Download Link (~694 MB)

2.Virtual Box : Download Link  (~90 MB)

3. Disk Requirements : Atleast 8 GB of free space.

Installation Steps:

After you have downloaded Virtual Box and Ubuntu 12.04, open up Virtual Box. You would see a window like this:

 
Now, press on “New“. And then type any name in “Name”, Type as “Linux”, and Version as “Ubuntu“. If you downloaded the 64 bit version of Ubuntu , then use “Ubuntu (64 bit)” .

 

Now, set the amount of RAM anywhere from 512 MB to 1024 MB. You can increase this to 2048 MB if you have lots of RAM.

Specifying RAM image

Now, select the option “Create a virtual hard drive now“, and press “Create“.

Create Disk Image

Now, set the type of Hard Disk File Type to “VDI” and press “Next“.

hd type image

Now, you have to specify the “File Location” and “Size” of your Virtual Hard Disk. This will be space which will be used by your Ubuntu OS after installation. Its recommended to use at least a minimum of 10GB to 15 GB. The File Location is where your Virtual Hard Disk will be stored. You choose any location you want or simply use the default location. After specifying the Location and Size, press “Create“.

Disk space Image

Now,you can select whether you want your hard disk to grow dynamically i.e. it will grow according to the data or “static”. Select “Dynamically Allocated” option and then press “Next“.

Dynamic Allocation Image

Now, you would come back to the initial screen but now you will see the virtual machine you created here.

Now, press “Start“. And select the Ubuntu ISO image file you downloaded earlier. Then press “Start“.

Select iso Image

 

Now, choose the “Language” and press “Install Ubuntu“.

Menu Image

In the next screen , click on “Continue“.

Now, select “Erase disk and install Ubuntu” and press “Continue“.

Installation type img

Now, select the drive and press “Install Now“.

Select Disk Image

Now, choose your “Keyboard Layout” and  “Location“, and other enter details such as “Username” and “Password” when prompted. It will copy all the setup files and then begin to install Ubuntu onto your Virtual Hard Disk.

copying files image

After it is done installing, it will prompt you asking you to Reboot. Click on “Restart Now“.

Rebbot Now Img

After the reboot is complete, you will see the Login Screen. Click on the username to select and enter your password and press Enter to login.

Login Screen Image

 

This is a screenshot of my Ubuntu Desktop after installation.

Ubuntu Desktop Screenshot

So, yeah! hoping you got yours successfully installed. If you have any sort of queries regarding this installation , feel free to leave a comment.

Don’t forget to follow my blog to get future updates!

ΞXΤЯ3МΞ

Comments
  1. linuxhospital says:

    helped me a lot

  2. Abdullah says:

    Helped me a lot. Thanks for the straightforward installation guide Extr3m🙂

  3. John says:

    Idea…add a blurb about partitioning the alloted space into seperate partitions. As i am a Windows slave, i can partition my HDD 20 different ways from Sunday, but not sure about all the different types and boot locations supplied in the Custom HDD design.

  4. Dinesh says:

    Thank you for your posting. After the installation of ubuntu 12.04 in virtualbox on windows 7 as a host, i get a message that ” you are running in low graphics mode” and this gives me a big problem. I pressed ok, after this whole system freezes. Any solution please. I will be very grateful for this. Thank u.

  5. geetha says:

    superb……………. we got it…great help……thanks a lot 🙂🙂

  6. smithy says:

    Best Installation guide (y)🙂

  7. Hollow Grace says:

    which drive will be erased and on which drive will it be installed??????

  8. gagandeep says:

    I tried to install ubuntu step by step as you give in above post . but it still giving error.

    I am using ubuntu 12.04.3 32bit. i just tired to try it again and again please give me solution i want to use ubuntu. i tried it as dual boot with window 7 but i also failed there .

    The error that virtual box show is like :

    Failed to load VMMR0.r0(VERR_SVM_DISABLED).

    please give me solution for this error. i will very thank full of you.

  9. I’m using Virtual Box 4.2 in windows 7 and trying to install Ubuntu 12.04 x32 but every time it starts in command mode install. after finished install there’s no GUI.

    • ΞXΤЯ3МΞ says:

      @enigmaticmizan

      How much RAM did you allocate for your VM? And did you perform a custom installation?

      Regards
      ΞXΤЯ3МΞ

      • @ΞXΤЯ3МΞ

        I allocate 512MB RAM for Ubuntu 12.04 and when installation process start it always goes to command mode.

      • ΞXΤЯ3МΞ says:

        @enigmaticmizan, Please try allocating 1 GB of RAM and check. Also, please post your computer config:

        Processor , Host OS type, 32-bit or 64-bit , Amount of RAM, Version of Virtual Box you are using.

        And are you using the 64-bit Ubuntu or 32-bit Ubuntu?

        Regards
        ΞXΤЯ3МΞ

  10. Please help me to solve the problem

  11. Sriram says:

    Terrific. It worked perfectly

  12. samit009 says:

    bro i have a great problem when mu ubuntu restarted…. its again show me the install page what can i do now???

  13. Ankit says:

    Thanks alot mate, simple and clear installation guide
    Cheers !!!!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s