English Simplified Chinese

Dual boot Windows 10 and Ubuntu on UEFI systems

For study purposes (high-performance computation, deep learning, etc), we assembled a budget-conscious desktop computer in our laboratory.

Hardware Configuration

Component Specifications
CPU Intel ® Core ™ i7 Processor – 8700 k
GPU GeForce RTX 2080 Ti WINDFORCE 11G, refer to CUDA GPU Compute Capability
Memory ADATA DDR4 2400 8G *2
Motherboard Gigabyte Z370 HD3
Power Supply Gigabyte P650B, rated power 650W
SSD 250G
HDD 2T

Install Windows 10

  • Setting up by Official Guide is recommended.
  • In this note, we reinstall windows by .iso file provided by MVLS with Rufus.
  • Press F12 to access boot menu. Note that differnet motherboards have different keys to access BIOS setup. Select boot device. We select UEFI: USB.
  • Choose expected version. Install operating system on SSD.
  • Installation Complete: The windows.old folder might be deleted automatically in 10 days or for some reason it clears in 30 days after you upgrade. You can delete your previous version of Windows manually:
    • In the search box on the taskbar, type settings, then choose it from the list of results.
    • Select System > Storage > This PC and then scroll down the list and choose Temporary files.
    • Under Remove temporary files, select the Previous version of Windows check box and then choose Remove files.

Install Ubuntu after Windows

Requiments

  • A 4GB or larger USB stick/flash drive
  • Microsoft Windows XP or later
  • Rufus, a free and open source USB stick writing tool
  • An Ubuntu ISO file

Steps

  • On Windows, press the Windows + R keys to open the Windows Run dialog, type diskmgmt.msc, and then press Enter to open Disk Management window.
  • Right-click any partitions on the drive and select “Shrink Volume”. The unallocated partition is reserved for Ubuntu.
  • Donload [Ubuntu] (Ubuntu.com/download/de…). We choose the Ubuntu 18.04.3 LTS version.
  • Create a USB stick on Windows.
  • [Pre-requisites](#hints for installation. Our computer is UEFI/GPT-based hard drive partitions.
  • Reboot. Press F12 to access boot menu. Select boot device. We choose UEFI: USB.
  • Select Install Ubuntu.
  • Installation type: Select Something else since we want to manually create our own partitions and want to install Ubuntu along with existing OS. Right-click freespace > add. Our partitioning scheme is as follows:
    • nvme (SSD): freespace 125GB
      • 120GB partition for /, ext4
      • 1GB for /boot, ext4
    • sda (Hard Drive): freespace 500GB
      • 32GB for Swap partition
      • 250GB for /home, ext4
    • boot loader: /dev/nvme0n1 WDC 250g

Hints

  • Collect info about devices on Windows: Win+R > dxdiag
  • Check if Windows is Booted in UEFI or Legacy BIOS Mode: Win+R > msinfo32, Bios Mode is shown on the right.
  • Check if a Disk Uses GPT or MBR: Win+R > diskmgmt.msc > right-click on the drive > Properties > Volume.