Issue booting on MacMini after update (Grub/shim problem) (mokListRT)

General support questions
Post Reply
ZioCain
Posts: 2
Joined: 2019/01/04 16:53:04

Issue booting on MacMini after update (Grub/shim problem) (mokListRT)

Post by ZioCain » 2019/01/04 16:54:54

I updated CentOS 7 via

Code: Select all

yum update
Didn't know about shim and mokutils so didn't exclude that from yum.

Now I can't boot it, I can recover the files on it using another live distro (e.g. ubuntu), but when I try to run the rescue mode from a CentOS USB key it gives me the same error:

Code: Select all

Failed to set MokListRT: Invalid Parameter
Something has gone seriously wrong: import_mok_state()
failed: Invalid Parameter
Typical solution found is to:

Code: Select all

cp grubx64.efi shimx64.efi
But the folder in which this file should be ( /boot/efi/EFI/centos ) is completely empty (actually, /boot is empty itself, like not even grub is installed)

Anything else I might try?


I can at least retrive the files... but nothing more than that.

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Issue booting on MacMini after update (Grub/shim problem) (mokListRT)

Post by TrevorH » 2019/01/04 18:51:52

The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

ZioCain
Posts: 2
Joined: 2019/01/04 16:53:04

Re: Issue booting on MacMini after update (Grub/shim problem) (mokListRT)

Post by ZioCain » 2019/01/07 09:07:17

Yeah, thank you, I've been reading that answer for hours and couldn't make it work.
Where is /boot/efi supposed to be?

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Issue booting on MacMini after update (Grub/shim problem) (mokListRT)

Post by TrevorH » 2019/01/07 12:32:14

/boot/efi has to be its own filesystem and should already exist if you already have an operating system installed.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply