The first thing you need to understand is that Linux is very different from Windows.
  • The filesystem is different

  • installing software is different

  • security is different

  • installion is different

  • etc

1. Intro

You must be open to learning new techniques and habits.

Dual-boot requires good backups from the start. You never know when a Windows update will wipe all your partitions :-)

Reinstalling Ubuntu is very easy - About windows I wouldn’t be that sure…​ :-)

2. Prepare installation

2.1. Download Ubuntu ISO image.

Download the Ubuntu ISO image

2.2. Make a bootable Ubuntu USB drive

Download etcher 1st

Once you have downloaded and launched Etcher,

  • click Select image, and point it to the Ubuntu ISO you downloaded

  • click Select drive to choose your flash drive, and click Flash!

  • start the process of turning a flash drive into an Ubuntu installer.

2.3. Backup Windows 10

Backup Windows 10

3. Install

3.1. Auto Install Ubuntu

This is the part that makes installation alongside Windows 10 different from a normal installation.

The Ubuntu installer automatically detects that we have a pre-existing Windows 10 installation on our system,

Select "Install Ubuntu alongside Windows 10" option and click on continue.

Thats all!

Is the "Install Ubuntu alongside Windows 10" option missing?
Please note that in the following circumstances the Ubuntu 20.04 installation option "Install Ubuntu alongside Windows 10" may be missing,
  • if your Windows 10 installation "is not correctly shutdown"

  • is hibernating,

  • your disk has corrupted partition which needs repair,

  • your disk has not enough free disk space left for creating/resizing partitions

  • uses Dynamic Disk or the file system contains uncontrollable file fragmentation

3.2. Manual Install Ubuntu

3.2.1. Prepare Windows Machine for Dual-Boot

  • Log in to your Windows machine with an administrative account and right-click on the Start Menu → Command Prompt (Admin)

  • in CLI, type diskmgmt.msc

    • Right-click on partition and select Shrink Volume in order to resize the partition.

    • On Shrink enter a value on space to shrink in MB (use at least 20000 MB)

Once space has been resized you will see a new unallocated space on the hard drive. Leave it as default and reboot the computer.

3.2.2. Start Ubuntu installation

BIOS/UEFI

Place the USB stick in the drive, reboot the machine and instruct the BIOS/UEFI to boot-up from the DVD/USB by pressing a special function key (usually F12, F10 or F2 depending on the vendor specifications).

After booting into the Ubuntu installation, you'll be presented with the prompts.
  • select "Install Ubuntu."

  • Select your keyboard layout

  • The "Updates and other software" options are optional.

  • Installation Type

    • "Installation alongside Windows 10" See Above

    • "Somethings else" Continue

Somethings else

Select the free space (the shrinking space from Windows created earlier) and hit on the + icon below.

On partition settings use the following configurations:

  Size: >= 20000 MB
  Type for the new partition : Primary
  Location for the new partition : Beginning
  Use as : EXT4 journaling file system
  Mount point : /
  • When finished, hit the Install Now button and start the installation process.

On pop-up about swap space. Ignore the alert by pressing on the Continue button.
  • On the next screen adjust your location by selecting a city from the map.

  • After the installation process reaches its end: Restart

Ready!

Boot Menou