Since running 12.04 LTS, my computer has experienced two sudden losses of power; one due to my ham-fisted attempt to reboot and one due to a battery-less power cable disconnection. Both times there were booting problems directly after that the automatic fsck could not fix. I reinstalled after the first boot error and that fixed the problem but the second time I decided to try to figure out what the actual problem was. I learned a lot by messing around with the hard drive and OS trying to figure out what the heck was wrong but the two year old hard drive was unable to survive any more abuse and kicked the bucket before I found an answer. I have purchased a replacement but I am still looking for an autopsy and a way to prevent this from happening in the future.
- What are some causes of boot problems after a sudden power off? The hard drive containing the OS not being properly unmounted? Could a forced shut down actually cause the hard drive itself to become confused? How does a forced shut down affect the journaling of an ext4 file system?
- How can Ubuntu be configured to minimize damage from a sudden shut down? The obvious answer being "Don't shut down by holding the power button, stupid" and though I have found some alternate ways to force a misbehaving session to terminate, sudden shut downs are not always caused intentionally by the user. Running Ubuntu on a laptop also increases the chances of a less-than-graceful power off. If there are things within 12.04 (either OS settings or settings of the hard drive itself) that could be configured to minimize the damage, I would be grateful to be made aware of them.