In RedHat based O/S I can easily recover grub menu after windows re installation by just running "grub-install /dev/sda"
. But in ubuntu I could never successfully recover the grub menu. So for practical purpose I installed XP and ubuntu 11.04 as dual boot on Oracle Virtual Box. I re installed the windows XP and now I want to install grub. I booted through Ubuntu11.04 Rescue CD. Here is the partitions details, please find the attachments also.
/dev/sda6 is mounted on /mnt/1 -->/boot partition
/dev/sda7 is mounted on /mnt/2 -->/ partition
/dev/sda8 not mounted --->/home partition
Here I have some confusions as in which I have to install grub when /boot is having separate partition. But I installed it on / partiton using
grub-install --root-directory=/mnt/2 /dev/sda
and found grub installed with no errors
Then I am trying to update the grub using
But I am getting the error as below
/usr/sbin/grub-probe: error: cannot stat `aufs'.
If I reboot the machine I am getting the prompt as
and unable to boot either windows or ubuntu
So please help me to recover the grub and in which I have to install grub / or /boot? when /boot is having separate partition