Installing Windows 10 or 11 on Ubuntu: A Step-by-Step Guide

Windows & Linux

Installing Windows 10 or 11 on Ubuntu: A Step-by-Step Guide

If you’re running Ubuntu and want to install Windows 10 or 11 for a dual-boot setup, follow this guide to create a partition, install Windows, and configure the boot manager.

Part 1: Creating a Partition for Windows

Step 1: Boot Ubuntu Live

  • Insert the Ubuntu Live USB and boot from it.
  • Select “Try Ubuntu” without installing.

Step 2: Install GParted

  • Press Ctrl+Alt+T to open Terminal.
  • Type:
    sudo apt update
    sudo apt install gparted

Step 3: Create a Partition

  • Open GParted by typing:
    sudo gparted
  • Right-click your Ubuntu partition and select “Resize/Move”.
  • Allocate at least 20GB for Windows 10 or 64GB for Windows 11.
  • Click Apply and reboot into normal Ubuntu.

Part 2: Creating a Windows Install Drive in Ubuntu

Step 1: Download Windows ISO

Step 2: Install Ventoy

  • Download Ventoy.
  • Extract it using:
    tar -xzvf ventoy-[version]-linux.tar.gz
  • Run:
    cd Ventoy.x86_64
    chmod +x VentoyGUI.x86_64
    sudo ./VentoyGUI.x86_64

Step 3: Make USB Bootable

  • Insert a blank USB and click “Install” in Ventoy.
  • Copy the Windows ISO file to the USB drive.

Part 3: Installing Windows

Step 1: Boot from Windows USB

  • Restart and boot from the Windows USB.
  • Select language and click Next.

Step 2: Install Windows

  • Click “Custom: Install Windows only (advanced)”.
  • Select the partition created earlier and click Next.
  • Follow the on-screen instructions to complete the installation.

Part 4: Setting Up a Boot Manager

Step 1: Install rEFInd

  • Download rEFInd.
  • Extract and copy the “refind” folder.

Step 2: Configure rEFInd

  • Open Command Prompt as Admin and mount the EFI partition using:
    diskpart
    list disk
    select disk 0
    list partition
    select partition #
    assign letter=X
  • Paste the “refind” folder into the EFI partition.

Step 3: Add rEFInd to Boot Options

  • Download Easy UEFI.
  • Open Easy UEFI and add rEFInd as a boot entry.
  • Move rEFInd to the top of the boot order.

Step 4: Restart and Choose OS

  • Reboot and select Ubuntu or Windows from the rEFInd menu.

Now you have successfully set up a Windows-Ubuntu dual-boot system!


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

en_USEnglish