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

0
0
Asked By MellowCedar42 On

Linux is already installed on one drive, and I have a separate drive ready for a Windows installation. I know installing Windows first is often recommended, but that is no longer an option. Could the Windows installer overwrite or interfere with my Linux partitions, EFI system partition, or bootloader? What precautions should I take to reduce the risk? I would prefer not to physically disconnect the Linux drive unless that is genuinely the safest approach.

4 Answers

Answered By QuietLantern88 On

Installing Windows after Linux is not automatically a problem, especially on a UEFI system. You can install them in either order, but pay close attention to the disk and partition selections. If possible, use separate EFI system partitions on the two drives and select the Windows drive explicitly as the installation target. You may need to set the preferred boot entry in the firmware afterward.

MellowCedar42 -

So the installation order itself is less important than making sure Windows uses the correct drive and that the firmware boots the Linux entry afterward?

Answered By PineappleComet6 On

At minimum, back up the Linux data and record which drive contains which partitions. During Windows setup, choose custom installation and delete or format only the partitions on the Windows drive. Afterward, select the Linux drive from the UEFI boot menu and regenerate the bootloader configuration so Windows appears as a selectable operating system.

Answered By SilverKite_31 On

You can sometimes prevent Windows from reusing the existing EFI partition by removing its boot/ESP flags before installation, but this is more error-prone than disconnecting the Linux drive. Do not do it unless you understand your partition layout and have a live Linux recovery USB available. If the Linux bootloader is changed, restoring the flags and reinstalling or rebuilding the bootloader is usually possible.

Answered By OrbitingMaple7 On

The safest method is to temporarily disconnect or disable the Linux drive while installing Windows. Then Windows can only write to the intended drive. After reconnecting it, boot from the Linux drive using the firmware boot menu or boot-order settings, and update GRUB or your other bootloader so it detects Windows. Make a backup of anything important first.

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.