🧊
Resources
Socials
  • 📙Welcome!
  • ⚙️ROS
    • Beginner's Guide to ROS
      • Prerequisites
        • 💻Ubuntu Setup - Windows Subsystem for Linux (WSL)
        • 💻Ubuntu Setup - Dual Booting (For Windows)
        • 💻Ubuntu Setup - VM on MacOS M1
      • ROS Installation
        • Installation Guide [ROS2 Humble]
      • ROS Concepts
      • ROS Tools/Utils
        • Working with ROS 1/2 Bags
      • Robotics Fundamentals
        • Domains of Robotics Software
          • Perception
          • Localisation
          • Navigation
          • Controls
          • Simulation
        • Fundamental Concepts
          • Rotations (and Quaternion)
          • Coordinate Frames
          • Rigid Body Transformations (3D)
          • Basic Control Theory
          • Image Processing (with OpenCV)
    • Perception
      • Camera
        • [WSL2] Enabling USB Camera Access
        • Image Common
        • Camera Driver
        • Camera Calibration
        • Stereo Vision Concept
        • Image Pipeline
          • Monocular Image Processing
          • Disparity and Depth Image for Stereo Vision
      • LiDAR
        • Working with PointCloud2 Data
Powered by GitBook
On this page
  • Pre-requisites
  • Step 1: Download Ubuntu 22.04 LTS
  • Step 2: Download Balena Etcher
  • Step 3: Partition Disk Space for Ubuntu
  • Step 4: Flash Ubuntu ISO Image onto USB Drive
  • Step 5: Restart and go into BIOS to Enable USB Boot
  • Step 6: Launch Boot Manager and select USB drive to boot
  • Step 7: Launch Ubuntu OS to install and setup
  1. ROS
  2. Beginner's Guide to ROS
  3. Prerequisites

Ubuntu Setup - Dual Booting (For Windows)

In this guide, we are going to dual boot Ubuntu 22.04 LTS alongside Windows 11.

PreviousUbuntu Setup - Windows Subsystem for Linux (WSL)NextUbuntu Setup - VM on MacOS M1

Last updated 11 months ago

Pre-requisites

  • Windows 11 or Windows 10 running on your PC or Laptop

  • 8GB or higher pen/thumb drive to create a bootable disk with Ubuntu Linux

  • Reserve free space of at least 50GB on your drive.

Step 1: Download Ubuntu 22.04 LTS

Link to Download Page:

Step 2: Download Balena Etcher

This will be used to flash the iso image downloaded from Step 1 onto our USB drive.

Instead of Balena Etcher, you may use Rufus as an alternative. In this guide, we will use Balena Etcher.

Once successfully downloaded and installed, you should see this window after launching Balena Etcher.

Step 3: Partition Disk Space for Ubuntu

Press the windows key and type in "disk management", select "open" for "Create and format hard disk partitions".

In Disk Management, right click on the partition that you want to split. For me, I right click on C drive and select "Shrink Volume" to shrink a volume of 60GB.

After specifying to shrink 60GB worth of Volume, you should get a new unallocated partition that is of size 60GB. Now we can proceed to flash our Ubuntu ISO image onto our USB drive.

Step 4: Flash Ubuntu ISO Image onto USB Drive

To flash the Ubuntu ISO Image onto our USB Drive, make sure that your USB Drive is connected to your USB Port.

On Balena Etcher, click "Flash from file"

Select Ubuntu ISO Image File

Click on "Select Target"

Select our USB Drive

Lastly, click "Flash" to begin flash process

You should see this after successfully flashing the ISO Image onto our USB Drive.

Step 5: Restart and go into BIOS to Enable USB Boot

This step will differ from each computer, but the overall objective is the same which is to enable USB Boot.

Once we have flashed the Ubuntu ISO Image onto the USB Drive, we need to ensure that we have enabled USB Boot.

To do so, we restart our computer (while keeping the USB connected to your USB Port).

As the computer boots up, hold F10 to go into BIOS Setup.

Once in BIOS Setup, navigate to System Configurations -> Boot Options

After entering Boot Options, make sure the USB Boot is set to "Enabled".

Now that we have enabled USB Boot, save changes and restart the computer. This time holding F9 upon startup to launch the Boot Menu.

Step 6: Launch Boot Manager and select USB drive to boot

To launch the Boot Manager, we hold F9 while our computer is starting up. Make sure that your USB Drive containing the Ubuntu ISO Image is connected.

In Boot Manager, select our USB Drive.

Now you should see the following interface, select "Try or Install Ubuntu".

Now you are ready to proceed to the final step to set up your Ubuntu Dual Boot.

Step 7: Launch Ubuntu OS to install and setup

Congratulations, you are almost done with Ubuntu Dual Boot setup.

The final step is to install and complete the setup for Ubuntu.

1) Click on Install Ubuntu

2) Select Normal Installation and Install third-party software

3) For installation type, select Install Ubuntu alongside Windows Boot Manager

This step will also automatically allocate the previously created partition to your Ubuntu OS.

4) Complete Installation

5) Verify Setup Completion

After restarting, you should see the following interface, now you can select Ubuntu or Windows upon every startup.

Moreover, if you open up Disk Management in Windows, you should see that your 60GB partition is now allocated. This 60GB partition is allocated to your Ubuntu OS.

With that, you are now ready to use Ubuntu on your Windows computer!

Link to Download Page:

https://etcher.balena.io/
⚙️
💻
https://ubuntu.com/download/desktop
Download Page (Ubuntu)
Download Page (Balena Etcher) - Part 1
Download Page (Balena Etcher) - Part 2
Balena Etcher Interface
Search for Disk Management on Windows
How to Shrink Volume
Final state after shrinking volume
Balena Etcher Interface
Select ISO Image To Be Flashed
Balena Etcher Interface
Select USB Drive
Balena Etcher Interface
Completed Flash
Hold F10 to go into BIOS Setup
Navigate to Boot Options in BIOS Setup
Enable USB Boot
Hold F9 to open Boot Menu
Boot Manager
Interface after booting from USB Drive
Page cover image