IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Cool
Looks really nice. If I'd known that my meandering rant was going to keep such good company, I would have done a better job. ;->

I'll probably get around to fixing it up a bit, in fact -- such as supplying the omitted explanation of what the /mnt/recovery partition is all about. It's a 450 MB filesystem, normally unmounted, that I tend to create on all my servers and put there a duplicate of the basic system with all essential pieces required to do the machine's work. If the system's ever trashed -- e.g., the one time that I had a power failure just as all the libraries in /usr/lib were getting relinked -- then I have something already in place to jury-rig the system with until I can rebuild it.

Rick Moen
rick@linuxmafia.com


If you lived here, you'd be $HOME already.
New Re: Cool
Love ya Rick, but you make things too complex.
-drl
New Why to have a maintenance partition
Ross wrote:

Love ya Rick, but you make things too complex.

In this case, it's all about downtime.

When the debacle with /usr/lib happened, I had a big problem: The machine is a 2U rackmount box with no CD-ROM drive, and all I had to recover with was floppy disks. E.g., take your pick: Tom's Root/Boot, Slackware installation floppies, Debian installation floppies. So, I think I booted one of the former, to try to figure out what had happened (which took a while in itself).

When I finally did figure out that /usr/lib's contents had gotten massively mislinked, rebuilding the libs from the floppy-based maintenance system alone proved impossible, because there were just too many incompatibilities between the software packaged by Tom Oehser on the floppy and the HD-based facilities I was trying to repair. I couldn't even get dpkg and apt-get to work.

In the end, I was obliged to do things the hard way: I copied the package database (/var/lib/dpkg/status) over to another machine (along with /etc/* and other essentials) blew away the entire machine contents except for /home, /usr/local, and parts of /var, did a fresh Debian-base install, reset apt selections from the preserved package database, did apt-get fetches to get the installed packages back, copied the system configuration back, and was back in business.

But that took too damned long and too much trouble. Having a maintenance partition, ready to use and configured close enough to the in-service one, would have made the whole affair tremendously easier, so that's when I decided to have one around on critical machines from that point forward.

Rick Moen
rick@linuxmafia.com


If you lived here, you'd be $HOME already.
New What he said

I've similary got a "system2" install, though it's on a 132MB partition, and only uses 108 MB of that (excludes kernel). It consists of a very small subset of Debian, only 109 packages. Typically it's unmounted.

.\r\n\r\n

Thus, my recovery options for a system are typically:

\r\n\r\n
    \r\n
  • Single-user
  • \r\n
  • init=/bin/bash
  • \r\n
  • alternate kernel
  • \r\n
  • /system2
  • \r\n
  • Knoppix
  • \r\n
  • LNX-BBC
  • \r\n
  • Tom's Root Boot
  • \r\n
\r\n\r\n

Lots of fallback options.

\r\n\r\n

Might be interesting to compare what packages folks are including in rescue systems.

.
--\r\n
Karsten M. Self [link|mailto:kmself@ix.netcom.com|kmself@ix.netcom.com]\r\n
[link|http://kmself.home.netcom.com/|http://kmself.home.netcom.com/]\r\n
What part of "gestalt" don't you understand?\r\n
[link|http://twiki.iwethey.org/twiki/bin/view/Main/|TWikIWETHEY] -- an experiment in collective intelligence. Stupidity. Whatever.\r\n
\r\n
   Keep software free.     Oppose the CBDTPA.     Kill S.2048 dead.\r\n[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html]\r\n
     Best way to move to a new Debian box? - (drewk) - (30)
         steal karsten's -NT - (boxley)
         Wonder if you could... - (gdaustin)
         IANK, but I'd do a fresh install. - (Another Scott) - (4)
             That's what I'll be doing - (drewk) - (2)
                 old: dpkg --get-selections ---> new: dpkg --set-selections -NT - (folkert) - (1)
                     Right, typo, thanks -NT - (drewk)
             ICLRPD (new thread) - (kmself)
         Personally... - (folkert) - (17)
             Too much fiddling required - (drewk)
             I*A*K, and IDWGS - (kmself) - (12)
                 NM - (deSitter) - (1)
                     Advantages of Knoppix... - (kmself)
                 IANGNAIY - (drewk) - (9)
                     Partitioning - (rickmoen) - (7)
                         Thanks. Very nice. Someone please twikify this... -NT - (Another Scott) - (6)
                             Done. Please send gentle brickbats this way. - (Another Scott) - (5)
                                 Cool - (rickmoen) - (3)
                                     Re: Cool - (deSitter) - (2)
                                         Why to have a maintenance partition - (rickmoen) - (1)
                                             What he said - (kmself)
                                 Did some edits, see page. -NT - (kmself)
                     Re: IANGBAIM - (kmself)
             I knew this would involve knoppix some how.... - (gdaustin) - (2)
                 Actually... - (folkert) - (1)
                     Snork. You MEANT to write that (no edit)! Doubledamint! -NT - (FuManChu)
         Migration done - (drewk) - (1)
             "Spare Time?" You're a funny man, Mr. Drew. :-) -NT - (Another Scott)
         Re: Best way to move to a new Debian box? - (qstephens) - (2)
             Re: Best way to move to a new Debian box? - (rickmoen) - (1)
                 ICLRPD (new thread) - (Steve Lowe)

Is it me, or is the band getting bigger?
55 ms