Grubrescue is 1/3 of Grub2. It can't be used for booting but typing "help" will show you the commands available.
You can use the "ls" command to find out what the partitions are and what files available. Grub2 can read ntfs partitions too. Grub2's ls command is similar to Linux's ls.
The cure is to restore Grub2 and this can be done by any Linux Live CD with Grub or booted up Linux from your PC.
The steps are
(1) Identify the partition that has Grub2, say this is sda3
(2) Mount /dev/sda3 on /mnt/sda3
(3) Bind the /dev of the current boot up Linux with the mounted /mnt/sda3/dev
(4) Do a Grub-install with the root directory pointed to the mounted partition and the destination of the MBR.
Typical Commands are
Code:
sudo su
mkdir /mnt/sda3
mount /dev/sda3 /mnt/sda3
bind /dev /mnt/sda3/dev
grub-install --root-directory=/dev/mnt/sda3 /dev/sda
use "su" instead of "sudo su" for non-Ubuntu and non-Debian family distros.
The reason of binding is inside /mnt/sda3/dev the deivice names will be empty as they only get populated on booting when each device can be detected.
Grub-install will work if /mnt/sda3 is "empty" because it will fill it up with the needed system files but you won't get the grub.cfg.
You can make a Grub2 or Grub1 (doctored version for Ext4 partition) floppy to fire up the Linux or any OS. A Linux is bootable even the Linux has no boot loader installed!