1. Connect your computer to the network and install Ubuntu on your computer.
  2. Copy the ubuntu-14.04-desktop-amd64 USB flash drive to your computer’s hard drive.
  3. Launch Ubuntu on your computer and insert the ubuntu-14.04-desktop-amd64 USB flash drive into a USB port on your computer.
  4. When Ubuntu starts, it will ask you to choose a language for the operating system: English or Spanish (Spanish is not supported in all countries). Choose English and continue with the installation process.

Steps to Install Ubuntu on a USB Flash Drive

Linux can be fully utilized when installed on a USB drive, just as it would be on a PC or laptop. Live distributions only provide a limited test environment and make it more difficult to store the data.

Create Live USB on USB

Ubuntu is a Linux distribution that is popular in the world of computer systems. It has a variety of applications and tools to help users do their work, and it is easy to use.

If you want to use Ubuntu as your primary operating system, you should download the desktop version. If you want to use Ubuntu as a server, you should download the server version. ..

A USB creator is a tool that allows you to create and use USB drives.

After selecting the USB drive, select the Ubuntu ISO image file and click on the flash button. ..

The Ubuntu ISO file will start up and you will be able to choose the language you want to use. Once you have chosen a language, the system will start up and you will be able to access all of your favorite applications.

If you choose to create a DD image, the program will ask where to save the image. ..

After you have inserted the Ubuntu USB drive, it will take some time for Ubuntu to boot from the drive. ..

Boot using Live USB

Insert the USB drive we created in the previous step into the PC or Laptop. Then turn on the PC or Laptop. ..

To enter the BIOS, you will need to use the BIOS key. Many PC manufacturers use different keys to enter the BIOS, so keep repeatedly pressing the F1/F2/F10/F12/DEL key as soon as the PC turns on. ..

You will see the Ubuntu Grub boot loader if you choose to use a live USB drive to boot your computer.

Ubuntu is a Linux distribution that you can use to run your computer. This means that you won’t have to install it on your hard drive.

Turn off the ESP flag

We used the GParted tool to disable the ESP boot flag on the EFI partition to resolve an earlier issue. ..

After successfully starting Ubuntu live mode, use the GParted tool to partition your hard drive.

The EFI system partition can be easily identified by the name in the second column and also by the flag column showing ‘esp’.

The EFI partition is the most important part of your computer. It stores your operating system, applications, and data. If you lose or damage this partition, your computer may not be able to start up properly.

From the “Manage Flags” menu, right-click on the EFI System Partition and select “Create Flags”. In the “Create Flags” dialog, enter the following information:

  • Type of partition (EFI)
  • Name of partition (EFI)
  • Size of partition (MB)
  • Type of boot sector (BIOS)
  • Boot flag (FALSE)

You can now disable the ESP flag by unchecking the checkbox.

Now close the GNOME Shell app.

On the welcome screen, we can see the Ubuntu 22.04 LTS icon. Clicking on the icon starts the Ubuntu installation process on the USB drive (USB 2), which has 32 GB of space. ..

Installing Ubuntu on USB

The installation process starts on the USB drive.

We recommend a minimal installation of the software, which will save time later on.

In the ‘Installation type’ section, select ‘Ubuntu’ so that the installer can present you with an option to install Ubuntu on your USB drive.

On the next screen, identify the USB where to install Linux. You can easily find it by size. Once identified, select the device and click on the minus sign button to delete any existing partitions.

To create a new EFI partition on your hard drive, click the “plus” sign in the bottom-left corner of the main window and enter a name for your new partition. This creates the “free space” and allows you to create an EFI partition. ..

In order to install Windows 10 on your computer, you will need to create an EFI system partition. The size of the partition should be at least 100MB, and the type should be FAT32. The location of the partition can be anywhere on your hard drive, and it should be used exclusively for Windows 10. Once you have created the partition, click the OK button to finish. ..

Create a new partition for the operating system and format it with the ext4 file system. For simplicity, keep everything in the root. ..

Ubuntu is now installed on the USB drive.

The installer automatically detects your location on the world map. Alternatively, you can click anywhere on the map to change your location. When satisfied, click on ‘Continue’.

In the next step, you will need to provide your name, computer name, username and a strong password. After providing these information, you will be able to continue.

The installer will start installing all software packages required by the system. However, the installation may take a while. So, be patient and wait for the installation to finish.

After the installation is complete, it will appear up and continue testing. Do not restart now.

We need to enable the ESP flag that we disabled earlier as a workaround for the issue. Clicking “Continue Testing” will allow us to restart and test the fix. ..

Final Words

Ubuntu is a Linux distribution that has become increasingly popular in recent years. It is a reliable alternative to Windows, and can run just as well on a standard laptop or desktop. ..