Installing Windows After Ubuntu: A Step-by-Step Guide

Download Article
Easily install Windows 10 or 11 on Ubuntu Linux with this user-friendly guide
Download Article

This How.com.vn guide teaches you how to install Windows on a PC that's already running Ubuntu Linux. Before you get started, make sure you've already purchased a Windows license and product key. Don't worry if you don't have Windows install media, as you can create a bootable USB drive from a downloadable ISO image. Once you've installed Windows from Ubuntu, you can install a tool called EasyBCD that allows you to switch between operating systems (dual boot) easily.

Things You Should Know

  • You'll need a USB flash drive with at least 8 GB of space and a partition with 20 - 50GB of space to install Windows.
  • Once you download an ISO image of Windows 10 or Windows 11 from Microsoft, you can use UNetbootin to create your install drive.
  • Boot from the USB drive to install Windows.
Part 1
Part 1 of 4:

Creating a Primary NTFS Partition for Windows

Download Article
  1. How.com.vn English: Step 1 Open Gparted.
    You'll use this tool to create a new partition for Windows. You'll see a list of all drives and partitions.
    • If you haven't already installed Gparted, you can download it from the Software Center or by running sudo apt-get install gparted from the command line.
  2. How.com.vn English: Step 2 Unmount the partition you want to shrink.
    Right-click the partition that contains the space you want to allocate to Windows and select Unmount.
    • You won't be able to unmount and shrink the Ubuntu partition while Ubuntu is running. If you want to allocate space from your Ubuntu partition, you'll need to boot from a Ubuntu flash drive and use the Try Ubuntu feature rather than reinstalling Ubuntu. Then, you can run Gparted from there.
    Advertisement
  3. How.com.vn English: Step 3 Right-click the partition you want to edit and select Resize/Move.
    This allows you to create a new partition from your unmounted one.
  4. How.com.vn English: Step 4 Enter the new partition size (in MB) and click Resize.
    You should allocate at least 20 GB (20000 MB) for Windows 10 or 64 GB (64000 MB) for Windows 11. If you plan to install apps and use Windows regularly, you'll probably want to increase that amount.[1]
  5. How.com.vn English: Step 5 Click Apply to save your changes.
    You'll see this green checkmark icon in the top toolbar. Once you do this, you'll see your unallocated space.
  6. How.com.vn English: Step 6 Right-click the unallocated space and select New.
    This opens the "Create a New Partition" window.
  7. How.com.vn English: Step 7 Enter the details for your new Windows partition and click Add.
    • In the "New size" field, enter the size (in MB) of the partition you want to allocate to Windows (e.g., 50000).
    • "Primary Partition" should already be selected from the "Create as" menu. If it's not, select it now.
    • Select ntfs from the "File System" menu.
    • In the Label field, type "Windows 10" or "Windows 11" as needed.
  8. How.com.vn English: Step 8 Click Apply.
    It's the green check mark button at the top of Gparted.
  9. How.com.vn English: Step 9 Unmount the new partition.
    Now that you've created your Windows partition, unmount it by right-clicking it and selecting Unmount.
  10. Advertisement
Part 2
Part 2 of 4:

Creating a Windows Install Drive in Ubuntu

Download Article
  1. How.com.vn English: Step 1 Download the Windows 10 or 11 installation media.
    You'll need a blank USB drive with at least 8 GB of space to create install media. Any data on the USB drive will be erased during this process.[2]
    • Windows 11: Go to https://www.microsoft.com/software-download/windows11. In the "Download Windows 11 Disk Image (ISO) for X64 devices" section, select a Windows 11 version, then click Download Now to save the image.
    • Windows 10: Go to https://www.microsoft.com/en-us/software-download/windows10. Under the "Windows 10 2023" header, select a Windows 10 edition and click Confirm. Select a language, then click the download link for the version of Windows you want to install.
    • You'll need a blank USB drive with at least 8 GB of space to create install media. Any data on the USB drive will be erased during this process.[3]
  2. How.com.vn English: Step 2 Install UNetbootin from the Software Center.
    This free application lets you create a bootable USB drive in Ubuntu. To learn more about UNetbootin, see https://unetbootin.github.io. To install:
    • Open a Terminal window.
    • Run the command sudo add-apt-repository ppa:gezakovacs/ppa to add the repository.
    • Run sudo apt-get update to update your package lists.
    • Run sudo apt-get install unetbootin to install.[4]
  3. How.com.vn English: Step 3 Open UNetbootin and insert your USB drive.
    Opening UNetbootin displays the welcome screen where you can choose your bootable drive parameters.
  4. Step 4 Select the "DiskImage" radio button.
    It's toward the bottom-left corner of the window.
  5. Step 5 Select ISO from the "DiskImage" menu.
    It's to the right of the radio button.
  6. How.com.vn English: Step 6 Click the three-dot … button.
    This opens your file browser.
  7. How.com.vn English: Step 7 Select the file you downloaded from Microsoft and click Open.
    It's the one that ends with .iso.
  8. Step 8 Select USB Drive from the "Type" menu.
    It's at the bottom-left corner of the window.
  9. Step 9 Select your USB drive from the "Drive" menu.
    This is the device label for your USB drive.
    • If you can't select your USB drive, it likely needs to be formatted to the FAT32 or NTFS file system. You can do this in the file manager by right-clicking the USB drive and selecting Format.
  10. How.com.vn English: Step 10 Click OK.
    This creates a bootable Windows 10 USB drive from the downloaded ISO image. Once the drive is ready, you'll see "Installation Complete."
    • Click Exit to close UNetbootin.
  11. Advertisement
Part 3
Part 3 of 4:

Running the Windows Installer

Download Article
  1. How.com.vn English: Step 1 Restart your computer into the BIOS/UEFI.
    The steps to enter the BIOS/UEFI depend on your PC manufacturer and model. You'll usually have to press a certain key (often F2, F10, F1, or Del) right after the computer starts booting.
    • Insert the USB drive into a free USB port if you haven't already.
  2. How.com.vn English: Step 2 Set the USB drive to come first in the boot order.
    You'll usually do this in a menu called "Boot" or "Boot Order." The steps to change the boot order vary by PC, but you'll usually have to select USB Drive and mark it as 1st Boot Device. Check your PC manufacturer's website for more specific instructions about your BIOS/UEFI.
  3. How.com.vn English: Step 3 Save your changes and exit the BIOS/UEFI.
    Most BIOS/UEFI make the "Save" and "Exit" keys very clear somewhere on the screen. Once you exit the BIOS/UEFI, your computer will boot from your USB drive and display the "Windows Setup" window.
  4. How.com.vn English: Step 4 Click Custom: Install Windows only (advanced).
    It's the second option on the window. A list of partitions will appear.
  5. How.com.vn English: Step 5 Select your Windows partition and click Next.
    This is the partition you just created. Windows will now install on the selected partition.
  6. How.com.vn English: Step 6 Follow the on-screen instructions to install Windows.
    Once you finish the setup, you'll boot to the Windows desktop.
  7. How.com.vn English: Step 7 Connect to the internet in Windows.
    Now that Windows is installed, you'll need to install a tool to dual-boot it with your existing Ubuntu installation.
  8. Advertisement
Part 4
Part 4 of 4:

Setting Up Dual Boot

Download Article
  1. How.com.vn English: Step 1 Download EasyBCD from Windows.
    EasyBCD is a free tool that lets you set up dual-boot from within Windows. To download.
    • Open the Microsoft Edge web browser. You'll find it in the Windows menu at the bottom-left corner of the screen.
    • Navigate to https://neosmart.net/EasyBCD.
    • Scroll down and click Register under "Non-commercial." This brings you to a sign-up page.
    • Enter your name and email address and click Download. This should start the download immediately, but you might have to click Save or Download to confirm.
  2. How.com.vn English: Step 2 Click the file you just downloaded.
    The file starts with EasyBCD. You should see it near the bottom of the browser. If you don't, press Ctrl+J to open the Downloads list and click it there.
    • If prompted, click Yes to allow the installer to run.
  3. How.com.vn English: Step 3 Follow the on-screen instructions to install EasyBCD.
    Once the app is installed, it will be added to the Start menu.
  4. How.com.vn English: Step 4 Open EasyBCD.
    It's on the Start menu, which you can get to by clicking the Windows button at the screen's bottom-left corner.
  5. How.com.vn English: Step 5 Click the Linux/BSD tab.
    It's near the top of the app.
  6. Step 6 Select Grub 2 from the "Type" menu.
    It's near the top of the tab.
  7. Step 7 Type Ubuntu into the "Name" field.
    It's right below the "Type" menu. This is how Ubuntu will appear in the boot menu.
  8. Step 8 Select Automatically locate and load from the "Drive" menu.
  9. How.com.vn English: Step 9 Click the Add Entry button.
    It's right below the "Drive" menu. This adds an option for Ubuntu to the standard Windows boot menu.[5]
  10. How.com.vn English: Step 10 Remove the USB drive and restart the PC.
    You can restart the PC by clicking the Start menu, selecting the Power button (it looks like a knob), and choosing Restart. When the PC comes back up, it will boot to a screen that allows you to select either Windows or Ubuntu. Selecting one or the other will boot into that operating system.
  11. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      Tips from our Readers

      • If you want to set up dual boot with minimal installation, use os-prober on Linux rather than Windows.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      How.com.vn English: Nicole Levine, MFA
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for How.com.vn. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. This article has been viewed 455,179 times.
      How helpful is this?
      Co-authors: 4
      Updated: December 21, 2023
      Views: 455,179
      Categories: Windows | Ubuntu
      Article SummaryX

      1. Create a primary NTFS partition in Ubuntu.
      2. Download the Windows 10 ISO from Microsoft.
      3. Install UNetbootin from the Software Center.
      4. Use UNetbootin to create a bootable USB Windows 10 drive.
      5. Boot from the USB drive.
      6. Follow the on-screen instructions to install Windows.
      7. Connect to the internet and download EasyBCD.
      8. Use EasyBCD to add Ubuntu to the boot menu.

      Did this summary help you?

      Thanks to all authors for creating a page that has been read 455,179 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement