Installing a second operating system on a laptop is a task that scares many users. Most often, concerns are associated with the risk of losing data, breaking the current system, or encountering errors during loading. In practice, the installation process Windows 11 next to Windows 10, Ubuntu next to macOS, or any other combination of OS, even beginners can do it - if you approach the matter systematically.
In this article we will analyze the entire process from A to Z: from choosing a compatible operating system to setting up dual loading (dual boot). You will learn how to properly partition a disk, avoid conflicts between systems, and what to do if after installation one of the operating systems stops booting. And so that Teoria does not remain a theory, we will provide step-by-step instructions with screenshots and commands for the terminal.
1. Preparing your laptop: checking compatibility and backing up
Before you begin installation, you need to make sure that your laptop supports two operating systems at the same time. Main criteria:
- 🖥️ Hardware requirements: For Windows 11 will be required
TPM 2.0AndSecure Boot, for Linux (For example, Ubuntu 22.04) - minimum4 GB RAMAnd25 GB free space. - 💾 Free disk space: It is recommended to allocate at least
50–100 GB(for Windows) or30–50 GB(for Linux). - 🔄 Download mode: Modern laptops use
UEFIinstead of outdatedBIOS. Make sure both operating systems support the selected mode.
The most critical step is data backup. Even if you are confident in your actions, a disk partitioning failure or an installer error can lead to file loss. Use:
- 🔗 External SSD/HDD to create a system image via Macrium Reflect or Acronis True Image.
- ☁️ Cloud services (Google Drive, Yandex Disk) to copy important documents.
- 📀 Bootable USB flash drive with Live CD (For example, GParted) in case of emergency partition recovery.
⚠️ Attention: If installed on the laptop BitLocker (disk encryption in Windows), required turn it off before marking. Otherwise, after changing partitions, the system may require a recovery key, which is not always available.
- Windows 11
- Ubuntu/Linux Mint
- macOS (on Hackintosh)
- Android-x86
- Another
2. Choosing a second operating system: what to consider?
Not all operating systems get along equally well on one laptop. Here are the key factors when choosing:
| Criterion | Windows (10/11) | Linux (Ubuntu, Fedora, Mint) | macOS (Hackintosh) |
|---|---|---|---|
| Hardware compatibility | ✅ Full (drivers for most devices) | ⚠️Manual setup may be required (Wi-Fi, touchpad) | ❌Only on supported configurations (see. Dortania Guide) |
| Disk requirements | 64 GB+ (recommended 100 GB) |
25 GB+ (minimum 20 GB for Ubuntu Server) |
80 GB+ (due to image size and updates) |
| Difficulty of installation | ⭐⭐ (simple if there is a license) | ⭐⭐⭐ (may require work with GRUB) |
⭐⭐⭐⭐⭐ (requires kernel patching, disabling Secure Boot) |
For most users, the optimal choice is Ubuntu or Linux Mint (if you need lightness and compatibility with Windows) or Windows 11 (if specific software support is required, for example, AutoCAD or Adobe Premier). Installing macOS on non-Apple hardware (Hackintosh) is officially prohibited by Apple's licensing agreement and is fraught with problems with updates.
If you stopped at Linux, check the compatibility of your laptop on the website of the distribution manufacturer. For example, Dell XPS 13 officially supported Ubuntu, and for ASUS ROG manual configuration of drivers may be required NVIDIA.
3. Disk partitioning: how to allocate space for a second OS
The most important stage is creating a new partition for the second system. There are two ways here:
- Shrinking an existing partition (if there is free space on the disk).
- Replacing one of the partitions (For example,
D:) if it does not contain important data.
Let's look at the first option using an example Windows 10/11:
- Open
Disk management(Win + X → Disk Management). - Select the drive (usually
C:), right-click and click Shrink Volume. - Specify the size of the space to be compressed (for example,
102400 MBfor100 GB). - After compression, unallocated space will appear - we will use it for the second OS.
⚠️ Attention: If used on a laptop Optane SSD (for example, in some models Lenovo IdeaPad or HP Pavilion), shrinking a partition may cause errors. In this case, it is better to use third-party utilities like MiniTool Partition Wizard.
For Linux you can go further and create separate sections for /home, /boot And swap. However, for beginners, one root partition is enough (/) and swap-file (virtual memory).
Back up data|Check free space (minimum 50 GB)|Disable BitLocker (if enabled)|Shrink partition in Disk Management|Download installation ISO image-->
4. Creating a bootable USB flash drive and setting up BIOS/UEFI
To install a second OS, you will need bootable media. Recommended Tools:
- 📁 Rufus (for Windows/Linux) - supports
UEFIAndGPT. - 🐧 Balena Etcher (for Linux/macOS) - simple interface, but slower Rufus.
- 🍎 TransMac (to create a bootable USB flash drive macOS on Windows).
Instructions for Rufus:
- Download the latest version from official website.
- Insert a USB flash drive (minimum
8 GBfor Windows 11,4 GBfor Linux). - Select the downloaded ISO image, partition scheme (
GPTforUEFI) and file system (FAT32). - Click Start and wait for it to finish (about 10–20 minutes).
After creating the flash drive, you need to configure BIOS/UEFI:
- Reboot your laptop and log in
BIOS(usually the keyF2,DelorEscwhen loading). - Disable
Secure Boot(required for Linux And Hackintosh). - Turn on the mode
AHCIfor SATA (if usedRAID, there may be problems with the bootloader). - Set boot priority from flash drive (
Boot Option #1).
If the laptop does not see the bootable USB flash drive, try reconnecting it to another USB port (preferably USB 2.0 on older models).
5. Installing a second OS: step-by-step steps
The installation process depends on the selected system. Let's look at the two most popular scenarios: Windows 11 And Ubuntu 22.04 LTS.
Scenario 1: Installing Windows 11 next to Windows 10
If you install Windows 11 Second, follow these steps:
- Boot from the flash drive, select a language and click Install.
- On the installation type selection screen, click Custom: Windows installation only.
- Highlight the unallocated space (created earlier) and click Create. Please indicate the size (eg
100 GB) and format inNTFS. - After installation, the system will automatically configure dual loading via standard menu Windows Boot Manager.
Scenario 2: Installing Ubuntu next to Windows
For Linux the process is a little more complicated due to bootloader settings GRUB:
- Boot from the flash drive, select Try or Install Ubuntu.
- At the disk partitioning stage, select Install next to Windows Boot Manager (the utility will automatically find an existing Windows).
- Specify the partition size for Ubuntu (recommended
30–50 GB) and createswap-partition (equal to the amount of RAM, if≤8 GB). - After installation, reboot - the boot menu will display a choice between Windows And Ubuntu.
⚠️ Attention: If after installation Ubuntu Windows stopped loading, that meansGRUBoverwritten the bootloader Windows. This can be fixed via Live CD command:sudo update-grub
sudo grub-install /dev/sda(where
/dev/sda- your system disk).
What should I do if the installer does not see the unallocated space?
This is a common problem on laptops with UEFI And GPT. Solutions:
1. Convert the disk to GPT through DiskPart (command convert gpt).
2. Disable in BIOS option CSM (Compatibility Support Module).
3. Use GParted to create a partition manually (format ext4 for Linux or NTFS for Windows).
6. Setting up dual loading and solving typical problems
After installing the second OS, you will have to configure the boot menu. Depending on the combination of systems, this can be done like this:
| OS Combination | Default bootloader | How to change the boot order |
|---|---|---|
| Windows 10 + Windows 11 | Windows Boot Manager |
Via msconfig → Boot or bcdedit on the command line. |
| Windows + Linux | GRUB |
Edit /etc/default/grub (parameter GRUB_DEFAULT) and execute sudo update-grub. |
| macOS + Windows (Hackintosh) | Clover/OpenCore |
Set up config config.plist in a folder EFI. |
Common problems and their solutions:
- 🔄 The bootloader does not appear: Check in
BIOSthat is includedUEFIand disabledFast Boot. For Linux may require reinstallationGRUB. - ⏳ One of the OS takes too long to load: For Windows turn off
Quick startin power options. For Linux optimize services throughsystemd-analyze blame. - 🖱️ Touchpad or Wi-Fi not working in Linux: Install proprietary drivers via
Additional drivers(Ubuntu) or manually (for example, for Broadcom Wi-Fi).
timedatectl set-local-rtc 1
This is due to the different approach to time storage in Windows and Linux.-->
7. Optimizing the operation of two systems on one laptop
To ensure that both operating systems work stably, follow these tips:
- 📂 Data separation: Create a separate partition
NTFSorexFATfor sharing files between systems. Linux does not supportNTFSfor system files, but can read/write data. - 🔋 Power management: B Windows turn off
Hybrid sleep mode(powercfg /h off) to Linux could mount the partition correctly. - 🛡️ Antivirus and firewall: Exclude system files of the second OS from scanning (for example, the folder
/bootin Linux).
For convenience, you can configure automatic download frequently used OS. For example, in GRUB add to /etc/default/grub:
GRUB_DEFAULT=0 # первый пункт в меню
GRUB_TIMEOUT=3 # время ожидания (секунды)
Then update the configuration:
sudo update-grub
If you frequently switch between systems, consider using virtualization. For example, in Windows you can run Ubuntu through WSL 2 or VirtualBox, and in Linux — Windows through QEMU/KVM. This will eliminate the need to reboot.
FAQ: Frequently asked questions about installing a second OS
Is it possible to install a second OS on a laptop with Windows 11 pre-installed?
Yes, but there are nuances:
- 🔐 Windows 11 requires
TPM 2.0AndSecure Boot. To install Linux you'll have to turn it offSecure Boot(this will not break the work Windows, but may require manual bootloader recovery). - 💾 On some laptops (for example, Lenovo Yoga or HP Spectre) the disk can be encrypted
BitLocker. It must be disabled before marking.
How much space should be allocated for the second OS?
Minimum and recommended values:
- 🪟 Windows 10/11: minimum
64 GB, optimal100 GB+(including updates and programs). - 🐧 Linux (Ubuntu, Mint): minimum
25 GB, optimal50 GB(if you plan to install the software viasnap/flatpak). - 🍎 macOS (Hackintosh): minimum
80 GB(due to image and cache size).
If disk space is limited, you can use dynamic partitions (For example, LVM in Linux), but this will complicate system recovery in case of failure.
How to remove a second OS if it is no longer needed?
The process depends on which system was installed second:
- Delete the second OS partition via
Disk management(Windows) or GParted (Linux). - Restore the bootloader of the main OS:
- For Windows:
bootrec /fixmbrAndbootrec /fixbooton the command line (WinRE). - For Linux: reinstall
GRUBwith Live CD.
- For Windows:
⚠️ Do not delete the section EFI (usually 100–500 MB) - this will lead to the impossibility of loading any OS!
Is it possible to install a second OS on an external SSD?
Yes, it is possible, but with reservations:
- ✅ Pros: No partitioning of the main disk is required, you can easily disable the second OS.
- ❌ Cons:
- Booting from an external drive is slower (especially on
USB 2.0). - Not all laptops support booting from
USBinUEFI-mode. - For Windows To Go Volume license required.
- Booting from an external drive is slower (especially on
For Linux The installation process on an external drive is no different from the usual one, but for Windows you will need to use the utility WinToUSB.
How to update one of the OS without breaking the bootloader?
Updates may overwrite the bootloader, especially in Windows. To avoid problems:
- 🪟 For Windows:
- Before a major update (for example, Windows 11 23H2) create a restore point.
- After the update you may need to restore
GRUB(if used Linux).
- 🐧 For Linux:
- Update the kernel and
GRUBthroughapt upgrade(for Debian/Ubuntu). - If it disappeared after the update Windows in the boot menu, do
sudo os-proberAndsudo update-grub.
- Update the kernel and