Are you used to working in Linux, but sometimes you need programs that exist only under Windows? Or do you require dual boot for games, specific software or testing? Installation Windows on a laptop with pre-installed Ubuntu, Fedora or Mint - the task is feasible, but with nuances. The main difficulty lies in disk partitioning, setting UEFI and maintaining performance GRUB (Linux boot loader).

In this guide we will look at a unique scenario for installing Windows on a laptop with Linux without losing data and preserving both systems. You will learn how to properly prepare a section for Windows, avoiding bootloader conflicts, and why Microsoft's standard instructions don't work here. We will consider two options: installation on a separate physical disk (if there is one) and on the same disk where Linux is already installed. And also - how to return GRUB, if after installation Windows he disappeared.

1. Preparing your laptop: what you need to do before installing Windows

Before you begin installation, make sure your laptop meets the minimum requirements Windows 10/11. For Windows 11 are required TPM 2.0 And Secure Boot, but they can be bypassed (more on that later). Check the free disk space: for Windows 11 required at least 64 GB, but it's better to allocate 100+ GB.

Back up your important data. Even if you are confident in your actions, disk partitioning error may result in the loss of your Linux partition. Use an external drive or the cloud. Also write down the output of the command lsblk — it will show the current disk structure and help you navigate when creating new partitions.

  • 🔋 Check the battery charge (at least 50%) or connect the laptop to the network. Interrupting the installation process due to low power may damage the partition table.
  • 💾 Create a bootable USB flash drive with Windows (minimum 8 GB). Better to use Rufus in mode GPT for UEFI.
  • 🔧 Prepare a Live disk with Linux (for example, Ubuntu Live USB) in case of recovery GRUB.
  • 📋 Find out your laptop model and check if there are drivers Windows for its iron (especially important for Wi-Fi, touchpad And discrete graphics).
⚠️ Attention: If you are using a laptop BitLocker (for example, on some models Dell or HP with Windows by default), it must be disabled in the settings Windows to section changes. Otherwise, after installing Linux, access to data will be blocked.
📊 What Linux distribution do you have installed?
  • Ubuntu/Debian
  • Fedora/RHEL
  • Arch/Manjaro
  • OpenSUSE
  • Other

2. Disk partitioning: how to allocate space for Windows

The most important stage is creating a partition for Windows. You can't make a mistake here, otherwise you risk losing your Linux data. We'll look at two scenarios: when on a laptop one disk (it already has Linux installed) and when it is available second physical disk (ideal option).

Option 1: Install on the same drive as Linux

Open GParted (or gnome-disks) and reduce the size of the Linux partition. For Windows need a section in the format NTFS. Optimally highlight 100–150 GB. Important: do not touch the section /boot or EFI (usually 500 MB) - needed for downloading.

sudo gparted

Option 2: Install on a second physical disk

If the laptop has a second SSD or HDD (for example, in the optical drive slot), connect it and format it entirely for Windows. This simplifies the process since there is no need to change the layout of the main disk. Check that the drive is recognized in the BIOS as AHCI, not RAID (otherwise Windows won't see it).

Markup type Benefits Disadvantages Recommendation
One disk (Linux + Windows) No need for a second drive Risk of data loss due to error Only if you are confident in your actions
Separate drive for Windows Safe for Linux, easier to manage Second drive required The best option
Virtual machine (VirtualBox) No need to repartition the disk Slower performance, 3D issues Only for simple tasks
⚠️ Attention: If you are using a laptop LVM (Logical Volume Manager), shrinking a Linux partition becomes more difficult. In this case it is better to use Live USB with GParted and pre-mount all volumes.

Shrink the Linux partition (if there is one disk)|Create an NTFS partition for Windows|Check that the EFI partition is not touched|Make a backup copy of your data|Connect a bootable USB flash drive-->

3. BIOS/UEFI setup: what to change before installation

Go to BIOS/UEFI laptop (usually the key F2, Del or Esc when loading). Here you need:

  1. Disable Secure Boot (if enabled). This is required for installation Windows 11 on unsupported hardware or if you bypass the requirement TPM 2.0.
  2. Make sure the boot mode is UEFI (not Legacy/CSM). Otherwise Windows will install in legacy mode, and GRUB will stop working.
  3. Put booting from a flash drive in first place in Boot Order.
  4. If there is an option Fast Boot, disable it - it may interfere with OS selection at boot.

On some laptops (eg Lenovo or ASUS) in UEFI there is an option OS Optimized Defaults. If enabled, select Other OS instead of Windows - This will prevent automatic settings that could interfere with dual boot.

💡

If your BIOS doesn't have an option to disable Secure Boot, try setting a BIOS password (for example, 1234), save the settings and reboot. Sometimes this will unlock hidden options.

4. Install Windows: Step by Step Process

Boot from the USB flash drive and follow the installer's instructions Windows. At the disk selection stage:

  • 📁 Select unmarked area (if you created it in advance) or delete unnecessary partitions to free up space.
  • 🖥️ The installer will create the system partition itself EFI (100–500 MB) and the main partition for the OS. Don't touch the existing EFI partition from Linux!
  • 🚫 If the installer suggests converting the disk to GPT, agree (this is normal for UEFI).
  • ⚠️ If you see a message "Windows cannot be installed on this drive", check that the correct partition is selected and it is formatted in NTFS.

After installation is complete Windows will automatically reboot the laptop. A surprise awaits you here: instead of the usual menu GRUB you will only see the bootloader Windows. It's ok - GRUB does not disappear, it is simply overwritten by the installer Windows. You can restore it in 5 minutes (more on this in the next section).

What to do if Windows does not see the disk?

If the installer Windows does not see the disk, check:

1. The BIOS mode is enabled AHCI (not RAID or IDE).

2. The disk is initialized to GPT (for UEFI).

3. The flash drive has the correct markings (use Rufus in mode GPT for UEFI).

If the problem persists, boot from Live USB Linux and check the disk with the command fdisk -l.

5. GRUB recovery: return OS selection at boot

After installation Windows OS selection menu disappears because bootloader Windows (bootmgr) overwrites GRUB. To get dual boot back:

  1. Boot from Live USB your Linux distribution.
  2. Open a terminal and identify the Linux partition:
    sudo fdisk -l

    Usually this is the partition with the file system ext4.

  3. Mount the Linux partition and restore GRUB:
    sudo mount /dev/sdXY /mnt  # Замените sdXY на ваш раздел (например, sda2)
    

    sudo mount /dev/sdXZ /mnt/boot/efi # Раздел EFI (обычно sda1)

    sudo grub-install --boot-directory=/mnt/boot /dev/sdX # Без номера раздела!

    sudo update-grub

  4. Reboot. When you boot, a menu should now appear with a choice between Linux and Windows.

If after recovery GRUB Windows does not appear in the menu, update the configuration manually:

sudo os-prober

sudo update-grub

⚠️ Attention: On some laptops (for example, HP Pavilion or Acer Swift) after restoration GRUB The touchpad may not work or Wi-Fi in Windows. This is due to the fact that the drivers for UEFI- modes are not installed. Solution: download drivers from the manufacturer's website and install them in Windows.
💡

Repairing GRUB takes 5-10 minutes and does not require reinstalling Linux. The main thing is to correctly specify the EFI partition when mounting.

6. Dual boot optimization: settings and tips

Now you have dual boot working, but you can make it more convenient:

  • ⏱️ Reduce the OS selection timeout in GRUB. Open the file /etc/default/grub and change the line:
    GRUB_TIMEOUT=5  # Время в секундах

    Then do sudo update-grub.

  • 🔄 If you want it to load by default Windows, change the line:
    GRUB_DEFAULT="Windows Boot Manager (on /dev/sda1)"
  • 📂 Share data between systems. Create a separate section NTFS or exFAT for shared files (documents, music). Both OS will be able to read it.
  • 🔧 Install in Windows programs for working with ext4 (For example, Ext2Fsd) to be able to access Linux files from Windows.

If on a laptop NVIDIA Optimus (integrated + discrete graphics), in Windows there may be problems with the drivers. Install them manually from the site NVIDIAby selecting the version for laptops. On Linux, use proprietary drivers via sudo ubuntu-drivers autoinstall (for Ubuntu).

7. Solving problems after installation

Even if everything is done correctly, nuances may arise. Here are the most common ones and their solutions:

Problem Reason Solution
Wi-Fi doesn't work on Windows There is no driver for the network card Download the driver from another PC (according to the laptop model) and install via USB
Time in Windows and Linux differs by 2–3 hours Different representation of time in UEFI On Linux run timedatectl set-local-rtc 1
Windows doesn't see Linux partition ext4 file system is not supported Use Ext2Fsd or general section NTFS
Black screen on boot after selecting Windows Video driver conflict (often on NVIDIA) Boot into safe mode and install drivers manually

If after installation Windows Linux stopped loading with an error "error: no such device", most likely the UUID of the partitions has changed. Update /etc/fstab in Linux, mounting the partition via Live USB and checking the new UUIDs with the command blkid.

Frequently asked questions (FAQ)

Is it possible to install Windows on a Linux laptop without a flash drive?

Technically yes, but it's difficult. Can be used WINE to run the installer Windows from Linux, but it is unstable. It's better to create a bootable USB flash drive or use VirtualBox (although performance will be lower).

How to remove Windows and return only Linux?

Boot from Live USB Linux, delete partitions Windows through GParted, expand the Linux partition and restore GRUB (as described above). Don't forget to update fstab, if you changed the UUID of the partitions.

Why is the Linux partition not visible after installing Windows?

Windows doesn't know how to work with ext4 default. Install Ext2Fsd or create a separate section NTFS/exFAT for file sharing. In Linux all partitions Windows will be visible automatically.

Is it possible to install Windows 11 on an old laptop without TPM 2.0?

Yes. When installing, click Shift + F10, enter regedit, go to HKEY_LOCAL_MACHINE\SYSTEM\Setup and create a parameter BypassTPMCheck (DWORD) with value 1. Also create BypassSecureBootCheck And BypassRAMCheck. After this, the installation will continue.

How can I make Windows and Linux see the same documents?

Create a separate section in the format NTFS or exFAT (For example, /data) and mount it on both systems. On Linux, add the line to /etc/fstab:

/dev/sdXN  /data  ntfs  defaults  0  0

B Windows it will appear as a normal disk.