Many users are faced with a situation where the familiar environment Linux no longer satisfies needs for work or play. This is often due to the lack of specific software or the desire to use a familiar interface Windows. Switching from one operating system to another seems like a complex process, but with the right approach, it comes down to sequential steps.
The main task during such a migration is not to lose important files and to configure the bootloader correctly. You have to create bootable media, change the boot priority in BIOS/UEFI and perform a clean installation of the system. It is important to understand that Linux and Windows cannot coexist on the same partition without complex configuration, so most often you have to remove the old system.
In this article we will analyze each stage, from preparing a flash drive to installing drivers. We will pay attention to the nuances of working with modern laptops, where hybrid drives and secure bootloaders are often found. By following the instructions, you can replace it yourself Ubuntu, Manjaro or any other distribution for the current version Windows 10 or Windows 11.
Media preparation and data backup
The first and most critical step is to save all your data. The process of installing a new operating system will require a complete formatting of the hard drive or SSD, which will permanently delete all files located on it. You need to copy documents, photos, videos and configuration files to an external drive or cloud storage.
To create a bootable USB flash drive, you will need a USB drive with at least 8 GB of capacity. On Linux devices it is most convenient to use the utility Rufus (available through Wine) or native tools such as Etcher or Ventoy. These programs allow you to record a system image so that the laptop can boot from it.
Download the official Windows ISO image from the Microsoft website. Make sure you select the correct version: a 64-bit system requires the appropriate image. Launch the recording program, select the downloaded file and click the “Start” button. The process will take 10 to 20 minutes depending on the speed of your USB port.
Don't forget to check the integrity of the downloaded image by comparing its hash amount with the data on the manufacturer's website. Errors in the file can cause the installation to be interrupted in the middle or the system to become unstable.
- 📁 Copy all important files to an external drive or to the cloud.
- 💾 Prepare a USB flash drive with a capacity of at least 8 GB.
- 🌐 Download the official ISO image of Windows 10 or 11.
- 🛠️ Install the utility Etcher or Ventoy in Linux.
⚠️ Attention: Make sure you have enough space on your external drive. If you have a lot of data, make sure it's backed up correctly before formatting.
Setting up BIOS and changing boot priority
After creating a bootable USB flash drive, you need to configure the laptop so that it starts from a USB drive, and not from the hard drive where it is currently installed Linux. To do this you need to log in to the settings system. BIOS/UEFI. This is usually done immediately after turning on the device, by pressing the keys F2, Del, F10 or Esc, depending on the manufacturer's model.
In the BIOS interface, find the section Boot or Boot Priority. Move the item corresponding to your USB drive (often called “UEFI: USB Flash Disk” or the name of the flash drive brand) to the first position in the list. This is critical for the installer to run correctly.
Often modern laptops have the function enabled Secure Boot. For Windows installations this is usually not a problem, but sometimes you need to disable Fast Boot for correct detection of external media. If you see the option CSM (Compatibility Support Module), try enabling it if the system does not see the bootable USB flash drive in UEFI mode.
Save changes, usually this is the key F10, and reboot your device. The laptop should automatically boot from the USB flash drive and show the initial Windows installation window. If this does not happen, check whether the image was written correctly and whether the boot priority is selected.
- 🔑 Press the BIOS entry key immediately after turning on.
- 🔍 Find the section
Bootin the setup menu. - ⬆️ Bring your USB drive to the top of your list.
- 🔒 Check your settings Secure Boot and CSM.
⚠️ Warning: If you do not know what settings to change, do not disable options related to drive encryption (BitLocker) if they were already active, as this may block access to data.
- Ubuntu
- Fedora
- Arch Linux
- Manjaro
- Other
Windows installation process and disk partitioning
Once the installation has started, select your language and click Next, then Install. When choosing an installation type, be sure to select "Custom: Windows installation only". This option allows you to have complete control over the partition structure on your disk.
A disk management window will open, where all existing partitions will be displayed. Since you had Linux installed, you will see several partitions: root /, swap partition swap and maybe the home directory /home. For a clean installation, you must remove all of these partitions.
Select each section in turn and click the "Delete" button. After deleting all partitions on the disk, you will see one line: "Unallocated space on disk 0". It is in this space that the system will create the sections it needs automatically when you click the “Next” button.
Do not attempt to manually create partitions unless you are sure of their size. Windows Installer will create the required system partition (EFI), recovery partition, and primary partition for files. This minimizes the risk of marking errors.
- 🚫 Select the installation type “Custom”.
- 🗑️ Delete all existing Linux partitions.
- 💿 Leave only “Unallocated space”.
- 🚀 Click “Next” to start copying files.
☑️ Preparing for disk partitioning
⚠️ Attention: Make sure that you are deleting partitions on the exact drive where Linux was installed. If you have multiple physical drives, carefully look at their capacity so as not to erase data on another drive.