An earthquake of magnitude 6.2 struck off the Indonesian island of Lombok on Thursday, the United States Geological Survey said, but there were no immediate reports of casualties or damage.