I was running CentOS 8 on my MSI Creation 17 laptop. Yesterday, I pulled out the CentOS SSD and put in a new SSD to install Windows 10. Windows 10 was working properly. Today, I pulled out the Windows SSD and put back my CentOS SSD. I expected CentOS to work as before. However, I can't boot into CentOS and my laptop pop up an error message for a fraction of second:
System boot order not found. Initializing defaults.
Creating boot entry "Bot0000" with label "CentOS Linux" for file "\EFI\CentOS\shimx64.efi"
Reset System
The laptop then reboot and pop up the same message again and again.
I tried reset to setup mode and install factory keys in the BIOS Secure Boot setting. But still can't boot into CentOS.
When I turn off Secure Boot and use Legacy mode, the laptop ask me to insert the boot media, so legacy mode doesn't work as well.
How do I boot into my CentOS?