This tutorial will walk you through the steps to install Ubuntu desktop on a separate partition alongside Windows 10 in a dual boot environment. These steps can also be applied if you wish to install Ubuntu alongside Windows 8 or 7.
Prerequisites
This guide assumes that you have already installed Windows 7, 8 or 10 on your system and you are intending to install Ubuntu in a dual boot environment.STEP1 - Create a Separate Disk Partition
From your Windows 10, click Start > Disk Management.
If you have more than one disk in your computer, then select the appropriate disk. I have only one disk and I don't have any extra space left. So I will shrink 25GB space from my C volume for Ubuntu installation.

Wait while Querying Shrink Space

You need at least 25GB or more disk space for Ubuntu installation. You have to Enter the amount of space to shrink in MB: in my case 25600 MB is equal to 25 GB enough for the test environment.

Here you can see 25 GB shrink space is now in Unallocated space and this what we need for Ubuntu installation in a separate partition.

Reboot your Windows machine and boot it with Ubuntu installation media i.e. DVD or bootable USB.

Choose Install Ubuntu from the grub menu

Choose your appropriate language and click Continue

Choose your appropriate Keyboard Layout and click Continue

Keep the default selection as shown in the image below and select Install third-party software for a smooth installation of Ubuntu on your laptop or desktop.
Click Continue.

We are installing Ubuntu in a separate partition so we have to choose Something else as shown in the below screenshot.
Click Continue

Warning: Carefully choose your free disk space to create a file system for Ubuntu installation. Do not touch other partitions as they are coming from Windows. Leave all other partitions and disk space untouched.
Click on + sign to create a partition for Ubuntu.

I will use the entire 25 GB space for / mount point. If you need a separate mount point for /home /var for example, then you have to create those mount points with appropriate space if you have the luxury of enough disk space unlike me.
Click Ok.

We have created an ext4 file system for the Ubuntu installation.
Click Install Now

On write the changes to disks? Click Continue.

Select your appropriate location from the map if it is not automatically selected and click Continue.

Provide login credentials here and memorize your password because you will need to log in to Ubuntu once the installation completed.
Click Continue

Installation begins.

Click reboot

Remove Ubuntu installation media from your laptop or desktop and press ENTER.

You will see the following screen once reboot completes.

Log in with your Username and Password.

On the following screen, click Skip.

Click No, don't send system info and click Next

Taking privacy into consideration, I am not enabling location services.
Click Next

Click Next

Click Done.

You have completed the Ubuntu desktop installation.

Now we need to check whether our Windows 10 is still working in dual boot.
Let's reboot.

Click Restart

Choose *Windows Boot Manager..... to boot from Windows 10.

Excellent! Windows 10 has no issue at all.

Wrapping up
Now you have Ubuntu desktop in a separate partition alongside Windows 10 in a dual boot environment ready to use.
In my scenario, after completion of installation and after rebooting the system I am logged into windows instead of Ubuntu and even not able to find Ubuntu option into boot loader.
ReplyDeleteFollow this tutorial to fix the issue. https://www.techsupportpk.com/2020/04/how-to-fix-ubuntu-not-detecting-windows.html
Delete