DEV Community


Posted on

Install Ubuntu alongside Windows (Dual boot)

Minimum requirements for installation of Ubuntu

  • 2GHz dual Core Processor
  • 4 GB RAM
  • 25 GB of disk space
  • Bootable Media with a space of 4 GB

Step 1: Downloading Ubuntu

  • Go to the official website of ubuntu.
  • Download the iso file of the lastest version.

Tip: Try to download the LTS version as they offer better support and stability for atleast five years.
Alt Text

Step 2: Create a bootable USB drive

  • You can use balena etcher for flashing the iso file into a USB drive.
  • Select the downloaded image and select the drive which is meant to be flashed.
  • Click on Flash and then it will done in a few minutes. Alt Text

Step 3: Creating a partition where ubuntu needs to be installed

  • Open control panel and search for Disk Management. Alt Text
  • Right click on the drive which needs to be partitioned and select shrink Volume. Alt Text
  • Select the desired space required. A minimum of 30 GB is recommended.

Step 4: Booting the USB

  • Restart the computer and enter into the bios settings.
  • Select the USB drive as the first preference to boot into.
  • Once you have booted in the USB. Click on install and it will do some checks. Click on continue.
  • A screen appears to choose type of installation. Click on Install Ubuntu alongside windows to dual boot. Alt Text Click continue to confirm the automatic partition creation. Alt Text
  • Click on install now.
  • Select your location from the map for setting the timezone. Alt Text
  • Fill in the user details and click on continue to begin the installation.
  • The installation will take at least 15 to 30 minutes to complete depending on the system requirements. Alt Text After the installation is complete, Click Restart Now to reboot the PC. Alt Text So the installation part is completed.

Step 5: Boot into Ubuntu

  • After the reboot, You will see both Ubuntu and Windows listed, Select Ubuntu and press Enter. Alt Text
  • Login with your credential to get into the desktop screen. Alt Text That's it! you are done.

Errors you may face

  • You may encounter an issue with the bitlocker, If faced then log back to windows again and disable the bitlocker by following the steps below.
  • Open Control Panel and select system and security. Alt Text Choose BitLocker Drive Encryption to Manage BitLocker. tap Turn off BitLocker and re-confirm your option. The drive is no longer in BitLocker password protection. Alt Text I hope this tutorial helped you to install Ubuntu. Thanks for reading..

Discussion (2)

th3ph4nt0m profile image
Henrik Steffens

The other way around would be interesting: How can I install Windows on a device with Ubuntu already in it? My experience was that windows just kills everything that is not windows, and the GRUB boot manager won't set up automatically.

manuelojeda profile image
Manuel Ojeda

For what I know you can still boot up Ubuntu by selecting the partition at the startup of your PC.

Once you are in Ubuntu you can do the next steps here: