A lot of people keep thinking of different ways in order to run Windows alongside of their Linux distro like ubuntu. And it makes sense since a lot of people simply cannot afford to have two different machines for two different purposes. And while Linux is the king, many Games and professional software like Adobe suite simply don't work on Linux. While you can switch to the alternatives, sometimes we cannot. In this case, Dual boot ubuntu and windows 10 is often seen as a more genuine method.
Even I have dual booted my Linux distro with windows 10 for gaming and running several windows propriety applications and software.
So there are two cases which will change the way of actions you will have to perform in order to dual boot
In this article, we will be explaining the method to follow in both of the scenarios. Do note that the steps mentioned in this article will utilize UEFI Boot systems. So if you have BIOS, please don't follow the mentioned steps. Instead, we will mention different steps for BIOS so make sure to read the entire article.
How to know if you have UEFI or BIOS?
Most new systems built after 2016 utilize UEFI boot systems.
Dual Boot Ubuntu with a system already running on Windows 10
This is probably the easier way to dual boot since it doesn't require any special adjustments after dual boot.
Just keep following the following steps and you should be good to go.
Do note that if you aren't able to see any option named as 'Boot from USB' or can't find your 'USB Name', please retry booting to Windows 10 and performing the same steps after searching 'Reset'.
If you still can't find the option or your bootable USB name, your system doesn't support UEFI and is running on BIOS which was an older boot system. Not to worry, you can switch off your system and boot into BIOS. Please search on the internet about how to boot bios on your system. Once booted into bios, connect your bootable USB drive and it as 'boot override' in boot settings and change SATA Storage Configuration to 'AHCI'. If that doesn't work. You can also remove the currently connected SSD or Hard Disk by opening your laptop or Desktop, connect your USB and boot into Ubuntu. Later during installation, you can reconnect your SSD or HDD.
And that's it. You have successfully dual booted Ubuntu alongside Windows 10.
Feel free to let us know in the comment section below if you have any queries or thoughts.
Dual Boot Windows 10 with a system already running on Ubuntu
Now let's talk about dual booting Windows 10 on a system already running on Ubuntu or any other Linux distro. As long as your Linux distro supports live USB, the process should be exactly the same.
Before that, let us understand why you cannot follow the same procedure mentioned above when dual-booting Windows 10 on a system already running on Ubuntu or any other Linux distribution.
The thing is, Windows 10 messes up with the Grub and boot files with its own Boot Manager which will end up breaking your current Linux installation. To prevent such a scenario, we have to follow a workaround.
How to install Boot Repair on Ubuntu?
Open the terminal and enter the following commands (Press enter after each line)
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair
That's it. You have successfully dual booted Windows 10 on a system already running on Ubuntu or any other Linux distribution. You don't have to do anything else.
You can ask us in the comment section below if you are facing any issues with the mentioned method or having any doubts or queries. However, We have personally tested these methods on our systems in order to check the reliability of this article.