How to Install Ubuntu on VirtualBox


Install Ubuntu on VirtualBox

Have you ever wanted to try Ubuntu but didn’t have a spare computer to run it on? This tutorial will show you how a virtual machine like VirtualBox will let you play with other operating systems without having to change what’s on your computer right now. It will guide you through an installation of Ubuntu Linux into VirtualBox. The tutorial will first cover how to install VirtualBox and set up your first virtual machine. Then it will show you how to get Ubuntu and prepare for installation. Finally, the tutorial will walk you through an installation of Ubuntu.

Edit Steps

Get Ubuntu

  1. 1

    Go to http://www.ubuntu.com/getubuntu/download

  2. 2

    Select a download location near you from the drop-down box.

  3. 3
    Click the “Begin Download” button to start downloading Ubuntu.

    Click the “Begin Download” button to start downloading Ubuntu.

    Click the “Begin Download” button to start downloading Ubuntu.

Install VirtualBox

  1. 1
    Download the latest version of VirtualBox.

    Download the latest version of VirtualBox.

    Download the latest version of VirtualBox. You can get it from http://www.virtualbox.org/wiki/Downloads. There are versions available for Windows, Mac, and Linux. If you’re not sure what operating system you’re running, download the Windows version at the top by clicking “x86/amd64”.

  2. 2
    Start the installation and click “Next” to reach the license agreement.

    Start the installation and click “Next” to reach the license agreement.

    Start the installation and click “Next” to reach the license agreement.

  3. 3
    Choose the “I accept” option and click “Next” to continue.

    Choose the “I accept” option and click “Next” to continue.

    Choose the “I accept” option and click “Next” to continue.

  4. 4
    Choose not to install USB support, networking, or Python support by clicking the grey icon near each option and selecting the red X or “Entire feature will be unavailable”.

    Choose not to install USB support, networking, or Python support by clicking the grey icon near each option and selecting the red X or “Entire feature will be unavailable”.

    Choose not to install USB support, networking, or Python support by clicking the grey icon near each option and selecting the red X or “Entire feature will be unavailable”. Then click “Next” to continue. If this is your first time dealing with virtual machines, this will eliminate the need to install custom drivers, which makes installing and uninstalling VirtualBox easier. If you’ve worked with virtual machines before, you can choose to keep these options selected.

  5. 5
    Deselect the Quick Launch Bar checkbox and click “Next” to continue.

    Deselect the Quick Launch Bar checkbox and click “Next” to continue.

    Deselect the Quick Launch Bar checkbox and click “Next” to continue.

  6. 6
    Click “Install” to install VirtualBox.

    Click “Install” to install VirtualBox.

    Click “Install” to install VirtualBox.

  7. 7

    Click “Finish” to open VirtualBox.

Set the CD to start

  1. 1
    Select your new virtual machine.

    Select your new virtual machine.

    Select your new virtual machine. Then click the “Settings” button.

  2. 2
    Click “CD/DVD-ROM”.

    Click “CD/DVD-ROM”.

    Click “CD/DVD-ROM”.

  3. 3
    Click the checkbox near “Mount CD/DVD-ROM”.

    Click the checkbox near “Mount CD/DVD-ROM”.

    Click the checkbox near “Mount CD/DVD-ROM”.

  4. 4
    Click the radio button near “ISO Image”.

    Click the radio button near “ISO Image”.

    Click the radio button near “ISO Image”.

  5. 5

    Click the folder icon near the active drop-down box to open the Virtual Media Manager.

  6. 6
    In the Virtual Media Manger, click “Add”.

    In the Virtual Media Manger, click “Add”.

    In the Virtual Media Manger, click “Add”.

  7. 7
    Locate the ISO image of Ubuntu and select it.

    Locate the ISO image of Ubuntu and select it.

    Locate the ISO image of Ubuntu and select it. Then click “Open”.

  8. 8
    Click “Select” to use the image in your virtual machine.

    Click “Select” to use the image in your virtual machine.

    Click “Select” to use the image in your virtual machine.

  9. 9
    Click “OK” to finish.

    Click “OK” to finish.

    Click “OK” to finish.

Create a new virtual machine

  1. 1
    In VirtualBox, click the “New” button to start the virtual machine wizard.

    In VirtualBox, click the “New” button to start the virtual machine wizard.

    In VirtualBox, click the “New” button to start the virtual machine wizard.

  2. 2
    Click Next.

    Click Next.

    Click Next.

  3. 3
    Give your virtual machine a name and select the operating system you’ll be running, then click “Next”.

    Give your virtual machine a name and select the operating system you’ll be running, then click “Next”.

    Give your virtual machine a name and select the operating system you’ll be running, then click “Next”. For this example, we’ll be installing Ubuntu. Type any name in the Name field (such as Ubuntu or Linux). For “Operating System”, choose “Linux”. The version will automatically default to “Ubuntu”. Click “Next” when you’re done.

  4. 4
    Select the amount of memory your VM will use and click “Next”.

    Select the amount of memory your VM will use and click “Next”.

    Select the amount of memory your VM will use and click “Next”. When you chose your operating system in the previous step, VirtualBox automatically recommends the proper amount of memory to use. If you feel this amount isn’t correct, you can move the slider or type a new amount in the box. Click “Next” when you’re done.

  5. 5
    Click “Next” to create a new virtual hard disk; then click “Next” again.

    Click “Next” to create a new virtual hard disk; then click “Next” again.

    Click “Next” to create a new virtual hard disk; then click “Next” again. This opens a second wizard to create a new virtual hard disk.

  6. 6
    Select either "Fixed-Size Storage" or "Dynamically Expanding Storage" depending upon your needs.

    Select either “Fixed-Size Storage” or “Dynamically Expanding Storage” depending upon your needs.

    Select either “Fixed-Size Storage” or “Dynamically Expanding Storage” depending upon your needs. A fixed size storage is going to be the size of the virtual hard disk on the host OS (e.g.: a virtual disk 8 GB will be 8 GB on the host OS’s hard disk). A dynamically expanding will be only the size of Ubuntu on your hard disk, but will grow in size as files are added to it until it reaches its limit (e.g.: Virtual disk is created and has a 1 megabyte file on it. The size of the virtual disk is 1 megabyte. Then, another 1 megabyte file is added. The size of the virtual disk is 2 megabytes. This goes on until it reaches the specified size of the disk).

  7. 7
    Click “Next” to accept the default name and size of the virtual hard disk.

    Click “Next” to accept the default name and size of the virtual hard disk.

    Click “Next” to accept the default name and size of the virtual hard disk. Again, VirtualBox recommends the proper size of your virtual hard disk. If you feel this amount isn’t correct, you can move the slider or type a new amount in the box. Click “Next” when you’re done.

  8. 8
    Click “Finish” and wait while VirtualBox creates the new virtual hard disk.

    Click “Finish” and wait while VirtualBox creates the new virtual hard disk.

    Click “Finish” and wait while VirtualBox creates the new virtual hard disk.

  9. 9
    Click “Finish” once more to create your new virtual machine.

    Click “Finish” once more to create your new virtual machine.

    Click “Finish” once more to create your new virtual machine.

Install Ubuntu

  1. 1
    Select your virtual machine.

    Select your virtual machine.

    Select your virtual machine. Then click the “Start” button.

  2. 2
    A dialog box will pop up informing you about “Auto capture keyboard”.

    A dialog box will pop up informing you about “Auto capture keyboard”.

    A dialog box will pop up informing you about “Auto capture keyboard”. Check the checkbox and click “OK” to proceed.

  3. 3
    Another dialog box will pop up informing you about 32 bit color mode.

    Another dialog box will pop up informing you about 32 bit color mode.

    Another dialog box will pop up informing you about 32 bit color mode. Again, check the checkbox and click “OK” to proceed.

  4. 4
    Hit the Enter key on the language selection screen to select English.

    Hit the Enter key on the language selection screen to select English.

    Hit the Enter key on the language selection screen to select English.

  5. 5
    Hit the Enter key again to start Ubuntu.

    Hit the Enter key again to start Ubuntu.

    Hit the Enter key again to start Ubuntu.

  6. 6
    Once Ubuntu has loaded, click once inside the VirtualBox window.

    Once Ubuntu has loaded, click once inside the VirtualBox window.

    Once Ubuntu has loaded, click once inside the VirtualBox window. A dialog box will pop up informing you about mouse capture. Check the checkbox and click “OK” to proceed.

  7. 7
    Move your mouse to the “Install” icon and double-click to start installation.

    Move your mouse to the “Install” icon and double-click to start installation.

    Move your mouse to the “Install” icon and double-click to start installation.

  8. 8
    Click “Forward” to select your language.

    Click “Forward” to select your language.

    Click “Forward” to select your language.

  9. 9
    Select your time zone from the drop-down menu, then click “Forward”.

    Select your time zone from the drop-down menu, then click “Forward”.

    Select your time zone from the drop-down menu, then click “Forward”.

  10. 10
    Click “Forward” to keep the default keyboard layout.

    Click “Forward” to keep the default keyboard layout.

    Click “Forward” to keep the default keyboard layout.

  11. 11
    Click “Forward” again to select the default partitions.

    Click “Forward” again to select the default partitions.

    Click “Forward” again to select the default partitions.

  12. 12
    Type your name in the first text box.

    Type your name in the first text box.

    Type your name in the first text box. This will automatically fill in the login name and computer name. You can customize these names by typing a new name inside the corresponding text boxes.

  13. 13
    Choose a password and type it in twice.

    Choose a password and type it in twice.

    Choose a password and type it in twice.

  14. 14
    Scroll down the page and select the radio button beside “Log in automatically”, then click “Forward”.

    Scroll down the page and select the radio button beside “Log in automatically”, then click “Forward”.

    Scroll down the page and select the radio button beside “Log in automatically”, then click “Forward”. If your password is weak, the installer will point it out. Simply click “Continue” to ignore the warning.

  15. 15
    Click “Install” to begin the installation.

    Click “Install” to begin the installation.

    Click “Install” to begin the installation.

  16. 16
    Once installation is complete, click “Restart Now” to finish installation.

    Once installation is complete, click “Restart Now” to finish installation.

    Once installation is complete, click “Restart Now” to finish installation.

  17. 17
    When you see the white text on the shutdown screen, hit the Enter key to finish.

    When you see the white text on the shutdown screen, hit the Enter key to finish.

    When you see the white text on the shutdown screen, hit the Enter key to finish.

 

Edit Tips

  • If you did not install the USB driver, every time you look at the settings for a virtual machine, you’ll get a warning saying VirtualBox failed to access the USB subsystem. This is normal and will not affect your virtual machine. Just click “OK” to move on.

  • When you give focus to your virtual machine, VirtualBox automatically connects your keyboard to the virtual machine. To release your keyboard, simply hit the Right Ctrl key.

  • When you click inside a virtual machine, VirtualBox automatically connects your mouse to the virtual machine. To release your mouse, simply hit the Right Ctrl key.

 

This entry was posted in Linux. Bookmark the permalink.

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