How to fix a damaged grub boot partition through re-installation of grub2
HipChat Server fails to boot up and from the shell, admin will see "grub rescue":
- Citrix Xen
The root cause is grub not correctly being updated on the boot partition during a 1.x to 2.x major upgrade due to it not matching the expected default deployment of /dev/sda.
This issue occurs on unsupported hypervisor platform(s) (Citrix Xen or KVM) when using a non standard boot partition (e.g. boot harddisk device in our VM is /dev/vda not /dev/sda). Since the problem has only occurred in unsupported environments, HipChat Server Support is limited in their ability to assist with resolving the problem.
The resolution is to reinstall grub through a "Live CD":
- Download the https://www.system-rescue-cd.org/Download ISO and boot the server from it
- Follow the instructions under Solution 2: Reinstallation of Grub using chroot from this article till the end. This solution will repair Grub by running
Alternatively, download and install 14.04.1 Live CD and refer to these articles to repair grub:
Was this helpful?
Thanks for your feedback!