How To Dual Boot Windows 10 And Linux (Ubuntu — 20.04 LTS) In A Few Hassle-Free Steps
By: Krupesh Raikar
Tags: Data Science, Installation, Linux, Software Development, Programming

Step 3: Installation

Now that you have successfully allocated free space in your drive with partitioning, we can start the installation process.

Here is the complete walkthrough with screenshots.

Connect the USB Flash, make sure it is detected and that you can see it as a drive. Restart your PC. Before it boots, press Esc or F2 repeatedly. You will see a screen as follows:

Select the boot device as your USB Drive and press Enter. You should see a screen as seen here:

From here, it is just a few clicks for the basic setup which are shown below:

Select Install Ubuntu option (if you want to try, you can actually use the Try Ubuntu option which still gives you the full capabilities. The only hassle is that you would have to connect your USB flash drive every time you want to use it).

Select language.

Connect to your Wi-Fi (optional but recommended as the packages and updates will be installed).

When you are connected, you will see the screen as seen below. Also tick the option for install third-party software (includes codecs e.g. MP3, Flash, etc.)

Next, you will be asked to create a password for secure boot. This is different from the actual login password that will come later. This password is not needed much, but please keep it handy as it is required if you install anything that might change the boot loader.

From here on begins the tricky part. You have 3 Options:

Install alongside Windows Boot Manager — This will automatically do the partition for you, but you do not get an option for personalized partitioning, nor the option of where to install the boot loader. Erase disk and install Ubuntu — You probably don’t want to do this as it will erase your windows installation. Something else — This is what we will go for, as we have created a free space partition for this purpose.

You will get a window as follows. As you can see, there is a free space of around 20 GB listed there. This is what we will use.

Select the free space.

Click on the + at the bottom left corner, as indicated by the mouse pointer in the picture below. You will get the options for the partition.

We have about 20 GB available. From that, I have used 13 GB for use as the ext4 file system. Select the partition type as Logical and the mount point as a ‘/’ as indicated in the image. Click Ok.

After that, go back to the free space seen again, this is approx. 7 GB in this case and click on + again to create a new partition. This one will be used as the swap (a kind of backup RAM).

Once done, click ok.

Now, in the option at the bottom, which says Device for Boot Loader Installation, select the ext4 partition that was created, in this case, it is /dev/sda5.

After this selection. Click install now and continue.

You will have the option to select the approximate region.

Next, you can create a login and password. This password will be used for login and also when you have to install new applications.

Continue and the installation will begin. This will take a couple of minutes.

Once done, click Restart Now.

After this, you may also see a window saying remove disk and press Enter. In this case remove the USB Flash drive, press Enter.

Once done, you press Enter for each of the following.

There you go, almost done. Log in with your password.

Done! Welcome to your brand new Ubuntu installation! This is the window you should see. You can create accounts and customize them the way you like.

Once you restart your PC, you will automatically go into the Windows boot by default. If you want to start Ubuntu, press escape (followed by F9 to go into the boot device) at startup and you will get to select what you want to boot.