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

0
8
Asked By MellowPine47 On

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?

4 Answers

Answered By CedarFox8 On

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?

Answered By OrbitingMango21 On

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.

Answered By QuietHarbor6 On

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.

Answered By SilverKite32 On

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.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.