Ubuntu 15.04 GRUB menu

In this post, you’ll read how to dual-boot Ubuntu 15.04 and Windows 10 on a single hard drive and on a computer with UEFI firmware.

The Windows 10 installation came about by upgrading a Windows 8 machine to Windows 8.1, then to Windows 10. Before upgrading to Windows 8.1, the C drive had already been reduced to make room for a Linux distribution.

Each upgrade (8 to 8.1, then 8.1 to 10) created a new recovery partition of about 450 MB, so that there were two recovery partitions between the C drive and the free space before the installation of Ubuntu 15.04 started.

I think two recovery partitions is one too many, but I left it so you see what upgrading a modern Windows operating system does to your hard drive. In Figure 1, you can see the two recovery partitions to the right of the C drive. The last one was created by the Windows 10 upgrade script. The Unallocated space after it is what will be used to install Ubuntu 15.04.

Windows 10 Partitions
Figure 1: Windows 10 Partitions showing two recovery partitions and the free space

To follow along, you’ll need to have downloaded an Ubuntu 15.04 installation image, which is available for download here. After downloading it, transfer it to a USB stick, insert the USB stick into the appropriate port and reboot. If the machine was set to boot from a USB disk, it should reboot into the installer. Otherwise, access the computer’s boot menu as it boots and select the UEFI entry of the USB stick as shown in Figure 2.

Computer boot menu
Figure 2: Entries in the computer’s boot menu. The UEFI entry boots into the UEFI-aware version of the installer

After booting into the Live desktop, launch the installer by clicking on its icon on the dock or on the desktop. Then click through the first few steps until you get to the one shown in Figure 3. The installation of Windows 10 will be detected, with the default option being to have the installer auto-partition the disk and install Ubuntu 15.04 on the available free space. However, that option will not do, as it will not create a separate partition for your home folders.

Figure 3: Disk partitioning methods of the Ubiquity, Ubuntu’s graphical installer

That means you’ll have to partition the disk manually. To accomplish that, you’ll have to select the Something else option and click Continue to open the installer’s manual disk partitioning tool.

Figure 1:
Figure 4: Selecting the “Something else” option on Ubuntu 15.04’s installer

This is the installer’s manual partitioning tool. It should show all the hard drives detected on the computer, and their partitions will be listed right after them. You should see all existing partitions and the free space under the hard drive named /dev/sda. We’ll be using that free space to create the partitions for Ubuntu 15.04. Take note of the partition of Type efi. That will be where the boot loader files will be installed. To start creating partitions from the free space, select it as shown in this figure and click on the + button.

Figure 5: Manual disk partitioning tool of Ubuntu 15.04

That will open the installer’s partition editor, which is shown in Figure 6. The only fields you’ll have to specify are Size, Use as and Mount point. For the Use as value, stick with the default when creating the partitions that will be mounted at / (root) and /home. Only change it when creating the partition for swap.

Figure 1:
Figure 6: Ubuntu’s partition editor

The first partition will be mounted at / (root). The recommended disk space for an installation of Ubuntu 15.04 is about 7 GB, but if you intend to use it for a long time, be generous with disk space allocation. I recommended about 30 GB to 50 GB, if you have disk space to spare. Click OK when completed.

Figure 1:
Figure 7: Creating the root partition

The second partition will be mounted at /home, which is where your home folder will be located. So give it the bulk of the disk space that’s available. OK.

Figure 1:
Figure 8: Creating the partition for /home

For the partition to be used as swap space, a size of 4000 MB (4 GB) is now standard for Linux distributions on 64-bit hardware, 2 GB or less for 32-bit hardware. Select swap area from the Use as box to designate it as swap. OK.

Figure 1:
Figure 9: Creating swap space

After all the partitions have been created, double-check your work to make sure that all’s in the right place and none of the existing partitions have been mistakenly selected for formatting. Before clicking Install Now, select the partition that corresponds to the Boot EFI partition from the Device for boot loader installation menu. In this example, it’s /dev/sda2. When you’re sure all’s well, click to continue with the rest of the installation.

Figure :
Figure 10: Selecting the Boot EFI partition as the device for boot loader installation

After installation, reboot the computer to boot into the new system. If it does not, access the BIOS/UEFI Setup Utility and set the default boot device to ubuntu. When next you reboot, you should see the GRUB menu with entries for Ubuntu 15.04 and Windows 10, as shown on Figure 11. Enjoy your new dual-boot setup.

Ubuntu 15.04 GRUB menu
Figure 11: The GRUB screen of Ubuntu 15.04 showing an entry for the Windows 10 Boot Manager

Related Post:  Best IDEs for Octave, Python and R


Share on facebook
Share on twitter
Share on pinterest
Share on linkedin

Hola! Did you notice that LinuxBSDos.com no longer runs network ads?  Yep, no more ads from the usual suspects that track you across the Internet.  But since  I still need to pay to keep the site running, feel free to make a small donation by PayPal.

Subscribe for updates. Trust me, no spam!

Mailchimp Signup Form

Sponsored links

1. Attend Algorithm Conference, a top AI and ML event for 2020.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.

3 Responses

  1. Hi, thanks for the nice article. I read three of yours this morning.

    In this one, and in to a smaller degree in the others, I would like to offer a small constructive criticism:
    At the beginning, I did not figure out what quick access *was*–whether it was quick internet access, some auto-mounting utility, or some file manager type program.
    I figured it out by the end of the article, and then reread it so I had a framework to understand the first part with.
    Could you consider putting a single statement like: “Quick access is a …”
    near the beginning?

    I know a statement like that helps me, though might not help everybody as not everybody’s mind is wired the same.

    Keep up the good work!

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest

On social media
Via my newsletter
Mailchimp Signup Form

Partner links

1. Attend Algorithm Conference, a top AI and ML event for 2021.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.
Hacking, pentesting distributions

Linux Distributions for Hacking

Experts use these Linux distributions for hacking, digital forensics, and pentesting.


The authors of these books are confirmed to speak during

Algorithm Conference

T-minus AI

Author was the first chairperson of AI for the U.S. Air Force.

The case for killer robots

Author is the Director of the Center for Natural and Artificial Intelligence.

Why greatness cannot be planned

Author works on AI safety as a Senior Research Scientist at Uber AI Labs.

Anastasia Marchenkova

An invitation from Anastasia Marchenkova

Hya, after stints as a quantum researcher at Georgia Tech Quantum Optics & Quantum Telecom Lab, and the University of Maryland Joint Quantum Institute, I’m now working on superconducting qubit quantum processors at Bleximo. I’ll be speaking during Algorithm Conference in Austin, Texas, July 16 – 18, 2020. Meet me there and let’s chat about progress and hype in quantum computing.