How can I install Windows on a second drive without disrupting Linux?

September 15, 2026 4 answers
Asked by MellowPine47
I already have Linux installed on one drive and want to install Windows on a separate drive for a dual-boot setup. The Windows installer is ready, but I'm concerned it might overwrite or interfere with Linux's bootloader or EFI system partition. Is disconnecting the Linux drive really necessary, or are there safer ways to protect the existing installation?

Answers

SilverKite32
You can change EFI partition flags with a partitioning tool, but I wouldnโ€™t treat that as the primary safeguard. Hiding the existing EFI partition can make Linux harder to boot temporarily and may not prevent every installer-related mistake. A full backup and disconnecting the Linux drive are safer than relying on partition flags alone.
Reply to this answer
QuietHarbor6
If you leave both drives connected, carefully verify the target disk and partitions in the Windows installer. You can also arrange for Windows to use a separate EFI partition on its own drive, but the installer may still choose the existing one if it finds it. Temporarily unplugging the Linux drive is less convenient, but itโ€™s the most reliable way to avoid modifying Linuxโ€™s boot files.
Reply to this answer
OrbitingMango21
Installing Windows first isnโ€™t strictly required. With UEFI systems, either operating system can be installed first, but Windows may add or change boot entries and sometimes place files in an existing EFI system partition. Make sure you have a backup and know how to boot the Linux drive directly from the firmware boot menu.
Reply to this answer
CedarFox8
The safest approach is to temporarily disconnect the Linux drive, install Windows to the second drive, then reconnect Linux and select its drive as the default boot device in the firmware settings. After that, you can refresh GRUB so it detects Windows. This gives each operating system its own EFI partition and prevents the Windows installer from accidentally using Linuxโ€™s.

MellowPine47: If GRUB needs repairing afterward, is that usually difficult?

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions