Yes. 500GB is my external hdd where my second grub is.
The bootinfo script output shows you have Ubuntu and Grub2 installed on your 160GB drive and also Grub2 installed on the 500GB drive. So you are having these problems when you set the 500GB drive to first boot priority and try to boot??
Yes i tried with (hd1, 6). The thing is, as i typed above the "ls" command from grub2 command line shows the partitions as (hd0, msdosX).
I'm not sure what your tried? (hd1,6)?? No the external disk would not necessarily be hd0, in fact it usually is not.
Basically yes. I used (i am using grub 1.99)
Looks like you copied the grub.cfg file from sda1??
grub-install --boot-directory=/media/boot/ --no-floppy /dev/sdb
but that thing is not the error. Error is even if I remove bootfrom parameter it doesn't show because it keeps saying "disk not found"... Is there any other small live cds that i can try to check if I can set up grub??
I would suggest you change the linux line in your grub.cfg file, the bootfrom=/dev/hda6 to /dev/sdb6 and if that doesn't work /dev/sda6.