A piece of Romex to a nearby grounded receptacle will not suffice as a ground (provide an equipment grounding conductor) unless the power for the light fixture also came through that piece of Romex.
In addition (you mentioned that the house is fundamentally 2 wire), the box with the receptacle and its feed must have been upgraded (or newly installed) so as to be grounded.
Technically you may not add things onto a circuit that is not compliant for example is not grounded. So you really may not add the light fixture to an existing ungrounded circuit but rather would have to string a new circuit up from the panel.
Now you can run a separate ground wire from the item you want grounded all the way down to the panel, exactly, approximately, or vaguely following the route of the circuit conductors feeding that item. This separate EGC may or may not be in a piece of Romex but if it is, you might as well run it as a brand new circuit.
Generally you may leave existing ungrounded light fixtures ungrounded until you are ready to upgrade the circuits feeding them. They don't get touched a lot so as to make you concerned about electrocution although it is a good idea to flip off the breaker before changing the lamp (bulb).
In addition (you mentioned that the house is fundamentally 2 wire), the box with the receptacle and its feed must have been upgraded (or newly installed) so as to be grounded.
Technically you may not add things onto a circuit that is not compliant for example is not grounded. So you really may not add the light fixture to an existing ungrounded circuit but rather would have to string a new circuit up from the panel.
Now you can run a separate ground wire from the item you want grounded all the way down to the panel, exactly, approximately, or vaguely following the route of the circuit conductors feeding that item. This separate EGC may or may not be in a piece of Romex but if it is, you might as well run it as a brand new circuit.
Generally you may leave existing ungrounded light fixtures ungrounded until you are ready to upgrade the circuits feeding them. They don't get touched a lot so as to make you concerned about electrocution although it is a good idea to flip off the breaker before changing the lamp (bulb).