Make a clone of the drive. There is lots of free and paid backup software out there that can do it. In order to restore, you either need a cloning/backup program that can create a rescue disk or you could clone from a working system, then swap out the OS drive for the cloned drive.