This guide will show you how to install Windows 10 on a personal computer (PC) running Ubuntu Linux. Before proceeding, make sure you have purchased a Windows license and obtained the product key. If you don't have the installation files for Windows, don't worry, as you can create a bootable USB drive using the ISO image you've downloaded. After installing Windows, you can use EasyBCD to switch between operating systems during startup.
Steps
Create an NTFS Partition for Windows

Install Gparted if you don't have it yet. Gparted is a free partitioning tool with a user-friendly graphical interface. You can download it from the Software Center (the graphical interface for package management) or run sudo apt-get install gparted from the terminal.
- If you have already created a partition for Windows but it isn't a primary partition, you'll need to create a new partition.

Open Gparted. You will see a list of all drives and partitions.

Right-click on the partition or drive you want to edit and select Resize/Move. This step allows you to create a new partition from an existing one.

Enter the size for the new partition (in MB) in the "Free space following" field. It is recommended to allocate at least 20 GB (20000 MB) for Windows 10. If you plan to install multiple applications and use Windows frequently, you may want to increase this amount.

Select Primary Partition from the "Create as" menu. This menu is located on the right side of the window.

Select ntfs from the "File System" menu. This menu is located on the right side of the window.

Type Windows 10 into the "Label" field. This step is purely for helping you easily identify the partition.

Click on Add. This button is located at the bottom right corner of the window.

Click the green checkmark button. This button is located in the toolbar at the top of Gparted. This is the step to create the partition, and it might take some time. Once the partition is created, click Close at the bottom right corner of the window.
Create a Windows 10 Installation Drive in Ubuntu

Install UNetbootin from Software Center. This is a free application that allows you to create a bootable USB drive in Ubuntu. For more information about UNetbootin, visit https://unetbootin.github.io.
- You will need a blank USB drive with at least 8 GB of storage to create the installation media. Any data on the USB drive will be erased during this process.
- Learn how to install software in Ubuntu.

Go to https://www.microsoft.com/en-us/software-download/windows10 using your web browser. If you don't have a Windows DVD or bootable USB drive, you can create one from the ISO you’ve downloaded.
- You must own a valid license to install Windows 10, meaning you should have purchased Windows 10 and obtained a valid product key.

Select the latest version of Windows 10 and click Confirm. Additional options will appear at the bottom of the page.

Select your language and click Confirm. You will select your language from the drop-down menu below the "Select the product language" option.

Click on 32-bit Download or 64-bit Download. This step will download the ISO to the default location.

Launch UNetbootin and plug in your USB drive. Once UNetbootin is open, you will see the welcome screen where you can choose the settings for the bootable drive.

Select the "DiskImage" radio button. This button is located at the bottom left corner of the window.

Choose ISO from the "DiskImage" menu. This option is located to the right of the radio button.

Click on the … three dots. This will open the file browser.

Choose the file you just downloaded from Microsoft. This file will have the extension .iso.

Select USB Drive from the "Type" menu. This option is located at the bottom left corner of the window.

Select your USB drive from the "Drive" menu. You will need to choose the name of your USB drive.
- If you're unable to select the USB drive, it may need to be formatted to the FAT32 file system. You can do this by right-clicking on the USB drive in the file manager and selecting Format.

Click OK. This step will create a bootable Windows 10 USB drive from the ISO image you downloaded. After the process is completed, you will see the message "Installation Complete".

Click Exit to close UNetbootin.
Run the Windows installation program

Restart your computer and enter BIOS/UEFI. The steps to access BIOS/UEFI may vary depending on your PC's manufacturer and model. Typically, you will need to press a key (usually F2, F10, F1 or Del) immediately after the computer starts booting.
- If you haven't done so, insert the USB drive into an available USB port.

Move the USB drive to the top of the boot order. This is usually done in the "Boot" or "Boot Order" menu. The exact steps will vary depending on your PC, but typically, you'll need to select the USB Drive and set it as the 1st Boot Device. For more detailed instructions on BIOS/UEFI, refer to your computer manufacturer's website.

Save the changes and exit BIOS/UEFI. Most BIOS/UEFI setups clearly display a "Save" and "Exit" option somewhere on the screen. After exiting, your computer will boot from the USB drive and display the "Windows Setup" screen.

Click on Custom: Install Windows only (advanced). This is the second option in the window. A list of partitions will appear.

Select the Windows10 partition and click Next. This is the partition you just created. Windows will now be installed on the selected partition.

Follow the on-screen instructions to install Windows. After the installation is complete, your computer will boot into Windows.

Connect to the Internet in Windows. After installing Windows, you will need to set up a tool that allows you to dual-boot with the existing Ubuntu installation.
- Research how to connect to Wi-Fi in Windows 10 or how to establish an internet connection.
Set up dual boot (Dual Boot)

Launch Microsoft Edge browser. This web browser can be found in the Start menu at the bottom-left corner of your screen. The final step in the process is configuring your computer to boot into either Windows 10 or Ubuntu.

Go to the website https://neosmart.net/EasyBCD. EasyBCD is a free tool that enables you to set up dual-boot (dual-boot) from within Windows.

Scroll down and click on Register under the "Non-commercial" section. This step will lead you to the registration page.

Enter your name and email address, then click Download. The download process should begin immediately, but you may need to click Save or Download to confirm your action.

Click on the file you just downloaded. This file starts with the word EasyBCD. It is usually located at the bottom of your browser. If you can't find it, press Ctrl+J to open the Downloads list and click it from there.

Click Yes to allow the application to run.

Follow the on-screen instructions to install EasyBCD. Once installed, the application will be added to the Start menu.

Open EasyBCD. It can be found in the Start menu, which appears when you click the Windows button (the window icon) in the bottom-left corner of your screen.

Click on the Linux/BSD. This option is located near the top of the application.

Select Grub 2 from the 'Type' dropdown menu. It is positioned near the top of the tab.

Type Ubuntu into the 'Name' field. This field is directly below the 'Type' dropdown. The word 'Ubuntu' will appear in the boot menu.

Select Automatically locate and load in the 'Drive' menu.

Click on the Add Entry. This button is located just below the 'Drive' dropdown. It is the step where you add the Ubuntu option to the standard Windows boot menu.

Remove the USB drive and restart your computer. You can restart your computer by clicking on the Start menu, then clicking the Power button (shaped like a door knob), and selecting Restart. Once powered up, your computer will boot to a screen where you can choose between Windows 10 or Ubuntu. Select one to boot into the chosen operating system.