Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

GRUB not found after re-plugging the hard drive

I have a dual boot Windows 10 / Fedora 25 install (on the same hard disk, using a UEFI boot partition) and a second hard drive for additional storage. Up to today everything worked fine. Today I unplugged both hard drives to plug another one and install Debian on it. Then I took the Debian drive away and re-plugged the original drives. However, now I am only able to boot Windows. When I go to UEFI Setup -> Boot menu, the GRUB entry is not there anymore, by default the Windows boot manager starts directly.

I used the Fedora Live USB stick to mount the EFI partition and check its content. The GRUB files are still there.

GRUB not found after re-plugging the hard drive

I have a dual boot Windows 10 / Fedora 25 install (on the same hard disk, using a UEFI boot partition) and a second hard drive for additional storage. Up to today everything worked fine. Today I unplugged both hard drives to plug another one and install Debian on it. Then I took the Debian drive away and re-plugged the original drives. However, now I am only able to boot Windows. When I go to UEFI Setup -> Boot menu, the GRUB entry is not there anymore, by default the Windows boot manager starts directly.

I used the Fedora Live USB stick to mount the EFI partition and check its content. The GRUB files are still there. there.

Edit: From what I've found out, it seems possible that re-plugging a hard drive breaks the NVRAM entries. Is there some way to restore the entry in NVRAM, for example using the live USB stick? I thought about mounting the EFI partition and reinstalling GRUB (grub2-install), but I'm afraid to lose my original configuration, kernel images etc.