How do I install Ubuntu on VirtualBox on Mac? (OS X El Capitan)

10,493

Following is the step-by-step guide for you to install Ubuntu on VirtualBox on Mac OSX:

  1. At first open your VirtualBox app. When VirtualBox opens, click the New button.

enter image description here

  1. Give your “virtual machine” a name (something descriptive is good, but it doesn’t matter). Make sure the Type: is set to Linux and the Version: is Ubuntu (64 bit). Then click the Continue button.

enter image description here

  1. Now you’re going to decide how much memory (RAM) you’re going to allocate to Ubuntu when it’s running, and how much to leave for OS X. As illustrated in the screenshot below, my total RAM is 4GB, so I allocated half of it to Ubuntu, and the other half to OS X. The more memory you give to Ubuntu, the faster it will run. The drawback is that OS X will have less to use while Ubuntu is running. At a minimum, give Ubuntu at 1GB (1024MB) of RAM. When you’ve decided how much memory (RAM) to give Ubuntu, click the Continue button.

enter image description here

  1. On the Hard drive screen, select Create a virtual hard drive now and then click Create.

enter image description here

  1. Now select VDI (VirtualBox Disk Image) and click Continue

enter image description here

  1. Select Dynamically allocated and yep – you guessed it – click Continue

enter image description here

  1. Give the “VirtualBox Disk Image” a name (again, doesn’t really matter, but descriptive is always helpful). Use the “slider” to determine the size you want to make the “hard drive” for Ubuntu. At a minimum, you’ll want to select 6GB – and that will not allow for you to install many programs, let alone store files etc. Keep in mind that because you selected “Dynamically allocated” in the previous step, that does not mean that VirtualBox is going to take up that space right away. It means that as Ubuntu needs more space, it will allow the “hard drive” to increase up to whatever size you set at this step. As illustrated in the screenshot below, I opted to give Ubuntu 8GB. That’s enough for the installation and to install quite a few programs. If you have a big hard drive, you might as well allocate more rather than less, again – the space won’t be used until it’s needed. After you’ve made your selection, click Create.

enter image description here

  1. Almost time to install Ubuntu! Click the Start button.

enter image description here

  1. Right away you’ll be prompted to locate a file. Click the “folder” icon next to menu that says Empty (see screenshot below).

enter image description here

  1. Navigate to the Ubuntu .iso file that you downloaded. Select it, and click Open

enter image description here

  1. Now click Start

enter image description here

  1. As Ubuntu boots for the very first time, VirtualBox will ‘pop up’ little messages explaining how the keyboard and mouse will work with your new ‘virtual machine’. Read them, then click the little X to close them.

enter image description here

  1. Finally! Click Install Ubuntu

enter image description here

  1. Ubuntu will run a quick test to ensure your computer is capable of running on it. Once it’s passed those tests, make sure to place a check in both of the boxes – Download updates while installing and Install this third-party software – then click the Continue button.

enter image description here

  1. Select Erase disk and install Ubuntu. NOTE: this is not going to ‘wipe out’ or erase any data in OS X. None. It is safe to click Install Now, so do just that.

enter image description here

  1. Click Continue

enter image description here

  1. When prompted, select your Time Zone and then click Continue

enter image description here

  1. Select the keyboard layout and language you want, then Continue

enter image description here

  1. Fill in each field with the required information. When you’re done, Continue

enter image description here

  1. Now it’s time to sit back and relax with that cup of coffee or tea. This may take a bit.

enter image description here

  1. Yay! It’s done! Click Restart Now

enter image description here

  1. If Ubuntu doesn’t start loading, and you’re left at a screen with what looks a bit like gibberish, have no fear. Click the OS X “Close” button (the red one in the upper left corner).

enter image description here

  1. Select Power off the machine and click OK. You’ll be left back at the main VirtualBox window. Just click the Start button again.

enter image description here

  1. And you’ll boot into Ubuntu! Enter your password when prompted.

enter image description here

  1. Welcome to the Ubuntu Desktop! At this point you should be connected to the Internet and completely ready to go – have fun!

enter image description here

Share:
10,493

Related videos on Youtube

mariana soto giraldo
Author by

mariana soto giraldo

Updated on September 18, 2022

Comments

  • mariana soto giraldo
    mariana soto giraldo over 1 year

    I just downloades Ubuntu 14.04.3 (1GB) and I don't know exactly what to do next. Can someone please explain in detail what should I do. I also downloaded Virtual Box. Thank you so much for taking your time to answer :)

    • Zeiss Ikon
      Zeiss Ikon over 8 years
      It would be helpful to know whether you want to replace your Mac OS, set up a dual boot (choose which system during startup), or install Ubuntu into the Virtual Box you downloaded. The processes are very different.
    • Abhishek Ghosh
      Abhishek Ghosh over 6 years
      @ZeissIkon: Do you have a guide/resource to install Ubuntu on the VirtualBox instead of the dual boot ? I think the answer posted here is the config for dual boot!
  • Tung Tran
    Tung Tran over 8 years
    @marianasotogiraldo: does it help you?