You need two iPhone 2Gs or one spare logic-board.
Open iPhone 2G disconnect the communication board from the logic-board and put Your spare logic-board. Restore to 3.0 or 3.01..
Then return Your old logic-board.
Your data will be there.
Then just go and upgrade to 3.0.
And here You go.