I like doing this:
So:
1. You had a bitcoin wallet.dat running on windows with password #1,
2. you copy the Bitcoin wallet to an Ubuntu machine,
3. on the Ubuntu machine you change the password to password #2,
4. you are surprised that when you boot back into Windows and the password is still #1?
It is not a good idea to use the same wallet.dat on multiple computers, they will go out-of-sync after many transactions or as soon as you start adding labels. A good way to lose money, as eventually one wallet won't have addresses that are in the other.
Deepceleron's razor #17: If something is worth saying to a noob, deepceleron has probably already said it.