VM fails to boot after kernel update

General support questions
Post Reply
bricoleur
Posts: 7
Joined: 2014/12/04 20:42:11

VM fails to boot after kernel update

Post by bricoleur » 2017/09/21 16:12:11

I have a new Hyper-V VM with CentOS 7. I run 'yum' to get all the updates, including a kernel update.

When I reboot, i get a message, which is included in the attached file.

It starts off with ' 4.5980201 CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0-693.2.2.el7.x86_64'

Farther down, it says ' Kernel Offset: disabled '

I can select a different kernel and boot into the OS.

I had another VM that failed after this very same kernel update, so I am wondering what is going on ?
Attachments
centos7.PNG
centos7.PNG (45.94 KiB) Viewed 3084 times

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

Re: VM fails to boot after kernel update

Post by TrevorH » 2017/09/21 18:36:02

Boot the older kernel and run yum reinstall kernel-3.10.0-693.2.2el7

Looks like you've found the undiagnosed bug which either fails to create the initramfs for the kernel or neglects to add it to the grub config file. A reinstall should fix it as long as you're not out of space on /boot.
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

bricoleur
Posts: 7
Joined: 2014/12/04 20:42:11

Re: VM fails to boot after kernel update

Post by bricoleur » 2017/09/21 19:19:04

Thank you. That worked. I have seen this behavior with other kernel updates in CentOS 7. When you say an "undiagnosed bug", what exactly does that mean ? I wonder why it appears that the kernel updates successfully, if it actually has not ? This gets frustrating.

Thanks again.

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

Re: VM fails to boot after kernel update

Post by TrevorH » 2017/09/21 19:21:32

I mean it's a bug that happens but no-one has investigated it and discovered why.
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