Download your favorite Linux distribution at LQ ISO.
Go Back > Blogs > sheshta
User Name


Rate this Entry

Installing Ubuntu in windows using Virtualbox

Posted 06-19-2010 at 09:24 AM by sheshta
Updated 06-19-2010 at 09:28 AM by sheshta

This Article First Appeared in Mostafa Sheshtawy's blog ( Images for the steps are located in the blog)

As everyone knows , The new Ubuntu (Lucid Lynx) is released. It is pretty awesome and more stable than the ones before it. If you haven't seen what's up with the new ubuntu and its new look, i recommend reading this blog post Quick Review on Ubuntu 10.04 .


So first step is downloading Ubuntu. It depends which version do you want. the 32-bit is the usually recommended specially for
virtual machines, as it runs on both 64-bit and 32-bit hosts.

Here are the Download links of the available versions of Ubuntu .iso images on the official repositories.
  • Direct Download Mirrors of all mirrors available. Download. ( then choose which version from your mirror)
  • Torrent Links for all available Ubuntu versions on Ubuntu servers. Download.

This guide will work on both Mac and Windows. All supported versions.

Virtual Box

It is the Open-Source application for running virtual machines ( e.g. Operating systems ) as guests on your host machine.

It is made by Sun Microsystems before it was acquired by Oracle. let's not talk about politics and install Ubuntu. You can Download Virtual Box for both Windows and Mac from this Link.

The installation process is simple, nothing complicated. HOWEVER it will disconnect the internet connection for a second, so if you are doing anything important. wait till you are done with it, then continue.

Alright, Now we have both Ubuntu iso image and Sun Virtual Box installed.

1) Creating New Virtual Machine
Click on the blue Icon New.

2) OS Type and Name

For this guide i will call it ( Ubuntu 10.04 ).
  • 32-bit Ubuntu : Choose Ubuntu
  • 64-bit Ubuntu : Choose Ubuntu (64 bit)

3) Amount of Ram

The Recommended is 512MB, but if you have more than 2 GB RAM machine, I would recommend 1024MB for a faster use.

4) Create A New Hard disk
Dynamically expanding storage ( Recommended)

Size and Location
Usually 10 GB is enough, it can be changed later. You can add more if you'd like !
Now You've created a new virtual machine ( Ubuntu 10.04 ) and ready to be working. Now to set the .iso image as the CD to run it when we start.

5) Go to Settings > Storage

Click on the Setting icon on the home screen.

Then go to Storage, Then in the IDE Controller list, choose the empty CD icon and Add your iso Image. Then click OK and get back to Home Screen.

6) Click Start

7) Install Guest Addition

To make Ubuntu's screen maximize and to make the mouse cursor move freely between Host and Guest, you will need to install the Guest Additions for Ubuntu, It is pretty Simple. All you need to do is click on Device>Install Guest Additions. A new CD icon will appear in the desktop, Open it. then click on the icon that says " Open Autorun Prompt. After it finish, restart and whoala ! You are done !

Congratulations !!!!

Now you have Ubuntu 10.04 running on your machine ! Enjoy it. Here is some Tips and Tricks for using Virtual Box. And for new programs check this list of programs you could download. 15 Application must have on Ubuntu ( Web Development )

Don't you love how easy open source things are !!
Posted in Tweaks
Views 1737 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 09:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration