Grounding and protecting 12V Inverter
If one of the inverter's output legs can't be grounded, I suggest getting an isolation transformer and run the inverter through that. Then, tie one of the transformer output legs to neutral, and also bond it to ground at your distribution panel where your breakers reside.