I completely unplugged my Linux SSD and reinstalled Windows on another hard drive.
I plugged in the Linux-SSD again after the installation, but when I tried to boot it my computer wanted to boot to Windows. I went to the BIOS and changed the boot order back to how it was before (my machine always booted to Linux on default). Normally I'd be shown GRUB 2.0 for some seconds, but then my Windows wanted to repair the Linux drive, so I pressed the reboot-button to prevent further damage.
I set the Boot Mode from UEFI and Legacy
to UEFI only
.
After this, my computer prompts
"Reboot and Select Proper Boot device or Insert Boot Media in selected Boot device and press a key"
Windows didn't even had an entry in the GRUB, and the system was set up to allow booting Windows only by manually selecting the Windows drive.
Can someone explain me what happened to my Linux drive or the bootloader of which I thought it was located on the Linux partition, and how I can fix this to boot to Linux again?
Might it be that Windows made some changes to the BIOS so the BIOS doesn't find the Linux bootloader?
Additional info/status quo:
efivar-tester
in arch-chroot:
About to test empty [runs through]
About to test one skips at:
testing efi_get_variable()
FAIL: "one"(line 212) (-1) get size test failed: wrong size: 1 should be 2 (append may be at fault)
I am inexperienced with EFI.
modprobe efivars
on Live system:
modprobe: FATAL: Module efivars not found in directory /lib/modules/4.16.3-301.fc28.x86_64
sudo efibootmgr -v
. Your entry should show shim or grub in details. If not you may just need a new UEFI entry or reinstall grub which also adds new UEFI boot entry. If external drive it only boots from /EFI/Boot/bootx64.efi. If UEFI finds a hard drive entry in ESP, it may boot Ubuntu. Do you have separate ESP on Linux drive or only in Windows drive?