Press the Power Button and immediately press and hold down the Command and the S keys as the machine starts up. This boots you into Single-user mode and you should see white text appear on the screen.
When you see the # Command prompt, type
/sbin/fsck-fy and hit the Return.
Now sit back & let your computer do its thing. This should take approximately 15 minutes or so. Depending on how messed up your computer is. Just be patient.
If and when you see the message
File System was modified repeat the steps above again & again until you hopefully see the message
no problems were found." When that happens type
reboot and hit Return again.
If these steps do not work then boot from your install disc to repair disk. To use the Install Mac OS X disc, insert the disc, and restart your computer while holding down the C key as it starts up.
Select your language.
Once on the desktop, select Utility in the menu bar.
Select Disk Utility.
Select the disk or volume in the list of disks and volumes, and then click First Aid.
Click Repair Disk.
From Apple's Knowledge Base
Mac OS X 10.6 Help: If your computer stops or delays while starting up
Mac OS X 10.6 Help: If you see a gray screen at startup
Message was edited by: CMCSK