The generator fuel pick up line in the gas tank doesn't go down to the bottom of the tank. Usually, only to 1/4 of a tank of gas. In other words, don't let your fuel get below 1/4 of a tank or the generator will not only quit, but not start. That's so you don't run out of gas due to running the generator while your in the middle of no where.
By the way, where is no where and how do I find the middle of it?
I had a similar experience with the genny quitting, it turned out to be the wrong grade of oil, it would get hot and fool the oil pressure gauge into thinking there wasn't enough oil.