Posts Tagged ‘hyper-v’

Red Hat – Kernel Panic after yum update – Hyper-V

June 23rd, 2016

After a yum update on a Red Hat VM, hosted on a hyper-v environment. You might run into an issue where on boot, the system kernel panics.

This was observed when the update brought the RH system from RH less then 6.5 to 6.5+.

Should this occur you can try the following:

  • Boot system into previous kernel using the menu at boot
  • go into the /boot directory
  • backup the newest kernel: cp initramfs-2.6.32-642.el6.x86_64.img initramfs-2.6.32-642.el6.x86_64.img.$(date +%m-%d-%H%M%S).bak
  • Uninstall the hyper-v packages: yum remove kmod-microsoft-hyper-v microsoft-hyper-v
  • rebuild the kernel (updated) dracut -f initramfs-2.6.32-642.el6.x86_64.img 2.6.32-642.el6.x86_64
  • reboot the system
    • if you found this helpful feel free to donate to:
      ZEC: t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM
      LTC: LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d
      BTC: 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz