Ubuntu 20.04 Dual Boot Setup - ncsurobotics/SW8S-ROS GitHub Wiki

Table of Contents

Windows

Go to disk management

  • Right click on (C:)
  • Shrink it to desire size (needs to be at least 25 GB/25600 MB or you can try 60 GB/61440 GB to give it more space)

Install Ubuntu

  • Place usb in computer
  • Restart computer and go to bios screen (can do this by turning off computer and clicking the F8 repeatedly or go to advanced startup options)
You can go to advanced startup option by entering "uefi" in the start up menu and selecting "change advanced startup options"
Select restart now
Select use a device

Select the usb with ubuntu installed

  • Select install ubuntu
  • Start the install process
Normal installation
Download updates while installing Ubuntu
Continue
Install Ubuntu alongside windows boot manager
Install Now

Partitioning Hard Drive

  • Look for the free space of the volume you set aside for ubuntu
  • Select that free space and select the "+" button
  • Give 512 MB for the EFI System Partition - Primary
  • Give 8182 MB (8 GB) for the swap area - Primary
  • The remaining free space will be ext4 and the mount point will be root "/". This is for the ubuntu os.
Install Now

Setting Up Computer so that it automatically boots into windows

Install Grub Customizer

sudo add-apt-repository ppa:danielrichter2007/grub-customizer
Then follow these steps

sudo apt-get update

sudo apt-get install grub-customizer
Launch Grub Customizer and move windows to the top of the list Save

Fix Windows Time


timedatectl set-local-rtc 1 --adjust-system-clock

timedatectl
⚠️ **GitHub.com Fallback** ⚠️