Download ArticleDownload Article

This How.com.vn teaches you how to install Ubuntu Linux on a computer by using VirtualBox. VirtualBox is a program which allows you to install an operating system without changing your computer's main operating system.

Part 1
Part 1 of 4:

Downloading Ubuntu

Download Article
  1. How.com.vn English: Step 1 Open the Ubuntu website.
    Go to https://www.ubuntu.com/download/desktop in your computer's web browser. You can download the Ubuntu disk image (also known as an ISO file) here.
  2. How.com.vn English: Step 2 Scroll down to the latest version of Ubuntu.
    You'll find it near the bottom of the page.
    Advertisement
  3. How.com.vn English: Step 3 Click Download.
    It's a green button to the right of your selected version of Ubuntu. Doing so takes you to the support page.
  4. How.com.vn English: Step 4 Scroll down and click Download Now.
    This link is in the bottom-left corner of the page.
  5. How.com.vn English: Step 5 Make sure that Ubuntu begins downloading.
    The Ubuntu ISO should begin downloading immediately, but if it doesn't, you can click the download now link at the top of the page. While the Ubuntu ISO downloads, you'll have plenty of time to set up your virtual machine in VirtualBox.
  6. Advertisement
Part 2
Part 2 of 4:

Creating a Virtual Machine

Download Article
  1. How.com.vn English: Step 1 Install VirtualBox...
    Install VirtualBox if you haven't yet done so. If you don't already have VirtualBox installed on your Windows or Mac computer, you'll need to install it before proceeding.
  2. How.com.vn English: Step 2 Open VirtualBox.
    Double-click (or click once on a Mac) the VirtualBox app icon.
  3. How.com.vn English: Step 3 Click New.
    It's a blue badge in the upper-left corner of the VirtualBox window. Doing so opens a pop-up menu.
  4. How.com.vn English: Step 4 Enter a name for your virtual machine.
    Type whatever you want to name your virtual machine (e.g., Ubuntu) into the "Name" text field that's near the top of the pop-up menu.
  5. Step 5 Select Linux as the "Type" value.
    Click the "Type" drop-down box, then click Linux in the resulting drop-down menu.
  6. Step 6 Select Ubuntu as the "Version" value.
    Ubuntu should be selected by default after you set the "Type" value to Linux, but if it isn't, click the "Version" drop-down box and click Ubuntu (64-bit) before proceeding.
  7. How.com.vn English: Step 7 Click Next.
    It's at the bottom of the menu.
  8. How.com.vn English: Step 8 Select an amount of RAM to use.
    Click and drag the slider left or right to decrease or increase the amount of RAM that VirtualBox will have available for your Ubuntu virtual machine.
    • The ideal amount of RAM will automatically be selected when you get to this page.
    • Make sure not to increase the RAM into the red section of the slider; try to keep the slider in the green.
  9. How.com.vn English: Step 9 Click Next.
    It's at the bottom of the menu.
  10. How.com.vn English: Step 10 Create your virtual machine's virtual hard drive.
    The virtual hard drive is a section of your computer's hard drive space which will be used to store your virtual machine's files and programs:
    • Click Create
    • Click Next
    • Click Next
    • Select an amount of space to use.
    • Click Create
  11. How.com.vn English: Step 11 Make sure that your Ubuntu file is done downloading.
    Once the Ubuntu ISO finishes downloading, you can proceed with installing it to VirtualBox.
  12. Advertisement
Part 3
Part 3 of 4:

Installing Ubuntu

Download Article
  1. How.com.vn English: Step 1 Double-click your virtual machine's name.
    It's on the left side of the VirtualBox window. Doing so will open a menu.
  2. How.com.vn English: Step 2 Click the folder-shaped icon.
    This icon is in the lower-right side of the menu. A new window in which you can select the Ubuntu ISO will open.
  3. How.com.vn English: Step 3 Select your Ubuntu ISO.
    Go to the folder into which the Ubuntu ISO file downloaded (e.g., Desktop), then click the ISO file to select it.
  4. How.com.vn English: Step 4 Click Open.
    It's in the bottom-right corner of the window. Doing so opens the Ubuntu ISO file in VirtualBox.
  5. How.com.vn English: Step 5 Click Start.
    This option is at the bottom of the menu. Ubuntu will begin running.
  6. How.com.vn English: Step 6 Click Install Ubuntu.
    It's on the right side of the VirtualBox window.
  7. Step 7 Check both boxes on the "Preparing to install Ubuntu" page.
    This will ensure that everything Ubuntu needs to run will be installed.
  8. How.com.vn English: Step 8 Click Continue.
    It's in the bottom-right corner of the page.
  9. Step 9 Check the "Erase disk and install Ubuntu" box.
    This may sound scary, but don't worry—nothing on your computer will be erased.
  10. How.com.vn English: Step 10 Click Install Now.
    It's in the bottom-right corner of the page.
  11. How.com.vn English: Step 11 Click Continue when prompted.
    This confirms that you understand that the virtual machine's virtual drive will be "erased" (there's nothing on it anyway) and begins the Ubuntu installation process.
  12. Advertisement
Part 4
Part 4 of 4:

Setting up Ubuntu

Download Article
  1. How.com.vn English: Step 1 Select a time zone.
    Click a section that correlates with your position on the map.
  2. How.com.vn English: Step 2 Click Continue.
    It's in the bottom-right corner of the page.
  3. How.com.vn English: Step 3 Enable the on-screen keyboard.
    Click the person-shaped icon in the upper-right side of the window, then click the "Screen Keyboard" switch to place a keyboard on the screen. Since Ubuntu will need to install drivers to work with your keyboard, you won't be able to use your keyboard until it's fully installed.
  4. How.com.vn English: Step 4 Enter your name.
    Do so in the "Your name" text box at the top of the window.
    • Entering a name will also create a computer name for your virtual machine, but you can create your own computer name as well by typing it into the "Your computer's name" box.
  5. How.com.vn English: Step 5 Enter a username.
    In the "Pick a username" text box, type in the username that you want to use.
  6. How.com.vn English: Step 6 Create a password.
    Type your preferred password into the "Choose a password" text box, then re-type it into the "Confirm your password" text box.
  7. How.com.vn English: Step 7 Click Continue.
    It's at the bottom of the page.
    • You can first select login options below the "Confirm your password" text field if need be.
  8. How.com.vn English: Step 8 Wait for Ubuntu to finish installing.
    This process may take anywhere from a couple of minutes to half an hour depending on the speed of your computer.
    • You won't need to do anything during the installation process.
  9. How.com.vn English: Step 9 Restart the virtual machine.
    Once you see the Restart Now button, do the following: click the Exit button in the upper-right corner of the window (Windows) or the upper-left corner of the window (Mac), check the "Power off the machine" box, click OK, and then double-click the virtual machine's name.
  10. How.com.vn English: Step 10 Log into your computer.
    Once your Ubuntu virtual machine is back on, select your name, then enter your password and click Sign In. Ubuntu will load your desktop as though you were using a separate computer.
  11. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Will choosing the erase disk option while installing Ubuntu remove my original Windows operating system?
    How.com.vn English: Community Answer
    Community Answer
    When you're asked this question inside the VirtualBox, it's talking about the virtual disk, not your physical disk. And since the virtual disk is "brand new", there is nothing there that you should worry about. There is no risk to your Windows system.
  • Question
    If I install Ubuntu from VirtualBox, will it erase all content on my C drive?
    How.com.vn English: Community Answer
    Community Answer
    I was worried about this too. Ubuntu will format/erase only the virtual disk space you allocated for the Virtual Machine, not your whole C: drive.
  • Question
    How do I get the 64-bit option on Virtualbox? I only have the 32-bit option.
    How.com.vn English: Community Answer
    Community Answer
    To use 64-bit guests on VirtualBox, you need to have a CPU that supports Virtualization. Then, make sure that feature is turned on in the BIOS.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      • You can install programs and apps on your virtual machine, though you'll need to make sure that doing so doesn't cause your virtual machine to exceed the amount of space in its virtual hard drive.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

      • Make sure your hard disk has enough space to create the virtual hard disk. For example, if VirtualBox suggests you need an 8 GB virtual hard disk, make sure you have more than 8 GB of free space on your computer.
      • It's normal for VirtualBox operating systems to run sluggishly since you're essentially operating two different systems on one computer's worth of hardware.
      Advertisement

      About This Article

      How.com.vn English: Jack Lloyd
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for How.com.vn. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher. This article has been viewed 1,619,537 times.
      How helpful is this?
      Co-authors: 33
      Updated: April 30, 2023
      Views: 1,619,537
      Article SummaryX

      1. Download the latest version of Ubuntu.
      2. Open VirtualBox and click New.
      3. Enter a name and select Linux as the type.
      4. Select Ubuntu 64 as the version.
      5. Choose an amount of RAM to allocate.
      6. Click Create a virtual hard disk now.
      7. Double-click the virtual machine and select the Ubuntu ISO.
      8. Click Install Ubuntu.
      9. Click Erase disk and install Ubuntu.
      For more tips, including how to navigate the setup for your new Ubuntu machine, read on!

      Did this summary help you?

      Thanks to all authors for creating a page that has been read 1,619,537 times.

      Reader Success Stories

      • How.com.vn English: Anonymous

        Anonymous

        Dec 2, 2016

        "I kept receiving an error message in the installation of Ubuntu through the VirtualBox, and didn't know why...." more
      Share your story

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement