Well, with all the brain trust of all these master electricians available....might as well tap into it with some stupid questions....
Background/my experience - have run 240v 50 amp circuit and SquareD breaker in its own sub box for a new hot tub, many new standard 120v breakers and lines (most recently while reworking and hiding all of our home theater wiring in-wall), troubleshot and CORRECTLY installed threeway switching on stairway lights covering the four levels of our home that the previous owner gave up on, etc. As the saying goes, I probably know just enough to be dangerous.
Issue - my house has 200 avmp service to the main box, and four sub boxes. The main box is below grade in a finishdd walk-out basement. Ground water infiltrates the inlet conduit. Previous owner's "solution" was drilling a small weep hole in conduit about two feet from the box, hang a wire wick from the hole, and let it drip into a dehumidifier well/bucket. In any case, over the years (built in 1984), there's been a significant amount of corrosion. The bottom right corner of the box is rusted through, and when I replaced a breaker for our septic system recently I noticed a lot of corrosion on the bus rail, too.
Time for a new box...and dumb questions...
1. Can I do this myself safely and legally (I live in the Republik of NY)?
2. Does the power company need to be notified and shut off the power outside my home?
3. How should I deal with the ground water issue?
Note/Addendum - the "Main Service Disconnect" switch/breaker is not in a separate box, but in the same box, above the two rows of breakers.
Flame suit is on... no worries.... fire away. I got shocked a few times as a kid while timing our VWs....HATED it....those 20kV secondaries really hurt. Ever since then, I trust nothing without verifying, so.... I AM careful, if not necessarily competent.