mwolson.org Blog - /Personal

Mon, 18 Sep 2006

Re-installed Ubuntu on filesystem corruption

During my PLUG presentation on Friday, I noticed that my system was spewing some strange error messages when trying to compile an example C program. Later on that night, the thing would not even boot. I run fsck, and sure enough, the / partition was hosed. After watching fsck make countless hundreds of "repairs", most of the contents of the partition were gone. Time to re-install. For this partition, it doesn't seem to matter whether I use ext3 or reiserfs — the thing gets corrupted once a year regardless.

I did not have a Ubuntu CD on me, so I booted off of a Knoppix CD from 2004 and found some Ubuntu-specific bootstrap instructions. Side note: Ubuntu needs to make links to their install manuals more visible; it was difficult to find them. The bootstrap went fairly smoothly, though re-configuring everything was painful.

Good thing I keep most of my data and work on a separate partition called /stuff. This means that if my main partition goes under, all I have to do to get my data back is wipe / and restore a few symlinks like ~/Documents, ~/personal-site, and ~/proj.

After 2 days, I have the following things back to normal.

The following things are still on the TODO list.

Add a comment

Name: 
Your email address: 
Your website: 
 
Comment: