Easwar Hariharan wrote:
What we are confused about whether grub counted partitions from 0 or from 1?Both of them are debatable since if grub counted partitions from zero,hda0 is understood but hda9 is not since I have only 9 partitions,no 10th partition which would show up as hda9. And if Grub counted partitions from 1,how does hda0 come in?There cannot be a -1 partition,AFAIK. ;)
Its not debatable. Grub reads from 0 whereas /dev/hdxn begins from a1. So (hd0,0) for grub is /dev/hda1 and (hd0,8) is /dev/hda9.
Mehul had accidentally made a typo. Do go through the link I had posted. It clears a lot of doubts. :)
http://www.troubleshooters.com/linux/grub/grub.htm