Skip to content

Install Ubuntu with dual boot alongside Windows 10

25 mayo, 2021

Windows is the most popular family of operating systems among home users, but GNU / Linux distributions have a reputation for being much more secure, although their downside is that they have an inferior application ecosystem. But why have to settle for choosing between one and the other if we can also have the two in the same team with a dual boot?

When at the end of July we published the guide to dual boot on the same computer with Windows 7 and Ubuntu, there were a few of you who asked us to do the same when Windows 10 came out. We have not forgotten that request, and that is why today you have a new step by step to be able to have both Windows 10 and a GNU / Linux distribution on the same computer.

To carry out this new tutorial I have been seriously thinking about using another GNU / Linux distribution, but considering that many of the ones recommended for novice users are also based on Ubuntu, I have decided to repeat with the Canonical distro. After all, the process shouldn’t vary too much either with the rest of the alternatives.

There is one thing that I did not emphasize in the previous version either, and that is that from time to time when installing Ubuntu does not correctly recognize Windows partitions. For a change, in this tutorial I will explain how to solve the problem, while when installing it I will skip the process of the three partitions of the previous guide and I will make it much easier.

10 MOST DANGEROUS COMMANDS for Windows, Mac, Linux

Freeing up hard drive space

Dsc 0684

For this tutorial I am using a computer with the LEGACY boot mode in which I have done a clean installation of Windows 10. Therefore, the first step will once again be to make a space for the new tenant inside our hard disk modifying the partition on which it is installed Microsoft’s operating system.

To carry out this process we will have to enter an option that is not integrated into the Windows 10 configuration panel, so the simplest thing will be to click on the start menu and start typing “partitions” for Cortana to suggest us to enter the option of Create and format hard drive partitions.

Once there, all we have to do is select the C: drive, right-click on it and choose the option to Dicrease the volume. The process is simple, and once this option is chosen we will limit ourselves to choose the space we want to free to install our GNU / Linux distribution on it. The space that we free will have to be left as unallocated.

Preparing and running the installation USB

650 1200

The next step will be to enter the Ubuntu website or any other distribution, choose the version and download the .iso file. For the tutorial I have chosen the LTS version again to prioritize stability and receive longer support. In this way, all we have to do is choose between the 32 or 64-bit version of Ubuntu 14.04.3 LTS and click the Download button.

Once the download is finished we will start a program to rip the Ubuntu ISO to a USB. My chosen one has returned to be Rufus for being the one that has always worked for me and for not having to install anything, it will be enough to run the rufus-2.2.exe file in administrator mode to be able to start the ripping process.

650 1200

Rufus is easy to use. The only thing we will have to do is choose the USB in the option device, and almost underneath click on the DVD icon in the box where it says ISO image to navigate through our docs and choose the Ubuntu .iso image we just downloaded. Once this is done we will only have to press the start button and wait a few minutes for the process to complete.

Finally, we will only have to insert the USB into our PC when it is off, turn it on and press before the Windows icon appears the default key that we have so that the dialog to exit choose from which drive to start the computer. In my case the key is F11, but it may vary on each computer.

Trouble detecting Windows partitions?

650 1200

It is possible that the Ubuntu installation process do not recognize Windows partitions. You will know this when in the type of installation the option to install the distro next to Windows does not appear, although you will also notice it if when you click more options and start the partition management you see that the entire hard disk appears as free space.

Fortunately it is something that can be solved with a couple of terminal commands. The first thing we will have to do to solve it is to reboot the USB from the beginning and make sure that we give the option to try Ubuntu instead of installing it directly. In this way the distro will be launched with all its functions.

Once Ubuntu is started we will press at the same time Ctrl + Alt + T to launch the terminal of the distro. Next we will have to enter a series of commands that, at least in my case, served to solve the problem. Are here:

First of all we have to make sure install GDisk program writing:

sudo apt-get install gdisk

Later we will execute the fixparts on the corresponding hard drive, which in my case was the sda:

sudo fixparts / dev / sda

This program will ask us if you want erase GPT data and repair partitions, which is precisely what I did to solve the problem. At one point in the process, we will be asked to enter a letter to execute one of the commands, and we will use the W to write the MBR partition.

Finishing the installation

Dsc 0685

Once the process described above has been done and then the Install Ubuntu application is launched the problem should have been fixed by now, and the installer should detect the Windows 10 partitions, although Microsoft’s operating system will instead appear as Windows 7.

In the tutorial to install Ubuntu together with Windows 7 I explained how to manually configure the Ubuntu installation to determine the size of the partitions, but in this case we will go faster and end up choosing the option of install Ubuntu alongside Windows 7, which as I have told you is how the installer will call Windows 10.

This will make the installation system itself responsible for creating the Ubuntu partitions and leaving everything well installed, both the operating system and the GROUP. Once the installation is finished, every time we start the computer again from now on, a box should appear in which we can choose between Ubuntu and Windows. The dual boot will have been a success.

In Genbeta | Linux step by step: Install Ubuntu alongside Windows 7
Suggest what you want to see in the section | Linux step by step: what do you want to see in the section?