DEV Community

Cover image for Making it simple : Dual booting Ubuntu with Windows-10 (For absolute beginners)
Praveen
Praveen

Posted on

Making it simple : Dual booting Ubuntu with Windows-10 (For absolute beginners)

Hey, are you wondering how to install ubuntu with your windows 10 ?
Today we will try to do it in the most simplest and tidiest way !!

In this blog, I am only targeting newbies mostly with a windows laptop running with windows 10 or 8.1 pre-installed. This is a step by step guide for the same intended to make your task easier.I also want to make sure that it a way simplier task than you may thing and proceed with steps to get your system freshly installed with ubuntu.

We are going to install ubuntu 18.04, which supposes to be the latest long term version(lts) of ubuntu untill this date and it is recommended to install the lts version with is supported with security untill the release of the next lts version(19.04). Also any future versions of ubuntu can be installed by the same steps.

Step 0(Optional): Make a backup of any important files in your drive(just in case)

Step 1: Make a live usb of ubuntu

click here for more details

  • Download the iso file from the official website of ubuntu.
    download

  • Install rufus.
    download

  • Open rufus and select the iso file and click Ready.

  • Your live usb is ready once the process is over.

Step 2: Make a partition in your disk

To install ubuntu in a fresh system, you will need to create a partion on your hard disk where the os would be installed.That means you have to make some free space out of your main partition. For this,

  • Right click the windows button >> click Disk Management(or from the
    control panel)

  • In the Disk Management tool, right click on the drive which you want to
    partition (main disk with enough free space) and select shrink volume

  • Suitable space for the partition depends of the amount of free space in
    your disk. Anyway, free space greater than 50gb is recommended.

Step 3: Disable secureboot in windows 10

This is an important step. The new secure boot feature, intended as a security feature in Windows 10, prevents dual booting of Windows with Linux. To dual boot Windows 10 with Linux, we must disable secure boot in UEFI.

  • Open Settings, go to Update and Security >> Recovey >> Advanced startup options >> click Restart Now

Don’t worry! It won’t restart right after it, instead it will provide
some options in a boot like environment.

  • In the options, choose Troublesoot >> select UEFI Firmware Settings >> and click on Restart button.

This reboot your system in UEFI settings which may seem to have
similar interface as BIOS.

By this time you must have been booted in to UEFI utility. You can
change various settings here but all we want to do right now is to
disable secure boot option to allow dual booting of Ubuntu.

  • Move to Boot tab, there you’ll find Secure Boot option which is set to
    enabled

  • Use the arrow key to go to Secure Boot option and press enter

  • Now use + or - key to change it

  • Confirm it when prompte and press f10 to save and exit the UEFI
    settings

Now you have sucessfully disabled secure boot. Now we will move on to the installation part.

follow this for more clarity

Step 4: Installing ubuntu

Once you have disabled secure boot, it’s time to install Ubuntu.

Plug in the the live usb you have created as in step 1 and restart the computer.

  • Press f12 once the system begins to restart or pressing shift key while clicking on Restart.

Choose ubuntu from the boot menu.

Once you have booted in the live USB, you will be presented with option to try or install Ubuntu. Click on install.
(on clicking try ubuntu, you can use ubuntu temporarily and you can click on install from the desktop, to actually install the os)

You will be presented with few screen options to choose the language, checks on available space, power and internet connection etc. Just click on Continue.

Once it comes to the main screen 'Installation type', pay some attention.

  • Choose 'Something Else' as the option and click continue

Now you will be presented a screen with a list of partitions.

Remember we had created some free space beforehand? We shall use the free space to create Root, Swap and Home. Select the free space and click on the + sign.

It will provide you with option to create Linux partition.

  • First we are creating the Root partition. About 20gb can be given as
    root

    • Type of new partition : Primary
    • Location of new partition : Biginning of space
    • Use as : Ext4 journaling file system
    • Mount point : /

Click OK

  • Next we create Swap partition. Size of about double the ram memory
    (upto 16 gb max) can be given.

    • Type of new partition : Primary
    • Location of new partition : Biginning of space
    • Use as : swap area

Click OK

  • Lastly, we create the home partition. Alocate all the remaining free memory for home partion. All your pictures,documents, and other datas are stored in the home partion

    • Type of new partition : Primary
    • Location of new partition : Biginning of space
    • Use as : Ext4 journaling file system
    • Mount point : /home

Click OK

  • Now all partitions are created and click Install Now

Now all the procedures are over. Now you will be asked your username and password and other details. After that just click next untill the system reboots.

CONGRATS!!! You have successfully completed instalation of ubuntu in your system !!!

Enjoy Ubuntu!!!

For additional reference

Top comments (1)

Collapse
 
captainhusaynpinguin profile image
Captain Husayn Pinguin

What a neat guide; only if there was a section on how to create partitions that can share files between the two OS, or otherwise, what are the most solid & seamless workarounds; Or perhaps, if that's too big a challenge, maybe write a piece on this subject and add MacOS to the compatibility foolproofing as well 😉