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:
- At first open your VirtualBox app. When VirtualBox opens, click the New button.
- 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.
- 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.
- On the Hard drive screen, select Create a virtual hard drive now and then click Create.
- Now select VDI (VirtualBox Disk Image) and click Continue
- Select Dynamically allocated and yep – you guessed it – click Continue
- 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.
- Almost time to install Ubuntu! Click the Start button.
- Right away you’ll be prompted to locate a file. Click the “folder” icon next to menu that says Empty (see screenshot below).
- Navigate to the Ubuntu .iso file that you downloaded. Select it, and click Open
- Now click Start
- 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.
- Finally! Click Install Ubuntu
- 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.
- 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.
- Click Continue
- When prompted, select your Time Zone and then click Continue
- Select the keyboard layout and language you want, then Continue
- Fill in each field with the required information. When you’re done, Continue
- Now it’s time to sit back and relax with that cup of coffee or tea. This may take a bit.
- Yay! It’s done! Click Restart Now
- 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).
- Select Power off the machine and click OK. You’ll be left back at the main VirtualBox window. Just click the Start button again.
- And you’ll boot into Ubuntu! Enter your password when prompted.
- Welcome to the Ubuntu Desktop! At this point you should be connected to the Internet and completely ready to go – have fun!
Related videos on Youtube
Author by
mariana soto giraldo
Updated on September 18, 2022Comments
-
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 over 8 yearsIt 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 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 over 8 years@marianasotogiraldo: does it help you?