Dual-booting Linux alongside Windows 11 breaks predictably for three reasons: BitLocker Device Encryption, Windows Fast Startup hibernation, and mismatched firmware boot modes. Working on production systems trains you to shrink blast radius before editing disk tables. I follow the same rule on laptops and workstations: if your machine has a spare M.2 slot, install Linux on a second SSD.
If you only have one drive, you can still share it safely across Ubuntu 24.04/26.04 LTS, Fedora Workstation, or Arch Linux, provided you prepare Windows first.
Diagram: Original SVG schematic by Ajay Kumar Chaturvedi.
Prerequisites and Safety Checks
Assemble these items before booting Linux install media:
- An external backup of important Windows files plus your exported 48-digit BitLocker recovery key.
- Your actual Windows account password (Secure Boot changes can disable Windows Hello PIN/biometrics temporarily).
- Both a Linux USB installer (Ubuntu, Fedora, or Arch) and a Windows recovery USB.
- UEFI firmware confirmation in Windows: press
Win+R, runmsinfo32, and verify BIOS Mode isUEFI.
Backup and Destructive Warning: Partition shrinking, EFI System Partition formatting, and efibootmgr edits can make an OS unbootable if aimed at the wrong disk. Back up your files and record your BitLocker recovery key before changing partitions or firmware toggles.I would skip single-disk partitioning altogether if a second NVMe drive fits in your chassis. A dedicated Linux drive avoids NTFS resizing, keeps Windows updates off Linux boot files, and lets you create a 1 GiB EFI System Partition.
Step-by-Step Procedure
Step 1: Disable Windows Fast Startup and Hibernation
Target OS: Windows 11 (before booting Ubuntu, Fedora, or Arch media).
Windows 11 Fast Startup saves kernel session state to hiberfil.sys. As the ArchWiki Dual boot with Windows guide notes, accessing NTFS or a shared EFI System Partition from Linux while Windows is hibernated risks filesystem corruption.
Open an elevated Windows Terminal or Command Prompt as Administrator and turn off hibernation:
powercfg /H offHold Shift while clicking Shut down in Windows so the kernel executes a cold shutdown rather than a hybrid state.
Step 2: Handle BitLocker Before Resizing Windows
Target OS: Windows 11 (for single-disk Ubuntu, Fedora, or Arch installs).
Many Windows 11 PCs ship with Device Encryption active. Per Ubuntu's BitLocker documentation, an encrypted NTFS volume looks like random noise to Linux partitioners. Follow Ubuntu's instructions to disable BitLocker if installing on the same disk:
- Open Windows Settings, go to Privacy and security, and select Device encryption (or Control Panel BitLocker on Pro).
- Switch Device encryption off, wait for full decryption, and reboot once to verify login.
- If corporate policy locks BitLocker on, install Linux on a separate physical SSD instead.
Once decrypted, open Windows Disk Management (diskmgmt.msc), right-click C:, and click Shrink Volume to free 50 GiB to 100 GiB of unallocated space. Keep the Windows EFI (100 MiB), MSR (16 MiB), and Recovery partitions untouched.
Step 3: Match UEFI Mode and Secure Boot Strategy
Target OS: UEFI Firmware Setup (Ubuntu, Fedora, or Arch Linux).
Always boot your Linux USB in UEFI mode rather than Legacy/CSM so both operating systems share UEFI/GPT booting.
- Ubuntu and Fedora ship signed
shimEFI binaries compatible with Secure Boot (some firmware requires enabling Microsoft 3rd Party UEFI CA). - Arch Linux live media is unsigned, so disable Secure Boot before booting Arch installers.
- BitLocker binds its TPM key to PCR 7 (Secure Boot state). Toggling Secure Boot while BitLocker is active will prompt for your 48-digit recovery key.
Step 4: Partition and Install Linux Without Touching Windows Boot Files
Target OS: Ubuntu Desktop, Fedora Workstation, or Arch Linux installer.
Choose the layout matching your hardware:
- Two-drive setup (recommended): Create a new 1 GiB FAT32 EFI System Partition (
/boot/efior/efi) plus root (/) on the second drive, leaving Disk 0 untouched. - Single-drive setup: Install Linux into the unallocated space from Step 2. Mount the existing Windows EFI partition at
/boot/efi(Ubuntu/Fedora) or/efi(Arch) with Format strictly unchecked.
Formatting the existing ESP deletes Microsoft/Boot/bootmgfw.efi. Because Windows creates only a 100 MiB ESP on 512e disks, keep /boot on your Linux partition (not directly on the ESP) so kernel updates do not exhaust those 100 MiB.
Step 5: Verify EFI Boot Order and Bootloader Entries
Target OS: Installed Linux (Ubuntu, Debian, Fedora, Arch).
Boot into Linux and inspect UEFI NVRAM entries with the `efibootmgr(8)` manual:
sudo efibootmgr -vConfirm BootOrder lists your Linux shim (ubuntu, fedora, or grub/systemd-boot) alongside Windows Boot Manager. On Arch using systemd-boot (per the `systemd-boot(7)` manual), check bootctl status, which notes Windows auto-detection on a shared ESP and reboot-for-bitlocker support. Still, when BitLocker uses PCR 7, I prefer choosing OSes from the firmware boot menu (F12/F11/Esc) or sudo efibootmgr --bootnext <XXXX> rather than chainloading Windows from GRUB.
If using GRUB without BitLocker conflicts and Windows is missing from the menu, check /etc/default/grub (GRUB_DISABLE_OS_PROBER=false) and regenerate per ArchWiki GRUB:
# Ubuntu / Debian
sudo update-grub
# Arch Linux (with os-prober installed and ESP mounted)
sudo grub-mkconfig -o /boot/grub/grub.cfgVerification and Expected Result
Run three quick checks before putting the system into daily use:
sudo efibootmgr -vdisplays both Linux andWindows Boot Manager.- Choosing Windows boots straight to desktop without asking for a BitLocker recovery key.
- Cold-booting back into Linux shows healthy mounts (
lsblk -f) with Windows partitions unmounted by default.
Expected result: both operating systems boot reliably from UEFI firmware without corrupting each other's partitions.
Troubleshooting
- Windows boots directly after a major Windows update: Windows Feature Updates sometimes reorder NVRAM. Boot Linux via the UEFI one-time boot menu, check hex IDs with
sudo efibootmgr -v, and restore priority withsudo efibootmgr --bootorder <LinuxHex>,<WindowsHex>. - Linux installer sees no NVMe disk: Prebuilt laptops sometimes use Intel VMD/RST RAID mode. Enable Safe Boot in Windows first before switching storage mode to AHCI so Windows boots afterward without
INACCESSIBLE_BOOT_DEVICE. - `os-prober` skips Windows: Ensure Windows shut down cold (
powercfg /H off) and the Windows EFI partition is mounted before updating GRUB.
