Linux – How to install Windows and linux on separate drives so that their booting is independent

bootlinuxmulti-bootuefiwindows 7

I've a system with a UEFI firmware, to which I'll be adding two drives. I wish to install Windows 7 on one and a linux distro on another. I would like it set up such that if one drive were to be offline, I could reliably boot and operate the other OS, save for complaints about missing data partitions.

My plan is to install Windows first with only one drive connected. Partition the drive as GPT and install. Windows will create an EFI partition and add its UEFI boot entry.

Then connect the other drive — so both are online — and tell the linux installer to create its EFI partition on the 2nd drive and install its bootloader there. I'm deciding between OpenSuse Tumbleweed and one of the Arch-based distros. Will they allow me to do this at install time?

So the UEFI boot entry for Windows points to Drive1\EFI and that for linux, points to Drive2\EFI. These entries should identify the partitions via UUID. I'll use the UEFI boot menu at startup to choose OS.

Is my plan viable? In linux, will the drive device address change (sdb –> sda) if only one drive is present wreck things?

Can this be carried out via BIOS/MBR modes? If this can't be done at all, why not?

Thanks.

P.S. I scanned most of the related questions displayed, but none seemed to have had the same requirements or circumstances. If there is one, with an answer, do let me know.

Best Answer

I think UEFI can automatically handle that. At least it should find both EFI Partitions, just like it will find any EFI Partition on a DVD that is inserted or on USB Sticks.
You can configure the order in UEFI manually, or you can press a button on startup in most cases that let's you choose what to boot.
Yup, distros will allow you to do that on install time, but depending on what you install you might have to do more or less work. Antergos for example specifically asks for the /boot/efi partition and you can create one if it does not exist - just google it if you can't figure it out in install times, this is basic stuff that should be mentioned somewhere for every distro.

I don't know about BIOS/MBR, but I think it would be possible even with that instead of UEFI.

Edit:
There shouldn't be any need to connect them one after the other. It should work fine with both connected from the beginning.

Related Question