How to Install Ubuntu 23.04 from USB (Dual boot with Windows 11/10)

This is a step by step beginner’s guide shows how to install Ubuntu 23.04 in your machine to dual boot with Windows 10/11.

Requirements

To follow this tutorial, you need to prepare following things first:

  • A USB stick with 6GB+ momery.
  • PC or laptop running Windows, Linux, or macOS.
  • Internet connection for downloading the disco image.

Download Ubuntu 23.04

The .iso disco image of Ubuntu 23.04 is available to download at the link below:

It’s highly recommended to verify the file integrity after downloaded the image. And, this can be done:

  • For Linux, open terminal and run command (change filename accordingly):
    sha256sum ~/Downloads/ubuntu-23.04-desktop-amd64.iso
  • For Windows, use command to check the sha256 hash (change user1 name and file name accordingly):
    certutil -hashfile C:\Users\user1\Downloads\ubuntu-23.04-desktop-amd64.iso SHA256
  • And for macOS, use command:
    shasum -a 256 ~/Downloads/ubuntu-23.04-desktop-amd64.iso

Running one of the previous commands will output the sha-256 hash. You just need to compare it to the one in Ubuntu downloads page.

Create boot-able USB Installer

There are quite a few tools for burning ISO image into USB stick.

For Windows, just download and use Rufus:

Rufus USB creator

For Ubuntu, Fedora, and other Linux with GNOME, search for and open “GNOME Disks”. When it opens, highlight the USB device, and go to “⋮ -> Restore Disk Image”.

I don’t have a macOS machine, but there’s a few other tools for creating bootable USB, including macOS support.

Boot the USB installer

After creating the USB installer, connect it into the destination PC, and boot it. Usually, press Delete (or other key depends on your machine) to get into BIOS, select the USB as first boot device and press F10 to save and reboot.

Also, it’s recommended to disable secure boot to avoid boot issue, though you can re-enable it after installed Ubuntu.

If everything goes well, you’ll see the boot menu as the screenshot below shows you.

Just hit Enter to boot with the first menu entry and continue the steps below.

Installer wizard – Configure language, keyboard, etc.

After successfully booting the USB installer, it will bring you directly to install wizard for installing Ubuntu 23.04.

First choose language, then select either “Install” or “Try” the live system. In live system, you can re-launch the wizard at any time by clicking “Activities” and click the first app icon in left.

The next screens will also ask for selecting keyboard layout, connecting network (not required), selecting between normal install / mini install. The default options are OK in most cases!

Type of Installation

When the wizard goes into “Type of Installation” page, it will display 3 options for choose:

  • Install Ubuntu 23.04 alongside xxx.
  • Erase disk and Install Ubuntu.
  • Manual partitioning.

If you’re going to use the whole disk for Ubuntu 23.04, select “Erase disk and Install Ubuntu”. Keep in mind all data in destination disk will be lost.

If you have another operating system (such as Microsoft Windows) on the disk, and have enough free and un-formated disk space (25 GB at least, but as large as good), use the first choice.

For other cases and advanced users, use “Manual partitioning”.

Manual partitioning

If you selected “Manual partitioning” in the previous step, it will go into the partition table. In my case, I have Windows 10 and Ubuntu 22.10 in the disk. No free unformatted disk spaces.

I have to select the Ubuntu 22.04 disk partitions, and use the ‘-‘ icon to delete them one by one. After that, I have dozens of GB free spaces.

BE CAREFUL when deleting partitions! It’s better to leave  unchanged for partitions that you don’t sure what they are used for. NTFS partitions are usually for Windows, and small partitions with dozen or hundred of MB space can be for specific use.

Create partitions for Ubuntu 23.04

Once you freed up enable space for Ubuntu 23.04, highlight the free space and click “+” one by one to create following partitions.

1. EFI. First, create a 500 MB partition. Select use as “Leave unformatted”. After clicking OK, highlight that partition in table, and click “Change“, then:

  • select use as “FAT32“.
  • choose or type mount point /boot/efi

2. Swap. For small RAM, and/or hibernation feature, you may also create a Swap area. Though, this partition is OPTIONAL.

  • Set size as large as RAM.
  • Select use as Swap.

3. Ubuntu filesystem. Finally, create the partition for Ubuntu file system.

  • Set size 20 GB+, but as large as good for long time use
  • Select use as EXT4.
  • Select mount point /

Finally, you should see the following 3 (or 2) partitions in the table:

Start installing process

When done creating partitions, click “Next”. It will show you the summary of changed disk and disk partitions.

TIP: it’s OK to have more than one EFI partitions, though only one should be checked for Ubuntu installation

Then select time zone, setup user account, and select light/dark mode. When done, it will show you the installing process.

Once Ubuntu is successfully installed on your machine. It will show you the screen below.

Either click “Continue testing” to try Ubuntu 23.04 live system, or restart and done.

Ubuntu's boot menu may NOT show Window boot entry, enable it by following this tutorial.

Hi, I'm Merilyn Ne, a computer geek working on Ubuntu Linux for many years and would like to write useful tips for beginners. Forgive me for language mistakes. I'm not a native speaker of English.
%d bloggers like this: