Hello folks. I've been scouring the net for the past day and a half trying to find some sort of solution to my issue. I seem to have hosed my company's production Nagios monitoring system after attempting to do a version upgrade.
This is all with the server version, text only installation, in a virtual system on a VMware ESXI host.
The system started as version 9.10, I then upgraded to 10.10 and had a functional system. At that point, I attempted another update to 11.04.
I entered these commands both times when I attempted the upgrades:
I did this all yesterday. After the attempted 10.10->11.04, the system booted up to a screen which says:Code:sudo apt-get update && sudo apt-get upgrade sudo apt-get install update-manager-core [I changed the upgrade prompt to normal in /etc/update-manager/release-upgrades at this point] sudo do-release-upgrade
I searched quite a bit and found a site that suggested doing this:GNU GRUB version 1.97~beta4
Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists possible
device/file completions
Sh: grub > _
Grub version 1.97 was what came with Karmic. Lucid and Maverick came with 1.98, and Natty/11.04 with 1.99. You have version 1.97 in the mbr and embedding area, but 1.99 in the root partition, sda5. There have been a number of developments in 1.99 and my guess is that the older code in the mbr is incompatible with the later code in the root partition. But why or how the updater managed not to upgrade grub in the mbr in the upgrade process is beyond me.
I suggest this, although no guarantees it will work. You will need a Natty/11.04 live CD. Boot up the 11.04 live CD and choose "try Ubuntu". When you get to the desktop, open a terminal, and:
Code:sudo mount /dev/sda5 /mnt
Then:
Code:sudo grub-install --boot-directory=/mnt/boot /dev/sda
Please note that the --boot-directory switch is new in version 1.99 of grub. It will not work in earlier versions, so you must use the Natty live CD. Besides, you need to use the Natty live CD and not an earlier version to install the 1.99 code to the mbr.
Once you've run those commands, reboot and see if you can boot from the hard drive. You might need to run this command to refresh grub.cfg once you've safety booted into your permanent Ubuntu installation.
Code:sudo update-grub
This suggestion worked for this person which seemed to have the same issue as I do. I downloaded the 11.04 live disc, booted from it, performed the steps and now when I boot the system the screen reads:
GNU GRUB version 1.99~rc1-13ubuntu3
Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists possible
device/file completions
grub> _
So, at this point - I can at least boot off of the live CD and recover all of my nagios config and plugin files; and I've been down long enough that I may attempt to spin up another ubuntu vm while I keep hoping to find a solution for getting this fixed.
If anyone has any suggestions, for something I should try, I would greatly appreciate it.
Bookmarks