Installing Linux distro without breaking Windows install
Installing Linux distro without breaking Windows install
Solution: When I formatted all my drives to install Linux on one and Windows on the other, I kept both connected and they share EFI boot partition as a result. Every time I reinstall Linux it formats the drive and therefore deletes the Windows's EFI Boot as well. One way is to fix this is to reinstall Windows while disconnecting the drive you have Linux on. Or you can move the boot files if you don't want to do that.
I used this guide: https://forums.tomshardware.com/threads/changing-windows-boot-manager-drive.3571420/post-21561626
Also remember to delete the Microsoft folder in the boot folder on Linux after you’ve checked that the new boot loader is working.
OP:
Currently dual booting as I need Windows for a few tasks and ganes Linux just won’t do. Since setting everything up I’ve reinstalled Linux twice, both times I’ve lost the ability to boot into windows and have needed to reinstall it.
Disk doesn’t show at all in Grub, tried all kinds of things but it just doesn’t show as a bootable OS. It doesn’t show in the boot options in the BIOS or the boot menu for my motherboard. Drive shows up and all the files are still on it. So my guess is the Windows bootloader somehow installs on the same disk that I have Linux on.
I run Linux(Fedora) and Windows on two separate drives.
Windows take forever to install. Anything I can do now to prevent this from happening if I need to reinstall Linux or if I wanna to some distro hopping?
Just to be clear, everything is working right now. But I want to prevent having to reinstall Windows every time I change distro or reinstall my Linux OS
Do you have the os-prober package installed? I haven't used Fedora in over a decade, so I don't know if it's a default or not.
Yes that’s present and working.
Issue is that my BIOS doesn’t find it either. So something happens when I install a linux distro that breaks the Windows boot loader.
When I reinstall Windows, I can update the grub and it shows up. (It’s also back in the BIOS after reinstalling)
I was doing some quick research and saw someone suggest installing each OS with the other drive disconnected. That way you can first get each one working individually and there's no chance of one messing with the other's bootloader.