Earth ground your generator. Should have a earth ground point on it somewhere to attach to a earth stake.
Not saying it will definitely work via a extension lead though. Without using the house ground wiring.
Also make sure your using a pure sine inverter generator. One of those cheap Chinese things will cause all sorts of problems with delicate electronics.
Nick