google browser sync can sync passwords, bookmarks, cookies etc. its awesome.
you install it in firefox, let it sync everything (may take a few minutes)then open your new firefox install somewhere, install the pluging, log in and let it sync back to the browser 🙂