Thanks for your kind reply.
First of all the system is not able to boot and by default it is going to mem test mode whenever it boots. I thought grub may be corrupted and used ubuntu 11.04 rescue CD trouble shoot and found there are many partitions including /boot and / as separate partitions. I mounted / partition and ran
"grub-install --root-directory=/mnt /dev/sda
", but the installation didn't finish and saying to do with grub-setup
command. I did not do anything with "grub-setup" command and rebooted the machine.
I have some doubts
1) In which partition I should install grub when /boot and / are as separate partitions.
2) If I want run sudo update-grub
and sudo grub-mkconfig
from the live rescue CD, should I first run chroot /mount_point
command? if yes, to which(/boot or /) partition, should I do this?
3) Or can I simply copy-paste the entries which are provided in this
link and changing the partitions for only "set root" and "linux" will works for me?