I'm using Fedora 27 and recently I had a problem with the package manager of this distro, dnf, which removed the grub. Since then I can't boot my Fedora partition, it's explained in detail here :
It was Tuesday, I run the dnf autoremove command which has removed the grub2 packages. Then at the end of the day I turned off my computer. Yes I'm stupid I know. On Friday, I turned on my PC, it worked perfectly normal. But on Sunday, I try to turn it on and a beautiful blue screen appeared :
Performance MOK management --> Continue boot --> Enroll key from disk --> Enroll hash from disk
I try "Continue boot" and boot manager appears. It's not the usual one which is black and white, this one has a blue background :
--> Boot manager of the OS - Fedora --> Boot manager of the OS - Windows Boot Manager --> Boot from EFI file (Press F10 to install utility and Escape to leave)
When I try Fedora it go back to "MOK management" and it repeats. When I try Windows, it boot Windows normally. So I tried to press F10 on the Fedora option and it go to the BIOS manager, where you can change the date, the boot order etc.
I don't know what happened. Anyway I assume it's the grub. So I tried to reinstalled it. I booted on a Live USB, I followed a tutorial on a website to mount the HDD and my Fedora partition. It worked. I tried a lot of things : reinstalling grub2, undoing the bad command etc. it still doesn't work.
Can you help me ?
I don't know if we can do that and if it's allowed but I posted my problem on another forum but since it's not resolved I post it elsewhere including here to find someone who can help. Maybe someone here have a solution. The link to the other forum where I already answered some questions and made some manipulations is here.