Dual-booting can break BitLocker, Secure Boot policies, or Fast Startup hibernation. Disable Fast Startup and back up the EFI partition before resizing disks.
What you will achieve
Shrink Windows safely, create Linux partitions, and install a Linux bootloader alongside Windows without overwriting Windows Boot Manager.
1) Prepare Windows
- Open Control Panel → Power Options → Choose what the power buttons do and turn off Turn on fast startup.
- In Admin PowerShell, disable hibernation:
powercfg /h off. - Create a full system image or backup — partition edits can fail mid-operation.
2) Shrink the Windows partition
- Open Disk Management (
diskmgmt.msc). - Right-click the Windows (C:) volume → Shrink Volume. Enter space for Linux in MB (e.g. 102400 for ~100 GB).
- Leave the result as Unallocated — do not format it in Windows.
3) Install Linux alongside Windows
- Boot the Linux installer USB in UEFI mode (pick the UEFI USB entry in the boot menu).
- Choose Install alongside Windows if offered, or manual partitioning: use unallocated space for ext4 (/) and swap as needed.
- Let the installer add its bootloader to the EFI System Partition — most distros add GRUB or systemd-boot without removing Windows Boot Manager.
4) Recover Windows boot if needed
Boot Windows install USB → Repair your computer → Troubleshoot → Command Prompt:
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
5) Set firmware boot order
- In UEFI setup, confirm both Windows Boot Manager and the Linux entry appear in the boot list.
- Use the one-time boot menu (F12 on many PCs) to pick an OS until both chain-load correctly.
6) Manage boot order from Windows
bcdedit /enum firmware
bcdedit /set {fwbootmgr} displayorder {bootmgr} {GUID} /addfirst
Use firmware GUIDs from bcdedit /enum firmware — incorrect GUIDs can hide boot entries.
7) Remove Linux cleanly later
- Delete Linux partitions in Disk Management, then extend Windows into freed space.
- Run
bootrec /rebuildbcdor usebcdeditto remove stale GRUB entries from EFI.
8) Back up EFI partition before edits
mountvol S: /S
xcopy S:\EFI C:\EFIBackup\ /E /H /I
Unmount after: mountvol S: /D. Restore if bootloader edits go wrong.
9) Time and dual boot
Windows and Linux interpret hardware clock differently (local vs UTC). If clock jumps after switching OS, set Windows to UTC for dual boot:
reg add HKLM\System\CurrentControlSet\Control\TimeZoneInformation /v RealTimeIsUniversal /t REG_DWORD /d 1 /f
- Linux side: set hwclock to UTC in distro time settings if needed.
- BitLocker with dual boot requires recovery key when firmware or boot order changes — keep keys offline.