A Step-by-Step Guide to Dual Booting Windows 11 with Ubuntu 22.04 LTS

A Step-by-Step Guide to Dual Booting Windows 11 with Ubuntu 22.04 LTS

Before you begin:

  • Make sure your computer is running Windows 11 or Windows 10.

  • You'll need an 8GB or larger USB drive to create a bootable Ubuntu disk.

  • Backup any important data! This process will modify your disk partitions.

  • You'll need at least 50GB of free space on your hard drive for Ubuntu.

Software Downloads:

Step 1: Download Ubuntu

  1. Visit the official Ubuntu website and download the latest LTS version (currently Ubuntu 22.04 LTS).

  2. Download Rufus from their website .

Step 2: Create Free Space

  1. Open the search bar and type "disk management".

  2. In the Disk Management window, identify the drive where Windows 11 is installed (usually Drive 0).

  3. You'll see several partitions on this drive. Locate an existing partition where you can shrink the space to create free space for Ubuntu. Right-click on that partition and select "Shrink Volume".

  4. Specify the amount of space (at least 50GB) you want to shrink and click "Shrink". This will create unallocated space on your drive.

Step 3: Create a Bootable USB Drive

  1. Connect your USB drive to your computer.

  2. Run Rufus as administrator.

  3. In Rufus, select your USB drive from the "Device" dropdown menu.

  4. Click "SELECT" to choose the downloaded Ubuntu ISO file.

  5. Leave the "Partition scheme" as GPT and "Target system" as UEFI.

  6. Click "START" to begin burning the ISO image to your USB drive. This process may take some time

Step 4: Enable USB Boot

  1. Restart your computer.

  2. While your computer restarts, access the BIOS settings (usually by pressing a key like Escape, F2, F10, or F12 during startup). Consult your computer's manual for specific instructions.

  3. In the BIOS settings, locate the option for USB Boot and ensure it's enabled. You may also need to disable features like Intel Rapid Storage Technology.

  4. Save your changes and exit the BIOS settings

Step 5: Boot from the USB Drive

  1. Restart your computer again.

  2. Immediately after restarting, press the key you used to access the BIOS settings (Escape, F2, F10, or F12) to enter the boot menu.

  3. In the boot menu, select your USB drive (it may be labeled by its brand name or size).

  4. Your computer will now boot into the live Ubuntu environment.

Step 6: Install Ubuntu

  1. In the live Ubuntu environment, click on "Install Ubuntu".

  2. Choose your preferred language and keyboard layout

  3. Select the "Normal installation" option and choose to "Download updates while installing" and "Install third-party software for graphics and Wi-Fi hardware".

  4. Click "Continue"

  5. On the installation type screen, choose "Install Ubuntu alongside Windows 11 (shrink space)". This option will automatically create partitions for Ubuntu.

  6. Alternatively, for a more advanced setup, you can choose "Something else" and manually create partitions for Ubuntu (root, home, and swap). Note: This option is for experienced users and can be risky if done incorrectly

  7. If you're using the automatic partitioning option, select the free space you created earlier and click "Continue"

  8. Review the installation details and click "Install Now" to begin the installation process.

  9. Enter your desired username and password for your new Ubuntu installation.

  10. Sit back and relax while Ubuntu installs. The installation process may take 5-20 minutes depending on your hardware.

Step 7: Removing Ubuntu (If error occurred during installation or compatibility issues )

  1. Press Windows + X and select "Disk Management" from the menu.

  2. Right-click on the partitions allocated for Ubuntu and select "Delete Volume" for each partition.

  3. Once all Ubuntu partitions are deleted, open Command Prompt as administrator.

  4. Type diskpart and press Enter to open the DiskPart utility.

  5. Type list disk to display all disks connected to the computer.

  6. Identify the disk containing the EFI partition (usually Disk 0).

  7. Type select disk X (replace X with the disk number) and press Enter.

  8. Type list partition to display all partitions on the selected disk.

  9. Identify the EFI partition (usually the first partition).

  10. Type select partition Y (replace Y with the EFI partition number) and press Enter.

  11. Type assign letter=Z: (replace Z with an available drive letter) and press Enter.

  12. Type exit to exit DiskPart.

  13. Navigate to the EFI partition by typing Z: and pressing Enter.

  14. Type cd EFI and press Enter.

  15. Type dir and press Enter to list the contents of the EFI partition.

  16. Identify and delete the Ubuntu folder by typing rmdir /s ubuntu and pressing Enter.

  17. Restart your computer to ensure that Ubuntu has been removed from the dual-boot configuration.