root(hd0,0) means partition where kernel is stored w.m. where /boot/ directory is stored hd0 = first IDE disk, 0 means first partition on this disk - you can use tab key to show alternatives setup(hd0) means where to install grub to MBR, on which disk - so in this case in the MBR on the first IDE disk