Ubuntu 9.04 hit the streets today, so I decided to take a look at the process of installing Ubuntu 9.04 in VirtualBox a open-source virtualization application.
Installing VirtualBox is pretty easy, download the latest version of the application which is 2.2.0. It supports Windows XP, Linux 32bit/64bit, OS X, Solaris and OpenSolaris as the host operating system and then follow the on screen instructions to complete the installation. It’s pretty simple!
I used the OS X version of VirtualBox because my Mac was handy at the time. However, the screenshots are similar regardless of the operating system you have VirtualBox installed on.
The goal of this article is to show novice users a step by step installation of installing an Ubuntu Desktop inside of VirtualBox without having to mutli-boot their computer. I am going to assume you have VirtualBox installed and have either downloaded the Ubuntu ISO image or have an Ubuntu CDROM handy.
Image figures are at the bottom of the post.
Creating the Ubuntu virtual machine
- Open VirtualBox and create a new virtual machine and click the “New” Icon (Figure 1). A new wizard window will appear as shown in (Figure 2), click “next”.
- Enter the name of your new virtual machine perhaps “Ubuntu904Desktop” and then select “Linux” from the drop down Operating System menu, Ubuntu 32bit will highlight by default, click “Next” (Figure 3)
- Select the amount of RAM you wish to dedicated to your Ubuntu Desktop, the default is 256MB however, 512MB would give you better performance if you have the available RAM, click “Next“. (Figure 4)
- Next, you will be presented with the option to create a new hard disk or use an existing hard disk, select create a new hard disk (Figure 5). Click the “Next” button and another window will appear (Figure 6), click “Next“, you are presented with an option to for “Dynamic” or “Fixed” storage. Dynamic storage will grow the virtual disk as you require more space (saving space on the hard drive) whereas Fixed storage will pre-allocate the space. I’ve selected “Dyanmic” for this installation (Figure 7), click “Next“.
- Enter the name of the virtual machine and select the amount of space you wish to give your Ubuntu Dekstop, I’ve opted to use the default of 8GB. (Figure 8, Figure 9) Click, “Next” and finally “Finish” to complete the creation of the virtual disk for the Ubuntu Desktop.
- You will be dropped back to the virtual disk screen and you will notice the new virtual disk, click “Next” to continue. (Figure 10)
- Finally, the last screen will give you a general overview of the virtual machine, click “Finish” to complete. (Figure 11)
Installing Ubuntu
- Now that the virtual machine template has been created we can begin the installation of Ubuntu. The first thing we need to do is attach the Ubuntu ISO image or CDROM to our virtual machine. Click the CD/DVD-ROM link, its blue, a new window will appear as shown in (Figure 12).
- Check the “Mount CD/DVD” button and then select either “Host CD/DVD” if you have the CDROM or “ISO Image file” if you have the ISO image. I’ve used the ISO image in this example, click “Ok” to complete. (Figure 13, Figure 14)
- Select the virtual machine from the left menu in VirtualBox and click the green start arrow to turn on your virtual machine.
- NOTE: Once you click in the virtual machine window your keyboard and mouse are locked in.
- Your virtual machine will now restart and the Ubuntu installation will begin (Figure 15), select the appropriate language and press “enter“.
- Next, you will be presented with a menu (Figure 16) using the arrow keys select the “Install Ubuntu” option and press “enter“. Installation will begin as shown in (Figures 17). Once the installer has loaded a new window will be presented starting the actual installation (Figure 18) the language you selected in the previous screen should already be highlighted. Click “Forward“.
- On the next screen select your timezone and click “Forward” (Figure 19), select your keyboard language layout (Figure 20), click “Forward“.
- Next, you are presented with the disk partitioner. We are going to use the defaults here which is “Use the entire disk“, click “Forward” to continue the installation.(Figure 21)
- Next, you will be presented with a series of questions pertaining to setup of your user account. Fill in the fields with the acceptable information and click “Forward“. (Figure 22)
- At this point installation is ready to begin, look over the proposed settings and click “Install” when you are ready. This will take a few minutes to complete. (Figure 23)
- Figure 24 and 25 is an example of what you can expect along the way during installation.
- When the installation is completed you will be prompted with a windows requiring you to restart the computer. (Figure 26) Things got kind of weird at this point, since the CDROM is attached to the virtual machine un-mounting it by going to the “Devices > Unmount CD/DVD-ROM” would do no good since the virtual machine would reboot off the CDROM again. I couldn’t find a decent way to remove the CDROM from the virtual machine unless I powered it off. So, hit enter to restart the virtual machine and then power it off by click the “X” on the window. You will be presented with three options select “Power off the machine” and click “Ok“.
- Select the virtual machine and click the green “start” button again.
- Once your machine has rebooted you will be prompted with a login screen as shown in (Figure 27, 28) enter the username and password you specified during installation to log into Ubuntu. You will now see your desktop (Figure 29).
Installing the guest additions
- Now, that our Ubuntu operating system is installed we need to install the “Guest Additions” these are similar to the VMware Tools that VMware provides.
- From the VirtualBox menu select “Devices > Install Guest Additions” a CDROM will appear on your desktop and give you a warning just click “Cancel” it’s trying to auto-run as if it was in Windows. Navigate to “Applications > Accessories > Terminal“.
- Enter the following command to switch to the CDROM directory “cd /cdrom“. Invoke the installer by running the following command “sudo ./VBoxLinuxAdditions-x86.run” if you have a 32bit platform or “sudo ./VBoxLinuxAdditions-amd64.run” if you have a 64bit platform.
- Once the Guest Additions are installed, reboot and you will be presented with a window telling you the benefits of them. Click “Ok” to dismiss the window.
Enjoy Ubuntu 9.04 Jaunty Jackalope!
If you are looking for an Ubuntu based VPS server I highly suggest checking out Fivebean Media.
- Figure 1
- Figure 2
- Figure 3
- Figure 4
- Figure 5
- Figure 6
- Figure 7
- Figure 8
- Figure 9
- Figure 10
- Figure 11
- Figure 12
- Figure 13
- Figure 14
- Figure 15
- Figure 16
- Figure 17
- Figure 18
- Figure 19
- Figure 20
- Figure 21
- Figure 22
- Figure 23
- Figure 24
- Figure 25
- Figure 26
- Figure 27
- Figure 28
- Figure 29





























[...] bookmarks tagged jaunty Ryan Troy: Installing Ubuntu 9.04 in Virtualbox 2…. saved by 4 others nalobi bookmarked on 04/23/09 | [...]
Pages tagged "jaunty"
23 Apr 09 at 6:00 pm
Thanks for the info, keep up the good work!
Bill
23 Apr 09 at 6:27 pm
The latest version of VirtualBox is 2.2.0, and not 2.0.2. Do you actually mean 2.2.0?
Marius Scurtescu
23 Apr 09 at 6:28 pm
You are right, thank you! For some reason my eyes kept telling me 2.0.2, I fixed it.
Ryan
23 Apr 09 at 6:29 pm
[...] Ryan Troy: Installing Ubuntu 9.04 in Virtualbox 2.2.0 VA:F [1.1.7_509]please wait…Rating: 0.0/5 (0 votes cast) This article was found on Planet Ubuntu. Click here to visit the full article on the original website. [...]
linkfeedr » Blog Archive » Ryan Troy: Installing Ubuntu 9.04 in Virtualbox 2.2.0 - RSS Indexer (beta)
23 Apr 09 at 6:48 pm
[...] Golf Clubs Information created an interesting post today on Ryan Troy: Installing Ubuntu 9.04 in Virtualbox 2.0.2Here’s a short outlineNavigate to “Applications > Accessories > Terminal“. [...]
Topics about Accessories | Ryan Troy: Installing Ubuntu 9.04 in Virtualbox 2.0.2
23 Apr 09 at 10:01 pm
Why would you want to call the virtual machine Ubunto810Desktop when you
?
are installing Ubuntu904
Michael Olberg
24 Apr 09 at 1:13 am
[...] the process of installing Ubuntu 9.04 in VirtualBox a open-source virtualization application. More here I used the OS X version of VirtualBox because my Mac was handy at the time. However, the [...]
Installing Ubuntu 9.04 in Virtualbox 2.2.0 | Ubuntu-News - Your one stop for news about Ubuntu
24 Apr 09 at 8:44 am
to remove the cdrom from the vm, go to the devices menu and choose unmount cd/dvd-rom. you don’t need to power off. of course you should unmount it from within ubuntu before you unmount it from the vm.
misterhaan
24 Apr 09 at 3:27 pm
VBoxLinuxAdditions-x86.run isn’t on the CD image for 9.04. What am I missing? Is there another download?
Michael Clark
25 Apr 09 at 8:36 am
In the Guest addition installation, by platform, are you pointing to the guest’s or the host’s?
Ivan Lapis
25 Apr 09 at 3:09 pm
Never mind, I restarted VirtualBox, and it all came right up. Very cool.
Michael Clark
25 Apr 09 at 3:23 pm
Thanks for this walk-thru. Very much appreciated.
Joe Bongiovi
26 Apr 09 at 4:54 pm
Thank’s, very useful!
Lars Bennrup
28 Apr 09 at 1:36 am
The guest.
Someguy
28 Apr 09 at 11:30 am
From the VirtualBox menu select “Devices > Install Guest Additions”
I feel so stupid, but it’s one hour i’m looking for the menu Devices, nowhere to be found, can please someone help me to locate it?
Andrea
28 Apr 09 at 6:28 pm
Im my virtualbox window I do not have any menu on top of it
Andrea
28 Apr 09 at 6:45 pm
Solved, it magically appeared after 2-3 hours
Andrea
28 Apr 09 at 7:25 pm
Thanks much, worked great.
Celsius1414
29 Apr 09 at 10:25 am
Worked flawlessly, Thanks!
Nicole`
29 Apr 09 at 5:03 pm
[...] Installing Ubuntu 9.04 in Virtualbox 2.0.2 | moxiefoxtrot By Ryan Installing VirtualBox is pretty easy, download the latest version of the application which is 2.0.2. It supports Windows XP, Linux 32bit/64bit, OS X, Solaris and OpenSolaris as the host operating system and then follow the on screen … moxiefoxtrot – http://moxiefoxtrot.com/ [...]
April 20th-26th, 2009 - Technology
2 May 09 at 6:03 pm
[...] Installing Ubuntu 9.04 in VirtualBox 2.2.0 — moxiefoxtrot, 4/23 Blogger Ryan is a regular VirtualBox user who reported that the [...]
VirtualBox tutorials from the user community - Technology
6 May 09 at 8:02 am
Thanks for the advise on installing the guest additions, worked perfectly!
Rig
13 May 09 at 7:38 am
when i client the install Ubuntu option nothing happens or it tells me that it supports x86 and that i have i386
Justin
18 May 09 at 4:38 pm
very nice writeup. Just installed VBox 2.2.2 on Vista64. Then installed Ubuntu 9.0.4 64-bit inside VirtualBox. I was stumped because of the small screen. After reading your article was able to install the Guest Additions and everything works like a charm!
Thanks & Regards
Raja
Raja Srinivasan
27 May 09 at 9:01 pm
Great walkthru. Very much appreciated. However, I have two questions that I’m still confused about. Your second to last step says, “Enter the following command…”
Where do I enter that command? I assume it has to be entered in the “DOS-looking” window that you open with “run – cmd” in Windows, but I can’t figure out how to open that in the Ubuntu VM.
Right after that in you instructions, you write “run…if you have a 32bit platform, or…if you have a 64bit platform” By “platform”, you mean host OS? I’m running this VM on Vista 64bit.
Thanks again for the help.
Franknj229
5 Jun 09 at 8:51 pm
I’ve got as far as figure 29. Installing the Guest Additions has me perplexed. In terminal I type the command -
sudo./VBoxLinuxAdditions-x86.run
as instructed and I press Enter and I get the message
No such file or directory
I’m new to Linux obviously, what am I doing wrong please?
Lynda
6 Jun 09 at 5:53 pm
Muchas Thankýou.
Nelson
14 Jun 09 at 12:22 pm
As a new user to Linux systems, I got hung up for a while trying to install the Guest Additions through Terminal…turns out it’s case-sensitive
Thought I might mention that for anybody else out there that hasn’t realized that yet.
Eric
23 Jun 09 at 10:20 am
Linda,
it looks like you need a space between sudo and ./VBox…
sudo./VBoxLinuxAdditions-x86.run should be
sudo ./VBoxLinuxAdditions-x86.run
(maybe?)
Eric
23 Jun 09 at 10:23 am
Linda,
it looks like you need a space between sudo and ./VBox…
sudo./VBoxLinuxAdditions-x86.run should be
sudo ./VBoxLinuxAdditions-x86.run
(maybe?)
Eric
23 Jun 09 at 10:23 am
Any idea why my Ubuntu VirtualBox freezes for no reason at all?
Mauro
9 Jul 09 at 2:55 pm
thank you so muth this was the most helpful guide how to instal ubuntu on virutalbox, now i have made my homework for tomorrow and i can resume my classes without any bothering or problems, im studying at a IT-Hishschool: Portalens Gymnasuim in Gothenburg , Sweden ofc
venii
26 Aug 09 at 2:53 pm
THANKS.. ITS VERY USEFUL
———————————————————————————————————————-
Germanys first online shop for ID card offers his customers unique, authentic & legal Identity cards / novelty ID's incl. holograms – Best quality! fake student identity cards, no fake drivers license, fake passport or fake diploma! Buy a fake id now!
http://www.fake-id.de
Tanvir
4 Sep 09 at 2:54 pm
[...] Go over to Ryan’s blog and follow his really nice and easy instructions on how to install Ubuntu into VirtualBox. http://moxiefoxtrot.com/2009/04/23/installing-ubuntu-904-in-virtualbox-202/ [...]
Setting up a linux web development environment on Vista
5 Oct 09 at 11:21 am
I would confirm that you do really very nice stuff connecting with this good post. You can make the thesis summary for thesis writing services or create your dissertation writing services and some men will buy thesis theme at that place.
LucyIz
28 Dec 09 at 6:17 pm
First online shop for ID card offers his customers unique, authentic & legal Identity cards / novelty ID’s incl. holograms – Best quality! fake student identity cards, no fake drivers license, fake passport or fake diploma! Buy a fake id now!
http://www.fake-id.de
showkatozzaman
24 Feb 10 at 3:38 am
CooL
showkatozzaman
3 Mar 10 at 11:32 am
Thanks much, worked great
showkatozzaman
5 Mar 10 at 7:40 am