Yum update interrupted; system boots to grub prompt now

General support questions
Post Reply
phil.e
Posts: 97
Joined: 2018/02/13 20:28:14

Yum update interrupted; system boots to grub prompt now

Post by phil.e » 2021/06/29 16:44:02

I started doing yum update on a user's workstation because he wasn't logged on at the time. It got through the updates, finished the cleanup, and dkms was in the process of installing the new kernel, when the user logged in, thought his workstation was acting wonky and he did a hard reboot. Now the machine boots directly to a grub prompt.

I'm assuming the new kernel never finished successfully installing, so it's in a stuck state.

How in the world do I fix this one??

Whoever
Posts: 1357
Joined: 2013/09/06 03:12:10

Re: Yum update interrupted; system boots to grub prompt now

Post by Whoever » 2021/06/29 20:18:06

If your supposition is correct, then the solution is to boot into one of the older kernels, then re-install the kernel and force the DKMS update.

Shouldn't DKMS do its work on boot also?

phil.e
Posts: 97
Joined: 2018/02/13 20:28:14

Re: Yum update interrupted; system boots to grub prompt now

Post by phil.e » 2021/06/29 20:29:36

It goes directly from the Dell splash logo to the grub prompt - they never get the list of installed kernels to pick from.

phil.e
Posts: 97
Joined: 2018/02/13 20:28:14

Re: Yum update interrupted; system boots to grub prompt now

Post by phil.e » 2021/06/30 15:50:19

A follow up on this post:

Lucky for me, the system in question was a remote system, and I had a sharp user on the other end that was able to get the system to boot correctly from just the grub prompt.

I want to verify yum and the kernel configuration are healthy before trying to reboot the system.

Would "yum check" verify if there was any yum corruption? (I ran "yum check", it ran for about 20 minutes and didn't spit out any errors)

Would running "grub2-mkconfig -o /boot/grub2/grub.cfg" verify and/or fix any issues with the kernel configuration?

Post Reply