ghacks Technology News

Installing and configuring VirtualBox for virtual OSes


The world of virtual OSes continues to grow and grow. If you never experienced a virtual OS you should know they are outstanding tools that will help you with many tasks. You can test various environments, you can run software you couldn’t run before (i.e. games), you can run less stable OSes within more stable OSes. The limits almost seem boundless. And VirtualBox makes tackling virtual OSes not only easy, but free.

VirtualBox is easy to install – as easy as any other Linux application found within your distributions’ repositories. For this article we will be using Ubuntu Desktop 9.04. There will be no need to add any repository information.

Installing VirtualBox

As already stated, you will find VirtualBox within the repository of the Ubuntu distribution. So to install VirtualBox open up the Add/Remove Applications utility (found in the Applications menu), do a search for “virtualbox” (no quotes), select the correct results, and click the Apply to install the software.

After Virtualbox is installed there is one thing you must take care of. Without adding your user to the vboxusers group you will never be able to run VirtualBox as a standard user.

Adding the user to the group

Figure 1

Figure 1

This is actually quite easy. Go to the System menu and click on the Administration submenu. From that submenu select the Users and Groups entry. In the window that opens (see Figure 1) you will click the Manage Groups button. But before you click that button select a user and then click the Unlock button. This will give you administrative rights for this tool (you will have to enter your user password).

When this new window opens scroll all the way down until you see the vboxusers group. Select that group and then click

Figure 2

Figure 2

Properties. In this new window (see Figure 2) select the user you want to add to the group and then select OK.

You can now close out the Groups and the Users tools. You are ready to start using Virtualbox.

Starting VirtualBox

You will find the VirtualBox listing in the Accessories submenu of the Applications menu. Click on that and VirtualBox will start.

Before you can actually start installing a virtual machine you have to take care of some administrative tasks. Never fear, though, this is all handled by a very easy to use Wizard that will walk you through every step of the way. The only instance you might get tripped up is Virtual Hard

Figure 3

Figure 3

Disk step. Before VirtualBox can install an OS it has to have a virtual hard drive. This will happen around step 4 of the wizard (see Figure 3). In order to create a new virtual hard drive you have to click the New button. This will then take you into a completely different wizard. Again, this wizard is very simple and walks you through step by step.

Once you have created a virtual hard drive you will be taken back to the same screen as you were in for step 4. The only difference is your virtual hard drive will now be listed. You can now click Next to move on. The final screen will give you all of the information you have configured and you can then click Finish.

You are now ready to create a virtual machine. In my next article we will discuss the process of of creating a virtual machine.

Final thoughts

VirtualBox is an outstanding tool with almost limitless possibility for any administrator, developer, or computer user. It’s simplicity is only outshined by its possibilities.




Tags: , , , ,
Categories: Linux, Open Source, Tutorials Advanced, Tutorials Basic, Windows, software



Related posts:

Installing a Windows XP as a virtual machine on VirtualBox
Install VirtualBox Guest Additions for Windows 7
Connect to a remote virtual machine with rdesktop
Install Guest Additions for a better VirtualBox experience
Install VirtualBox with USB support
Installing new templates in OpenOffice 3
Installing An Operating System With Virtual PC 2007
VirtualBox a Vmware alternative

15 Responses to “Installing and configuring VirtualBox for virtual OSes”

  1. Henrik says:

    I did not know about this untl today. I say thank you since I installed the VirtualBox PUEL a few days ago to be able to use USB. Everything except the USB worked until I added the user to the virtualbox-group.

  2. Don Birdsall says:

    On my system, a launcher menu item was not automatically created. It can be launched from the command line with “VirtualBox”. Note the capital “V” and “B”. Knowing that, I manually entered a menu item via System>Preferences>Main Menu.

    Also, it should be noted that there are two versions of VirtualBox in the repositories. One is open source (OSE), the other is not. I have read, but not proven to myself, that if you want USB support you’ll need to install the non-OSE version.

  3. Jack Wallen says:

    Don: That is correct. If you want USB support you do have to download the non-free version of VirtualBox. And that is interesting about the caps in the command. On both my Ubuntu and my Debian install the command was installed as both VirtualBox and virtualbox. I have executed it as both.

Trackbacks/Pingbacks

  1. [...] and configuring VirtualBox for virtual OSes Source Installing and configuring VirtualBox for virtual OSes The world of virtual OSes continues to grow and grow. If you never experienced a virtual OS you [...]

  2. [...] my last article (Installing and configuring VirtualBox for virtual OSes)  I walked you through the installation of the VirtualBox virtual machine tool. In this article I [...]

  3. [...] my last article (Installing and configuring VirtualBox for virtual OSes)  I walked you through the installation of the VirtualBox virtual machine tool. In this article I [...]

  4. [...] my last two articles (Installing Windows XP as a Virtual Machine on VirtualBoxx and Installing and configuring VirtualBox for virtual OSes) you saw how easy it was to install VirtualBox and then install Windows XP as a virtual machine. [...]

  5. [...] by Raja Waqar on Jun 17, 2009 In my last article  Installing and configuring VirtualBox for virtual OSes) you saw how easy it was to install VirtualBox and then install Windows XP as a virtual machine. [...]

  6. [...] Installing and configuring VirtualBox for virtual OSes — ghacks.net, 6/14 Installing a Windows XP as a virtual machine on VirtualBox — [...]

  7. [...] Installing and configuring VirtualBox for virtual OSes. [...]

  8. [...] Installing and configuring VirtualBox for virtual OSes. [...]

  9. [...] you’ve installed VirtualBox as instructed in my tutorial “Install and configure VirtualBox for virtual OSes” you most likely have discovered that the open source edition of VirtualBox does not have USB [...]

  10. [...] Installing and configuraing VirtualBox for virtual OSes. [...]

  11. [...] This particular installation will be done in a Virtual Machine using VirtualBox. So any oddities (or small hard disk sizes) you see will be due to that. Figure [...]

  12. [...] of possibilities. You could run Internet Explorer in a Virtual Machine (See my article “Installing and configuraing VirtualBox for virtual OSes“) or you could install Wine and [...]

Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

© 2005-2009 Ghacks.net. All Rights Reserved. Privacy Policy - About Us