This page has an excellent description of how a hardrive partition is set out, how it can fail and how it should be fixed. This tutorial has some excellent diagrams.