Locate Disk Utility in Applications|Utilities. Once opened, select the HDD in which your Mac OS X is installed in the leftmost pane. In the FirstAid tab in the rightmost depressed pane, click repair permissions!
For repairing Disk, insert your Mac OS X Installer Disk no. 1
Restart. Press 'c' as soon as the white screen pops up after the gong and before the Apple logo! Select language. Ignore the installer and click on utilities in the menubar! Select Disk Utility and go about doing everything mentioned above except rather than clicking repair permissions, click repair disk (which wont be grayed out now!)