I recently installed a new version of Windows on a new HDD, but I'm having problems getting my old wallet.dat to work.
Here's what I've done:
- Install latest Bitcoin Core.
- Copied over the blocks and chainstate folders from the old hard drive.
- Run Bitcoin Core and allowed it to sync up to date.
- Closed Bitcoin Core
- Removed Wallet.dat from my roaming\Bitcoin folder
- Copied Wallet.dat from old HDD to the roaming\Bitcoin folder
- Run Bitcoin Core with '-rescan' parameter.
When I run the software, I get the following message:
Warning: Wallet.dat corrupt, data salvaged! Original wallet.dat saved as wallet.{timestamp}.bak in C:\blah\de\blah
There's nothing wrong with the old HDD, or the previous wallet. In fact I could boot up the previous Windows install, but it's a ballache for various reasons involving symlinks and other such non-standard tomfoolary.
On subsequent runs, I receive the following message:
Warning: error reading wallet.dat! All keys read correctly but transaction data or address book entries might be missing or incorrect.
So now I can see my coins in the wallet, and my transaction history - it looks like it's worked, except I can't spend any of the coins. I get a message stating:
The transaction was rejected! This might happen if some of the coins in your wallet were already spent, such as if yuo used a copy of wallet.dat and coins were spent in the copy but not marked as spent here.
I've not made any use of the wallet since installing my new version of Windows, it's all up to date on the old HDD... so I can't see how it would be listing coins that have already been spent... but the start up message suggests that tansactions are missing from my history, so perhaps I have less than I think?
Can anyone shed light onto why this process hasn't worked?
Thanks.