How to restore Grub after installing windows in ubuntu 11.04
After installing windows grub should be restored. Following is the steps to restore Grub
Boot the system with ubuntu live cd (11.04)
Open terminal type
$ sudo gparted
Note the partition where root symbol ” / “ is there in mount point label field. In the above example it is present in /dev/sda6.
After that type the following command in terminal
$ sudo -i
Mount the root partition my root is mounted in /dev/sda6. change this according to which partition your root is mounted
# mount /dev/sda6 /mnt
After mounting the root partition, install the grub using the following command
# grub-install –root-directory = /mnt /dev/sda
If grub is installed without any errors type
# update-grub
reboot to check whether grub is restored.
mount point column is not there in mine one wat to do?