Your boyfriend should work with the consulate of his nation of origin. He won't be the first person who has come to them with an expired passport and no I.D.
This is a U.S. forum, so even if we knew what country was involved we would be poorly positioned to say more. If your boyfriend needs assistance dealing with his own government, he should consider hiring a lawyer from his nation of origin to assist him.

