I did it this way
Invoked Grub,
Set the GRUB's root device1 to the partition containing the boot directory, like this:
# grub> root (hd0,0)
If you are not sure which partition actually holds this directory, use the command find,This will search for the file name /boot/grub/stage1 and show the devices which contain the file.
# grub> find /boot/grub/stage1
#grub> setup (hd0) --This command will install the GRUB boot loader on the Master Boot Record (MBR) of the first drive.
If you want to put GRUB into the boot sector of a partition instead of putting it in the MBR, specify the partition into which you want to install GRUB like this:
#grub> setup (hd0,0)
Cheers
Pankaj