Environment
Situation
Resolution
img a mount /dev/sdXY /mnt/harddisk #(X can be a,b,c etc and Y can be 1,2,3 etc./dev/sdXY is the active partition) grub-install.unsupported --root-directory=/mnt/harddisk --recheck /dev/sdX #(X can be a,b,c etc)
Additional Information
In this case, it was found that on image restoration, using the latest distribution (SLES11 based), grub files namely e2fs_stage1_5 and stage2 within the image were out of sync and hence it results in the grub error. This most likely will not happen in most cases.
So to make these "out of sync" images work, the image(.zmg) file, was opened using image explorer, then took e2fs_stage1_5,stage2 and message file from the /boot folder of SLES11 OS, and then replaced these files with valid files and saved it.
Additionally once image restoration is complete, the active partition must be mounted running the command:
grub-install.unsupported --root-directory=/mnt/harddisk --recheck /dev/sdX #(X can be a,b,c etc) which will resolve the grub error.