How to Install Ubuntu 9.04 on VirtualBox 2.2

ubuntu49Ubuntu 9.04 is  released today. If you want to try it without buying a new machine or partitioning your hard drive, VirtualBox is a good choice. This guide assumes you have downloaded the Ubuntu 9.04 iso and you also have installed VirtualBox 2.2 or above. You also need enough disk space to hold the virtual disk on your hard drive.

  1. Run VirtualBox and Click on New to create a new virtual machine.
    ubuntu01
  2. Click on Next to continue.
    ubuntu38
  3. Name your virtual machine and select the proper OS Type. Click on Next to continue.
    ubuntu39
  4. The default RAM is 384 MB which is enough for Ubuntu. Click on Next to continue.
    ubuntu40
  5. Click on Next to create a new virtual disk.
    ubuntu41
  6. Create New Virtual Disk Wizard starts, click on Next to continue.
    ubuntu42
  7. Select Dynamically expanding storage and click on Next to continue.
    ubuntu43
  8. Specify a location for the disk image and size. If your system drive is low on space, you might want to use a different drive. Click on Next to continue.
    ubuntu44
  9. Click on Finish to finish creating a new virtual disk.
    ubuntu45
  10. Click on Finish to finish creating of the new virtual machine.
    ubuntu46
  11. Now back to the main windows of VirtualBox with the newly created virtual machine for Ubuntu. Double click on CD/DVD-ROM. Note that a lot of features are turned off by default. If you want to change the settings, click on Settings to modify them.
    ubuntu12
  12. Check Mount CD/DVD Drive and select ISO Image File. Click on the folder icon.
    ubuntu13
  13. Click on the Add icon to locate the iso image you downloaded. Click on Select and you will be brought back to the dialog in previous step. Click on OK.
    ubuntu50
  14. Click on Start icon in the upper left corner to start installation.
    ubuntu51
  15. Click anywhere inside the virtual machine window, so that you can use your keyboard and mouse inside the virtual machine. If you ever want to release the mouse and keyboard from the virtual machine, press right Ctrl key. Select the language and press Enter key.
    ubuntu14
  16. Select Install Ubuntu using the arrow keys and press Enter key.
    ubuntu15
  17. Select the language and click on Forward.
    ubuntu16
  18. Select your time zone and click on Forward.
    ubuntu17
  19. Select keyboard layout and click on Forward.
    ubuntu18
  20. Select Use the entire disk and click on Forward.
    ubuntu19
  21. Create a user and click on Forward.
    ubuntu20
  22. Click on Install.
    ubuntu21
  23. Wait for a few minutes. When it’s done, click on Restart Now.
    ubuntu23
  24. When the virtual machine reboots, it boots to the installation media again. Select Boot from first hard disk and press Enter key.
    ubuntu30
  25. The basic installation is done. To make it better, we want to install the Guest Additons. You will get a better display driver and you also do not need to press right Ctrl key to swtich between the virtual machine and your host machine. Log on to the system using the account you just created. You can see the Ubuntu installation disc is mounted. Right click on the media and select Unmount Volume.
    ubuntu34
  26. Press right Ctrl key to release mouse and keyboard from the virtual machine. Click on Devices on the menu bar and select Unmount CD/DVD-ROM.
    ubuntu24
  27. Click on Devices again and select Mount CD/DVD-ROM -> CD/DVD-ROM Image … .
    ubuntu35
  28. Select VBoxGuestAdditions.iso and click on Select. If the disc does not show up on the desktop, you might want to do Unmount CD/DVD-ROM again.
    ubuntu25
  29. Click on Applications -> Accessories -> Terminal to bring up a terminal window.
    ubuntu36
  30. Type the following command.
    sudo /media/cdrom/VBoxLinuxAdditions-x86.run
    Enter your password to continue.
    ubuntu37
  31. Now reboot the virtual machine and enjoy!

This post may contain affiliated links. When you click on the link and purchase a product, we receive a small commision to keep us running. Thanks.


5 Comments

  1. does anyone else have troubles with Ubuntu 9.04 final and VirtualBox Guestadditions2.2? mine seems to work ok, but after restarting the screen goes white and locks. (might be worth noting that after instlaling the guestadditions and when it asks to restart, after this the login prompts are changed resolution (as if the the guestadditions video driver is working) but then goes white) anyone?

  2. I had some problems when I used the old version of VirtualBox 2.1. I didn’t have any problems after I switched to 2.2. You might need to reinstall the guestadditions.

Leave a Reply