You can get back fedora.
I encountered this issue on my laptop computer each time when the grub2-efi package updated/reinstalled (including system upgraded to next release). It will caused grub2 boot into some kinds of rescue mode like yours.
The grub2-efi package from Fedora seems can't install correctly on my laptop (ASUS TX300, Fedora x86_64, version 18 to 23).
You can boot Fedora manually from this grub2 rescue mode, then fix this issue by reinstalling grub2 to disk. To do it:
ls command to list all partitions
linuxefi (for EFI) or
linux16 (for BIOS) command to specify the linux kernel file, and then specify the root patition using
root= parameter, like:
root=/dev/sdXN if your root partition is a simple partition
root=/dev/mapper/THE_ROOT_LOGICAL_VOLUME if your root partition is a LVM logical volume
root=/dev/mdN if your root partition is a RAID array
root=UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX - though this is a universal form, since the UUID string is long, it's the easiest to mistype.
linuxefi (hd2,gpt6)/vmlinuz-4.4.2-300.fc23.x86_64 root=/dev/sda8 .
linux16 (hd0,msdos1)/vmlinuz-4.4.2-300.fc23.x86_64 root=/dev/mapper/fedora-root
You can use TAB to auto-complete the
initrdefi (for EFI) or
initrd16 (for BIOS) command to specify the initial ramdisk file.
boot to boot Fedora, this will bring your Fedora alive.
grub2-install issue by specifying
--target x86_64-efi parameter in
grub2-install --target x86_64-efi
Then, reboot to see if this issue is fixed.
Don't forget to repeat step 5 when
grub2-efi package updated/reinstalled next time
I still can't figure out why this happened on my laptop, while it works fine on my desktop machine (EFI, x86_64). Maybe it's related to the MicroSD/TF card, but I'm not sure. When TF card is in the internal card reader, it often caused the block device name not fixed: sometimes it's
/dev/sdb (HDD is
/dev/sdc, SSD is
/de/sda), sometimes it's
/dev/sdc (HDD is
/dev/sdb, SSD is
A little deeper analysis shows that
/boot/efi/EFI/fedora/grubx64.efi file does not contain root (partition) information. In the following hexdump (copied from hexedit actually) of
/boot/efi/EFI/fedora/grubx64.efi file, "(,gpt6)/grub2" string in
0001D2B0 line does not exists when grub2-efi package updated/reinstalled.
0001D290 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 ................
0001D2A0 00 00 00 00 00 00 00 00 03 00 00 00 18 00 00 00 ................
0001D2B0 28 2C 67 70 74 36 29 2F 67 72 75 62 32 00 00 00 (,gpt6)/grub2...
0001D2C0 01 00 00 00 00 00 5A 5B 5D C3 41 56 41 55 41 54 ......Z.AVAUAT
0001D2D0 55 48 89 F5 53 49 89 FC 48 8B 76 08 FF 55 00 85 UH..SI..H.v..U..
0001D2E0 C0 BB 01 00 00 00 0F 85 BC 00 00 00 4C 89 E7 89 ........L...L...