How to Install Ubuntu Alongside Windows 10

Brief: This detailed article shows you how to dual boot Ubuntu with Windows 10, step-by-step, accompanied with proper screenshots.

Dual booting Linux with Windows is one of the most convenient way of enjoying the two operating systems on the same computer. You have both OS installed on the disk, on real hardware and when you power on your system, you can choose which operating system to use.

Dual Boot Grub Screen
In dual boot, you can choose which operating system to boot into

In an earlier tutorial, I showed the steps to dual boot Ubuntu with Windows 7 that comes with MBR partition. The steps are pretty much the same for the newer systems that come preinstalled with Windows 10.

In this tutorial, I’ll show you how to install Ubuntu with Windows 10 already installed on the system.


Before you start following the tutorial, I advise read it completely first. See what things you need and what you should be doing in this tutorial. Once you have a good idea about the procedure and have all the necessary things on hand, then start the process.
Dual-boot is not a complicated process. It just takes some time and patience.

The steps mentioned here are applicable to other Ubuntu versions such as Lubuntu, Kubuntu, Xubuntu and Ubuntu-based Linux distributions such as Linux Mint, elementary OS etc.

Dual boot Ubuntu Linux with Windows 10

Dual Boot Ubuntu Linux with Windows

This tutorial is suitable for systems that comes with Windows 10 pre-installed with UEFI secure boot and GPT partitioning system. Please check whether your system uses GPT or MBR.

Compatibility checks

Make sure your system uses UEFI: This tutorial is only applicable for systems with UEFI boot. If you have bought your system in the last 5-6 years, chances are that you should already have a UEFI system on GPT partition. However, there is no harm in verifying that your system uses UEFI. If your system uses legacy BIOS with MBR partitioning system, please follow this dual boot tutorial.

Bitlocker encryption process is different: Newer systems with Windows 10 Pro have their disk encrypted with Bitlocker. If you have such a system, please follow this tutorial to dual boot with Bitclocker encryption.

System with both SSD and HDD: If you have a system with both SSD and HDD, i.e. dual disk system, the process is pretty much the same. However, you’ll be a lot better following this dedicated tutorial on dual booting dual disk system.

Prerequisites: What do you need?

You’ll need the following things to easily and safely installing Linux alongside Windows:

  • A computer that comes preinstalled with Windows 10.
  • A USB key (pen drive or USB drive) of at least 4 GB in size and no data on it.
  • Internet connection (for downloading Ubuntu ISO image and live USB creating tool). You can do this on any system, not necessarily on the system you are dual booting.
  • Optional: External USB disk for making back up of your existing data.
  • Optional: Windows recovery or bootable disk (if you encounter any major boot issues, it could be fixed).

Let’s see the steps of installing Ubuntu alongside Windows 10. I have made a video of the entire process. You may watch that as well.

Step 1: Make a backup of your Windows system [optional]

It is always nice to have a back-up of your data, just in case if you mess up with the system while dealing with the disk partitions.

I advise to copy all your important data that you cannot afford to lose on an external USB disk. You can use an external HDD (slower but cheaper) or SSD (faster but expensive) and copy the important files and folders on it.

We earn a commission if you make a purchase, at no additional cost to you.
11/29/2022 12:42 am GMT
We earn a commission if you make a purchase, at no additional cost to you.
11/28/2022 12:53 pm GMT

Step 2: Download Ubuntu (or whichever Linux distribution you are using)

Download Ubuntu Desktop

Head over to Ubuntu’s website and download the ISO file. The file should be around 2.5 GB in size. If you need to download Ubuntu via torrents, you can click the ‘alternative downloads’.

Step 3: Create a live USB/disk of Ubuntu

I presume that you are using Windows to create the live USB. There are several free applications that allow you to create a live Ubuntu USB. You can use any of these tools. Since I cannot show all of them, I’ll go with Rufus.

Download Rufus for free from its website. It will download a .exe file.

Plug in your USB. This device is going to be formatted so make sure that you don’t have any important data on this USB disk.

Run the Rufus tool you just downloaded. It automatically identifies the plugged in USB but double check it anyway. Now, browse to the location of the downloaded ISO image and ensure that it uses GPT partitioning scheme and UEFI target system.

Make Live Usb With Rufus

Hit the start button and wait for the process to complete. Your live Linux USB is ready.

Note: Installing Ubuntu and creating the live Ubuntu USB process can be done on any computer. But the rest of the process takes on the system on which you are dual booting.

Step 4: Make some free space on your disk for Ubuntu installation

In many systems, while installing Ubuntu, it gives the option to make disk partition for Ubuntu. However, that is not a surety. This is why it would be better to make the required free space on the disk before starting the installation procedure.

In the Windows menu, search for ‘disk partitions’ and go to ‘Create and format hard disk partitions’.

disc management windows

In the Disk Management tool, right-click on the drive which you want to partition and select shrink volume.

If you have just one partition like this, you need to make some free space out of it for Linux. If you have several partitions of considerable size, use any of them except C drive because it may erase the data.

The 256 GB in my system was already had several partitions from the manufacturer but mainly for backup and other purposes. The main partition was C drive, of around 220 GB, where Windows 10 is installed. In my case, I shrank the C drive to make some free space for Linux installation.

making free space for dual boot

How much space do you need for Linux in dual boot?

This depends on how much total disk space you have. You may install Ubuntu on 15 or 20 GB but you’ll soon start running out of disk space. These days, you should have at least 120 GB of disk. In that case, go for 30-40 GB of disk for Linux. If you have 250 GB disk, allocate it 60-80 GB or even more. If you have more disk space, allocate it even more free space, if you want.

What if you have D, E or F drives?

This is a common confusion for many people as they think Ubuntu can only be installed on the C driver. That’s not true. You see, I had only one C drive, so I shrank it. If you have D, E or F drive, you may shrink one of those drives. You may also choose to delete the D, E or F drive. NEVER DELETE C DRIVE.

Step 5: Boot from live Ubuntu USB

You created a live Ubuntu USB in the step 3. Plug it in the system. Before you go and boot from the live USB, let’s have a quick word about the infamous secure boot.

Do I need to disable the secure boot for installing Linux?

6-8 years back, the UEFI secure boot was not well-supported by Linux and hence you had to disable secure boot before installing Linux. Thankfully, Ubuntu and many other Linux distributions support secure boot very well these days. Normally, you should not need to do anything about it. However, if your system doesn’t allow to boot from live USB or if you see any other related issue, you may disable the secure boot on Windows.

Alright! Let’s see how to boot from the USB. You can go to the boot settings by pressing F2/F10 or F12 at system start time and select to boot from the USB. However, some people find it difficult.

The longer but easier step is to access the UEFI boot settings from within Windows. In the Windows menu, search for UEFI and then click on ‘Change advanced startup options’:

Accessing Uefi Settings Windows

Go to the Advanced startup option and click on Restart now button.

Access Uefi Settings Windows

On the next screen, click on ‘Use a device’:

Access UEFI Settings in Windows

Recognize the USB disk with its name and size. It may also be displayed as EFI USB Device.

Access UEFI Settings Windows

Now it will power off your system and reboot into the disk you chose which should be the live USB disk. You should see a screen like this after a few seconds:

Ubuntu Live Install Screen

The ‘Try Ubuntu wiithout installing’ option allows you to experience Ubuntu from the live disk. The option to install Ubuntu can be found on the desktop.

The “Install Ubuntu” option will start the Ubuntu installation immediately.

You can opt for either option based on your preference.

Step 6: Installing Ubuntu along with Windows 10

Start the installation procedure. The first few steps are simple. You choose the language and keyboard layout.

On the next screen, choose Normal installation. No need to download updates or install third-party software just yet. You may do it after installation completes.

Hit continue. It may take some time to go to the next step.

Installing Ubuntu in dual boot

Note: Some people try to download updates and install media codes while installing. In my experience, it sometimes creates issues during installation and may also cause the installation to fail. For this reason, I advise against them.

Important: Installation takes two approaches based on what you see on the next screen

Since this is a detailed tutorial, I’ll cover both aspects.

Approach 1: You see the “Install Ubuntu alongside Windows Boot Manager”

If you see the “Install Ubuntu alongside Windows Boot Manager” on the Installation type screen, you are in luck. You can select this method and hit continue.

Ubuntu Installation Type
If you see the “Install Ubuntu alongside Windows Boot Manager”, choose it

The next screen will give you the option to create a partition for Ubuntu by dragging the divider. You can allocate appropriate disk space to Linux here. Ubuntu will create one partition of the allocated disk space and it will have root with home and a swapfile of 2 GB in size under root itself.

disk partition dual boot ubuntu windows

Approach 2: You don’t see ‘Install Ubuntu alongside Windows Boot Manager’ option or it is greyed out

But if you are one of the unlucky ones who don’t see this option, no need to worry. Things are not that bad for you. You can still install Ubuntu with Windows.

On the Installation type screen, go with Something Else.

Install Ubuntu Something Else

It will take you to the partitioning screen. Remember you had created some free space beforehand?

You may choose to allocate the entire free space to root (swapfile and home will be created automatically under root) or you can separate root, swap and home partitioning. Both methods are fine.

I am showing the steps for creating root, swap and home partitions separately. But feel free to use a single partition for all of them.

Select the free space and click on the + sign.

partition on Ubuntu Windows 8 dual boot

It will provide you with the option to create a Linux partition. You are creating the Root partition. Anything above 25 GB is more than sufficient for it. Choose the size, select Ext 4 as file type and / (means root) as the mount point.


Clicking on OK in previous step will bring you to the partition screen. Next, create swap. Like previously, click on the + sign again. This time, use the file type as Swap area.

Ideal swap size in Linux is debatable. If you have 2 GB or less RAM, use swap double the size of RAM. If you have 3-6 GB of RAM, use a swap of the same size as RAM. If you have 8 GB or more RAM, you may use swap half the size of RAM (unless you have plenty of disk space, and you want to use hibernation and in that case, use a swap of at least the same size as RAM).

If you feel like you have less swap on your system, don’t worry. You can easily create swapfile and add more swap space to your systems.


In the similar fashion, create a Home partition. Allocate it maximum space (in fact allocate it rest of the free space) because this is where you’ll save music, pictures and downloaded files.


Once you are ready with Root, Swap and Home, click on Install Now:


Well, you have almost won the battle. You can smell victory now. Select a timezone when asked.

Installing Ubuntu Timezone Selection

Next, you’ll be asked to enter a username, hostname (computer’s name) and a password.

Installing Ubuntu Account Setup

Now it’s just the matter of waiting. It should take 8-10 minutes to complete the installation.

Installing Ubuntu

Once the installation finishes, restart the system.

Restart After Installing Ubuntu
Restart after installation completes

You’ll be asked to remove the USB disk. You can remove the disk at this stage without worrying. The system reboots after this.

Ubuntu Finished Installation
Remove USB and press enter

You do not need the live USB disk to use Linux anymore. You have installed Ubuntu on your computer’s disk. Remove the USB and keep it for later if you want to use it for installing Linux on some other system. You may also format it and use it for regular data storage or transfer.

If everything went smooth, you should see the grub screen once the system powers on. Here, you can choose Ubuntu to boot into Ubuntu and Windows boot manager to boot into Windows. Pretty cool, right?

Dual Boot Grub Screen
You can choose the operating system from the grub screen
Dual boot did not succeed? Here are some troubleshooting tips

Life is not even for everyone. For some, the dual boot might not succeed just yet. However, instead of giving up, you may follow a couple of tips and retry the installation procedure.

Try changing the USB port

This may sound ridiculous but sometimes some USB ports cause issue with booting the USB or installing Linux. Changing the USB port could be a trick.

Try not using internet while installing Linux

I have experienced that sometimes Linux installation throws error if it is connected to the internet. If you encountered a “‘grub-efi-amd64-signed’ package failed to install into /target” error, please try installing Ubuntu without internet.

Disable secure boot and/or fast boot

In some rare cases, secure boot would not allow you to boot from live USB or install Linux. Disable secure boot. You may also disable fast boot in some cases.

Dual boot finished but you don’t see the grub screen to boot into Ubuntu

Please check your boot order in the UEFI settings. Do you see Ubuntu/UEFI below Windows Boot Manager? If yes, move it up the order. If you don’t see grub at all, you may carefully try this or this tutorial.

Grub rescue error or no bootable device found after dual booting

Use this tutorial for no bootable device found error. And this one for grub rescue error.

Additional Tips: You’ll notice that there is a time difference between Windows and Ubuntu You can fix the time gap issue in dual boot easily. Also, in the grub screen, Ubuntu is up the priority. You can also change the boot order to make Windows default if you are going to use Windows more often than Linux. If you want to reverse the process, follow this guide to remove Ubuntu from dual boot with Windows.

Donate Itsfoss

I hope this guide helped you to dual boot Ubuntu with Windows 10 UEFI. I went into too much detail here, but I wanted to answer all the common confusion and show all the required steps. If you still have some doubts or face some strange error, please leave a comment, and I’ll try to help you out.

Similar Posts

  • Hey there. I installed Ubuntu using second method but I don’t see the option of boot up with windows manager in grub menu. Any solutions?

  • Hi, I’ve UEFI Enabled and only one SSD with GPT settings in my HP Envy 15-q006tx laptop. I am dual booting Win 11 and Fedora. The problem is when I power on the laptop it just boot into Windows 11 directly without showing any boot menu, or Grub menu or windows boot menu, it just boot directly into windows.
    I need to press F9 as soon as I power on to get into boot menu and from there I select Fedora from the boot menu and then it shows Grub screen and from there I again select Fedora, only then it boots Fedora. I’ve checked my BIOS settings and move the OS Boot Manager entry to the last but still it doesn’t work somehow. Please help me fix it to boot Fedora without pressing any button.
    PS: There is no entry of Windows or Fedora in BIOS settings.

    • “I’ve checked my BIOS settings and move the OS Boot Manager entry to the last but still it doesn’t work somehow. Please help me fix it to boot Fedora without pressing any button”

      Strange. So I presume that you have a Windows Boot Manager entry and a Grub entry in the BIOS.

      And you have tried to put Grub entry on top of rest in the boot order and yet it doesn’t work and somehow goes back to lower position?

  • Great tutorial. Unfortunately, after I installed Windows 8.1 64 bit my former Xubuntu 20.04 installation was inaccessible regardless what i was doing (boot-repair, super grub2) it looks like free disk space now and nothing else. So i was trying to install Xubuntu 22.04 on that free space from a live usb. Installer could not detect preexisting Windows now (what it could when i had Win 8.1 32 bit and installed an Xubuntu 20.04 alongside) and i had to choose “something other”. After adding root partition as you describe i got following message and did not dare to proceed: “No EFI System Partition was found. This system will likely not be able to boot successfully, and the installation process may fail.
    Please go back and add an EFI System Partition, or continue at your own risk.”
    What shall i do now?

  • I installed windows 10, but I cannot boot from the ubuntu USB, I try to programs to make the boot-able USB. every time I see on my screen boot fail. I boot from bios because I don’t have UEFI setting, or use a device option in restart now window.