Then click alt/option (shift on a PC) Restore or Upgrade (whatever you want to do) and point it to ~/Library/iTunes/iPhone Software Updates/iPhone1,2_3.0.1_7A400_Restore.ipsw (this is for iPhone 3G, it'll be 1,1 for 2G and 2,1 for 3GS).