How To Install Ubuntu Linux Alongside Windows 2
How To Install Ubuntu Linux Alongside Windows 2
(UEFI)
Posted by Gary Newell | at 22:12 222 comments
Introduction
Updated For Ubuntu 16.04
Windows 10 has been out for a while now and as I have a track record for writing dual boot guides I thought it was
This guide focuses on computers with a Unified Extensible Firmware Interface (UEFI) over a standard Basic Input
Output System (BIOS). Another guide will be coming out shortly to cover the BIOS version.
What this means is that if you were using Windows 8 and 8.1 before upgrading to Windows 10 then this guide will
work for you. If you have just bought a brand new Windows 10 machine and it has a standard hard drive (i.e it isn't a
Surface Pro) then this guide will also work for you.
If your computer used to run Windows 7 before upgrading to Windows 10 then it is highly probable that this guide isn't
How can you tell if your computer has a UEFI over a standard BIOS?
In the search box at the bottom of the screen type "System Information" and when the icon appears at the top click on
it.
Halfway down the right panel there is an item called BIOS mode. If it says UEFI then this guide will work for you.
I have written another guide which shows how to dual boot Ubuntu and Windows 10 on a computer with an SSD. This
is largely experimental as it is my first time of doing it but it does work for me and it might give you some ideas when
Back Up Windows 10
In the list of steps above I have put this down as an optional requirement but I can't stress highly enough that you
Let's imagine for a moment that you have a machine that used to run Windows 8 and you spent the time upgrading to
Windows 10.
If you follow this process and for whatever reason it doesn't work and your machine is left in an undesirable state
then without a backup the minimum it will cost you is the time it takes to reinstall Windows 8 and then upgrade to
Windows 10.
Imagine now that you don't have the Windows 8 media and you don't have a viable recovery partition. You now have
no way of getting Windows back without buying either the Windows 8 disk which costs around £90 or a Windows 10
disk which costs £199. You would also have to find and download any required graphics, audio and other drivers
I have written a guide (linked below) which shows you how to backup all of your partitions using a tool called Macrium
Reflect. There is a free version of the tool available and the most this tutorial will cost you is time and if you don't
Personally the tool that I find most useful for creating Linux USB drives is Win32 Disk Imager.
How to set the power options in Windows 10 to allow booting from USB
Click here for a guide showing how to create a Ubuntu USB drive.
If you would prefer to, you can buy a USB drive with Ubuntu already installed on it.
If you want to get the USB drive back to normal after installing Ubuntu follow this guide which shows how to fix a USB
Ubuntu.
Click here for a guide showing how to shrink your Windows 10 partition.
If you backed up your computer using Macrium and you chose to create the Macrium boot menu option then you can
screen.
If you chose not to create the Macrium boot menu option boot into Windows, insert the Ubuntu USB drive, hold down
the shift key and reboot your computer. (Keep the shift key held down until a screen similar to the one below
appears).
Each manufacturer has a different version of UEFI and so the menu options may be different.
The important thing is that a blue screen with white writing appears.
You are basically looking for the option to boot from the USB drive and this may take some finding. From the image
above I chose the “Choose other options” menu item which produced the screen below.
I then clicked on the “Use a device” option which as you can see has the subtext “Use a USB drive, network
This isn’t the first time I have installed things on this computer and my EFI partition still has links to old Ubuntu
versions.
The important link on this screen is the “EFI USB Device” option.
Choose the EFI USB Device option and Ubuntu should now boot from the USB drive.
A boot menu will appear.
A large dialogue window will appear with options to install Ubuntu or to Try Ubuntu.
Click on the “Try Ubuntu” option. Ubuntu will now be loaded as a live session. You can try out all of the features of
Install Ubuntu
To start the installation click on the “Install Ubuntu” icon on the desktop.
After clicking on the “Install Ubuntu” option the following screen will appear:
This is the beginning of the installation process and you can select the language which is used to help you through
the process.
The preparing to install Ubuntu screen now simply lists the option to download updates (which is only available after
you have an internet connection) and the option to install third party software for playing MP3 audio and watching
Flash.
If you have a decent internet connection then you might wish to install updates during the installation.
To connect to the internet click on the network icon in the top right corner and a list of wireless networks will be listed.
Click on the network you wish to connect to and enter the security key when prompted.
You will need to click the back button on the "preparing to install Ubuntu" screen and then click continue again when
If you have a poor internet connection then I would choose not to connect to the internet. You can update your
You can choose to install the third party tools for playing MP3 audio as part of the installation process now by
checking the box or you can do it after the system has been installed.
Click "Continue".
The “Installation Type” screen lets you decide whether you want to install Ubuntu alongside Windows or over the top.
A window will appear showing you what is going to happen to your disk. By default the Ubuntu installer will create an
ext4 partition for Ubuntu and all of your personal files and a swap partition used for swapping idle processes when
Click “Continue”.
A map of the world will appear. The purpose of it is to make it possible for Ubuntu to set the time on your clock
correctly.
Click where you live on the map or start typing it into the box provided and then click “Continue”.
Almost there. Just two more steps before Ubuntu is installed.
You now need to choose your keyboard layout. Select your keyboard’s language in the left pane and then the actual
Alternatively click on the detect keyboard layout option and it will more than likely do it for you.
Test out the keyboard layout that you have chosen by typing into the box provided. Specifically try out symbols such
as the dollar sign, pound symbol, hash tags, speech marks, slashes and other special characters as these are the
Click “Continue”.
The final step is to create a default user.
Enter a username into the box provided and choose a password and repeat it.
Click on the “Require my password to log in” option. I don’t really recommend anyone letting their machine log in
When the process has finished you will have the options to continue test or to restart now.
Choose the “Continue Testing” option.
Click on the network icon in the top right corner and choose your wireless network (unless you are connected with an
Open up a terminal window by either pressing CTRL ALT and T at the same time or click the top icon in the bar on
the left side and type “term” into the search box. Click on the terminal icon that appears.
Type sudo apt-get install efibootmgr into the terminal window.
As you can see in my list there are the following boot options:
At the top of the text you will see that my current boot device is boot0005 which is the USB device.
What this tells me is that the computer will boot Windows first, then the rubbish version of Ubuntu, then the new
The –o says that I want to change the order. Then all I have to do is list the order I want things to boot.
So in the command above I have stated I want Ubuntu to boot first and then Windows.
Type exit into the window and reboot the computer by clicking the icon in the top far right corner of the screen.
When given the option and before the computer actually reboots remove the USB drive.
Now when you restart your computer a menu will appear with options for booting into Ubuntu and Windows 10.
Try them both out and hopefully you will have successfully installed Ubuntu alongside Windows 10.
What Next
Check out my new guide which shows how to show common applications such as Chrome, Dropbox and Steam
easily in Ubuntu.
The Antidote
If you have followed this guide and you want Windows back the way it was before you installed Ubuntu follow this
guide: