do u hav mandriva dvd try it, sometimes it works best for recovery of grub, when most distro's fail to rescue grub/or reinstall grub.
ubuntu@ubuntu:~$ sudo fdisk -l Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 1275 10241406 7 HPFS/NTFS /dev/sda2 1276 6949 45576405 f W95 Ext'd (LBA) /dev/sda3 6950 9728 22322317+ 83 Linux /dev/sda5 1276 3825 20482843+ b W95 FAT32 /dev/sda6 3826 6757 23551258+ 7 HPFS/NTFS /dev/sda7 6758 6949 1542208+ 82 Linux swap / Solaris
infra_red_dude said:simple steps to recover grub.
boot into the live cd and open a terminal windows. now type:
it'll then give you a grub prompt, "grub>"
now type: "find /boot/grub/stage1" at the grub prompt.
it'll give a output like this (hd0,7) 7 is here the example boot partition. note this down.
now type:"root (hd0,7)" (replace hd0,7 wid whatever output u'd got in the prev. step.
then type: "setup (hd0)"
it'll setup grub again.
its over! you get the grub menu now if at all the windows entry is not there. boot into linux after performing the above mentioned steps and add this line in /boot/grub/menu.lst:
title Microsoft Windows
hd0,0 above assumes that you've installed windows in the first partition of the first hard disk. if this is not the case then replace 0,0 wid relevant data to ur system.