Quick home electric question

Thanks guys
Last thing I want to do is create a dangerous situation, and I fully understand not wanting to rely on me to remember to the the right switches in the right order



From what I can tell the main is coming in above the small box
From what I can tell that is perhaps the last remains outside wall of the original footprint
I believe the house was build in the 70s, and added on constantly (I'll see if I can find some date stamps on the different boxes)

The annoying thing is that the "main" box is on the north side of the house, in the basement

The generator sits under carport, clear on the south side of the house
I would like to keep it there, to keep it out of the elements

I'll look into one of those "whole house doohickeys"