Although on Windows 10, you can now install different Linux distros, including Ubuntu, SUSE, and Fedora, sometimes you may be still required to use the full-blown version of Linux to access a particular tool that you need to get the work done.

If you don’t have a spare computer to install a full version of Linux, you can alternatively modify your current installation to run Ubuntu alongside Windows 10 on a dual-boot setup. Also, since Ubuntu Linux has been improving significantly over the years, their installation has gotten easier as well.

In this guide, you’ll learn the steps to create a dual-boot system with Windows 10 and Ubuntu 17.04.

  • How to shrink Windows 10 partition to install Ubuntu
  • How to create an Ubuntu bootable media
  • How to install Ubuntu alongside Windows 10
  • How to customize Ubuntu Grub menu

How to shrink Windows 10 partition to install Ubuntu

Although the Ubuntu setup includes an option to install alongside Windows 10, sometimes it may not work as expected. Instead, it’s recommended to shrink the Windows 10 partition to make room for the Ubuntu installation before proceeding and use the manual setup during install.

  • Open Start.
  • Search for Create and format hard disk partitions and click the result to open Disk Management.
  • Right-click the (C:) partition, and select Shrink Volume.
  • Shrink volume on Windows 10
  • Select the amount of space to shrink in megabytes. (Ubuntu requires 5GB of available space for the installation, but it’s recommended to select at least 10GB or more.)
  • Click Shrink.
  • Disk Management Shrink Volume settings

Once you’ve completed the steps, you’ll end up with a small partition for Windows 10 and some unallocated space that you can now use to install Ubuntu.

Open Start.

Search for Create and format hard disk partitions and click the result to open Disk Management.

Right-click the (C:) partition, and select Shrink Volume.

Shrink volume on Windows 10

Select the amount of space to shrink in megabytes. (Ubuntu requires 5GB of available space for the installation, but it’s recommended to select at least 10GB or more.)

Click Shrink.

Disk Management Shrink Volume settings

How to create an Ubuntu bootable media

You’ll also need to download the ISO file containing the latest version of Ubuntu, which you can use to create a bootable media.

On Windows 10, the easiest way to create a USB bootable drive with the Ubuntu files that will boot on BIOS or UEFI is using the Rufus tool.

  • Download Rufus.
  • Double-click the .exe file to launch the tool.
  • On “Device,” use the drop-down menu and select the USB flash drive you want to use.
  • Under “Partition scheme and target system type,” use the drop-down menu and select MBR partition scheme for BIOS or UEFI.
  • On “File System,” select FAT32.
  • Under “Cluster size,” leave the default selection.
  • On “Create a bootable disk using,” select ISO image, and click the drive icon.
  • Rufus tools with Ubuntu ISO
  • Select the Ubuntu image, and click Open.
  • Click the Start button.
  • If you’re prompted to download additional files to create a bootable drive using a Linux distro, click Yes.
  • Rufus addon files
  • Select the Write in ISO Image mode option.
  • Click OK.
  • Rufus ISOHybrid image detected

After completing the steps, you can proceed with the steps below to create a dual-boot system with Ubuntu and Windows 10.

Download Rufus.

Double-click the .exe file to launch the tool.

On “Device,” use the drop-down menu and select the USB flash drive you want to use.

Under “Partition scheme and target system type,” use the drop-down menu and select MBR partition scheme for BIOS or UEFI.

On “File System,” select FAT32.

Under “Cluster size,” leave the default selection.

On “Create a bootable disk using,” select ISO image, and click the drive icon.

Rufus tools with Ubuntu ISO

Select the Ubuntu image, and click Open.

Click the Start button.

If you’re prompted to download additional files to create a bootable drive using a Linux distro, click Yes.

Rufus addon files

Select the Write in ISO Image mode option.

Click OK.

Rufus ISOHybrid image detected

How to install Ubuntu alongside Windows 10

Once you shrunk the Windows 10 partition and created the Ubuntu bootable drive, you can now proceed with the dual-boot setup.

  • Restart your computer with USB drive with the Ubuntu installation files.
  • Quick Tip: If your PC is not starting into the Ubuntu setup, you may need to access the system BIOS to change the boot settings to start from USB. Typically, you can change these settings by pressing one of the functions (e.g., F2, F8, F12), Delete, or ESC key. However, make sure to check your computer manufacturer support website for more details.
  • Using the keyboard, select your language, and press Enter to continue.
  • Select Install Ubuntu.
  • Ubuntu setup menu
  • Click Continue.
  • Ubuntu language setup
  • Check the Download updates while installing Ubuntu option.
  • Check the Install third-party software for graphics and Wi-Fi hardware, Flash, MP3 and other media option.
  • Click Continue.
  • Ubuntu updates and drivers selection setup
  • Select the Something else option.
  • Click Continue.
  • Ubuntu installation type
  • Double-click the free space, the unallocated space you created on Windows 10 (or right-click it and select Add).
  • Ubuntu partition tool
  • Under “Use as,” use the drop-down menu and select Swap area to create a swap partition.
  • On “Size,” select the amount of space for the swap partition. Typically, it should be at least 1.5x or 2x the size of the amount of RAM installed on your computer.
  • Click OK.
  • Ubuntu create swap partition
  • Double-click the free space, the unallocated space you created on Windows 10 (or right-click it and select Add).
  • Set the amount space on megabytes you want to use for the installation.
  • Under “Mount point,” use the drop-down menu and select root “/” as the mount point.
  • Click OK.
  • Ubuntu install partition
  • Select the ext4 partition you just created and click Install Now.
  • Ubuntu install now step
  • Click Continue to begin the Ubuntu installation.
  • Ubuntu write changes to disk confirmation
  • Select your timezone, and click Continue.
  • Ubuntu select timezone step
  • Select your keyboard layout, and click Continue.
  • Ubuntu select keyboard layout step
  • Enter the information to create a new account, and click Continue.
  • Ubuntu account creation step

Once you’ve completed the steps, Ubuntu will install on your device alongside Windows 10.

Restart your computer with USB drive with the Ubuntu installation files.

Using the keyboard, select your language, and press Enter to continue.

Select Install Ubuntu.

Ubuntu setup menu

Click Continue.

Ubuntu language setup

Check the Download updates while installing Ubuntu option.

Check the Install third-party software for graphics and Wi-Fi hardware, Flash, MP3 and other media option.

Ubuntu updates and drivers selection setup

Select the Something else option.

Ubuntu installation type

Double-click the free space, the unallocated space you created on Windows 10 (or right-click it and select Add).

Ubuntu partition tool

Under “Use as,” use the drop-down menu and select Swap area to create a swap partition.

On “Size,” select the amount of space for the swap partition. Typically, it should be at least 1.5x or 2x the size of the amount of RAM installed on your computer.

Ubuntu create swap partition

Set the amount space on megabytes you want to use for the installation.

Under “Mount point,” use the drop-down menu and select root “/” as the mount point.

Ubuntu install partition

Select the ext4 partition you just created and click Install Now.

Ubuntu install now step

Click Continue to begin the Ubuntu installation.

Ubuntu write changes to disk confirmation

Select your timezone, and click Continue.

Ubuntu select timezone step

Select your keyboard layout, and click Continue.

Ubuntu select keyboard layout step

Enter the information to create a new account, and click Continue.

Ubuntu account creation step

How to customize Ubuntu Grub menu

After the installation, you’ll notice Ubuntu’s Grub boot menu, which allows you to select the OS you want to start. However, you can customize the menu to set Windows 10 as the default using Ubuntu.  

  • Start your device on Ubuntu.
  • Right-click on the desktop, and click Open terminal.
  • Type the following command to tell Ubuntu where to get the app files and press Enter:
  • sudo add-apt-repository ppa:danielrichter2007/grub-customizer
  • Type the following command and press Enter:
  • sudo apt-get update
  • Type the following command to install the Grub Customizer application and press Enter:
  • sudo apt-get install grub-customizer
  • apt-get install Grub Customizer
  • Open the Ubuntu menu.
  • Type Grub Customizer and click the result to open the app.
  • Ubuntu menu search for Grub Customizer
  • Select the Windows 10 entry at the bottom of the list, and click the up-arrow button to move the entry all the way to the top.
  • Click the Save button.
  • Grub Customizer

After completing the steps, simply restart your computer, and Windows 10 should now be the default option during boot.

Start your device on Ubuntu.

Right-click on the desktop, and click Open terminal.

Type the following command to tell Ubuntu where to get the app files and press Enter:

sudo add-apt-repository ppa:danielrichter2007/grub-customizer

Type the following command and press Enter:

sudo apt-get update

Type the following command to install the Grub Customizer application and press Enter:

sudo apt-get install grub-customizer

apt-get install Grub Customizer

Open the Ubuntu menu.

Type Grub Customizer and click the result to open the app.

Ubuntu menu search for Grub Customizer

Select the Windows 10 entry at the bottom of the list, and click the up-arrow button to move the entry all the way to the top.

Click the Save button.

Grub Customizer