- Understanding Thailand Politics
- Ray Ozzie: by Steven Levy
- Kitchen Installed
- A Hole in the Wall
- Bathroom: Ready for Rendering
- Private Angus Hodge
- Hodge Family History Update
- Kitchen Destruction
- “It’s Not a Sad Time”
- Field Marshal Melchett
- A Pragmatic Proposal: ISP Filters
- Edna Dutschke
- Steve Ballmer at CEDA 7th November 2008
- Liam and and I at Barcamp Sydney 4
- Bathroom Renovation: The Destruction
- USofA… just when I about to love you again
- Microformat hCard
- Tech support. Yes, this is so close to reality
- Adobe InDesign CS4 Oddity
- Live Mesh: MacOS, Windows Mobile
« Enron, the Emails | Main | Parallels Dimension »
Climb every Mountain
By Nick Hodge | December 19, 2006
Spent the last week and this week on a personal Ruby on Rails project. This involves subversion (as a version management system), mongrel, capistrano, ftp, postgresql, some smarts with DNS, exim and a two-day complete re-install of Debian. That re-install was not expected.
Unix has this wonderful and powerful concept: the root user knows what they are doing at all times. 99.9% of the time this is a safe assumption. 0.1% of the time you type "yes" instead of "no" - removing the kernel in this fashion is highly not recommended.
How do you fix a broken Linux install?
Stage one involved making what is known as a LiveCD, or bootable Linux. I decided to download and boot from a Knoppix LiveCD. A quick restart from the CD, and I could see that the data was intact.
Stage two was installing a new 350GB HD for the data to bring the server up to 0.5TB of storage. The old faithful Unix standbys of dd, fsck from the old 200GB to the new 350GB and start the difficult work.
Stage three is a full Debian reinstall onto the old 200GB with 0.5Gb download of the most current packages, and re-apt on a 686 rather than 386 kernel. This didn't take too long. Re-configuring all the servers and services: dns, dhcp, CUPS, Samba, Apache, subversion, rails+gems, python took most of the weekend.
Stage four: backup scripts. 0.5TB is too much of a mountain of data to lose.
Possibly Related Posts:
- lol.
- AUReMIX07 Silverlight Video
- Frankinstall Tweaking Ruby Mongrels
- VoIP is probably easier than I thought
- Our Virtual Future: There are Cycles to Burn















December 19th, 2006 at 11:50 pm
[...] Original post by Nick Hodge [...]