How to Install Ubuntu 16.10/16.04 Alongside With Windows 10 or 8 in Dual-Boot

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Matei Cezar

I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

328 Responses

  1. Kyrpanglin says:

    Hello can you help me to install Ubuntu but windows 10 it does not appear or both only Ubuntu is appear.

    Please help me.

  2. ajosamak says:

    Hello can you tell me why in size of available space file C in my win 10 only free 8 MB? i am still had more than 200GB in i checked on properties, please help me

  3. Dylan says:

    Windows start fine, but it’s like the BIOS doesn’t read Ubuntu at all as a bootable OS, just automatically starts to windows. Tried reconfiguring boot order, but the only thing it will recognize for Ubuntu is the iso I have on my USB stick. Not sure why it doesn’t see it, ran the full install step by step on a partitioned hard drive, and my F12 boot option still doesn’t see Ubuntu?

  4. Trần Ngọc Dũng says:

    Do I have to shrink on partition C? can I do this step on other partition which also have enough space?

    • Matei Cezar says:

      You can use or shrink any partition you find best-suited.

      • Jan Jacob Lubach says:

        I shrinkt my D:\ partition and got 50GB unallocated. This space was unusable for Ubuntu?

        • Matei Cezar says:

          How is the hard disk partitioned under Windows: GPT or MBR. In case of MBR you won’t be able to create more than 4 primary partitions. You should delete the fourth partition, create the third partition as extended and then yo can create more logical partitions under the third extended partition. This is not the case for GPT partitioned disks.

  5. Erik says:

    I am confused “Size = at least 20000 MB” but then the figure says 10914 MB, if I select the size as mentioned I do not get any left for the next step???

    • Erik says:

      I selected size as in the images (except the first, then I selected 20GB) but now the installation crashed because the free space was too small? I am not sure if the free space I created before is lost now

  6. Waqas Masood says:

    I am installing Ubuntu along side windows 10 preinstalled but there is no option “install ubuntu along window“.

  7. samwa says:

    Hi, I just finished going through all the steps that you have in this blog. First of I have a brand new Lenovo Yoga laptop, which I just bought. It came with windows 10. After I installed Ubuntu and rebooted the system it went straight into Ubuntu login screen and now it seems I cant get back to Windows because it does not give me that option at all.

    So my question is did I miss anything in the steps? Also what was the point of step 8 part 2 where we created a partition of 5MB? Was that where grub was supposed to be installed? Is there a missing step of installing Grub or is Grub apart of the Ubuntu ISO image that I downloaded? Please help. Thanks.

    • Matei Cezar says:

      Have you manually created the partitions or you’ve choose to automatically install Ubuntu alongside windows? Also you should check out UEFI settings after reboot -> Boot Options -> BBS Priorities and see what’s the default OS you’ve choose to boot from.

      • samwa says:

        Hi Matei,

        I manually created the partitions just like the document recommended. As for your next question, I am only able to get to windows now by restarting the machine while I press Fn + F2. When I do that and go to the boot options, I notice it only gives me Windows as the only option for the OS. In other words Ubuntu is does not show up in the list.

  8. Esther says:


    I installed Ubuntu with Windows dual boot. Now I don’t have any grub menu. I can only access windows, but I know Ubuntu is still there and would like to restore or install the grub menu.


    • Matei Cezar says:

      Open UEFI settings after reboot -> Boot Options -> BBS Priorities. From there, on some UEFI machines, you can setup what OS should be loaded by default. However, depending on the motherboard producer, the UEFI settings it might look different.

      You can also run the following command with elevated privileges from Windows OS:

      bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi
  9. Gonzalo P says:

    Great tutorial!

    However, now I’m having problems starting windows. Every time I restart or simply sleep my computer, the first screen I see asks me to choose “Ubuntu”, “advanced options of Ubuntu”, “Windows boot Manager”, or “System settings”. When I choose Windows boot, Bitlocker asks for this very very large Recovery Key, which is getting really annoying and time consuming. Is there anyway of avoiding this without loosing my computer encryption/security? I use Windows 10 Pro 95% of my time. I only need Ubuntu for a side job. Is there anyway to boot directly to Windows as a default?

    • Gonzalo P says:

      One small technical correction: its “Every time I restart or HIBERNATE my computer”. When just at sleep mode it doesn’t ask for the recovery key… although after a long sleep my computer eventually hibernates, so almost the same thing.

  10. Michal Nemecek says:

    My copy of Ubuntu didn’t boot into the first screen shown in step 2, it booted straight to the next one, with a try Ubuntu and install Ubuntu buttons. As for the installation, I didn’t exactly follow the instructions.

    I selected something else, created just one ext4 partition from unallocated space (showed up as /dev/sda5), went back and did install Ubuntu alongside Windows 7 (I used Windows 7 in Virtualbox, I’m too scared to do it on real hardware) and it said that it will write to partitions /dev/sda5 (the one I created) and /dev/sda6 (I guess it cut off something from /dev/sda5).

    Once installed, rebooting the VM boots straight into GRUB, where I tried both options, however mine had 5 options instead of 3. The extra options are:

    Memory test (memtest86+)
    Memory test (memtest86+, serial console 115200)

    I have no idea why these options appeared, but as long as they don’t mess up anything, I don’t care about them.

Got something to say? Join the discussion.

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.