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 ?
VM fails to boot after kernel update
VM fails to boot after kernel update
- Attachments
-
- centos7.PNG (45.94 KiB) Viewed 3084 times
Re: VM fails to boot after kernel update
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.
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
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
Re: VM fails to boot after kernel update
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.
Thanks again.
Re: VM fails to boot after kernel update
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
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