Bitcoin Forum

Bitcoin => Electrum => Topic started by: breakmegently on September 21, 2017, 09:05:12 AM



Title: Anyone know exact file location/path wallet.dat on Mac?
Post by: breakmegently on September 21, 2017, 09:05:12 AM
Hi there,

Trying to recover an old HDD (2015). Held some BTC in the Electrum wallet on it and as I used it as a hot wallet, never saved the seed. Was unlucky enough to send some BTC to my hot wallet to be sent to my cold storage, but at that moment my HDD failed. For recovery purposes where could I find the wallet.dat file on mac? The FAQ on the website gives info on how to access the folder on a working mac, but not where to actually find the files on the HDD.

Thanks :)


Title: Re: Anyone know exact file location/path wallet.dat on Mac?
Post by: HCP on September 21, 2017, 10:40:55 AM
So you're looking for precise sectors or something? ??? Unfortunately, it'll most likely be different for every HDD/OS...

It all depends on partition structure and where the OS has decided to store the data within the partition/file system when it was being persisted to the disk... If you can't recover the file system because the HDD failed and it was all corrupted, you're going to struggle to be able to find a "wallet.dat" as such. Without the file system (which is essentially a map of where everything is stored on the disk), it's all just a collection of 1s and 0s :-\

Even doing a sector by sector scan looking for certain byte sequences is not 100% accurate as their is no guarantee that the data was actually stored on the disk in a contiguous manner.


Title: Re: Anyone know exact file location/path wallet.dat on Mac?
Post by: crairezx20 on September 21, 2017, 05:22:17 PM
You can try to locate your wallet.dat here
Code:
~/Library/Application Support/Bitcoin/
For more information for file directory you can check it here https://en.bitcoin.it/wiki/Data_directory
If you can find it in bitcoin folder try to find electrum in Application Support in mac OS..


Title: Re: Anyone know exact file location/path wallet.dat on Mac?
Post by: LightningGoats on September 21, 2017, 08:17:02 PM
It is in a folder named "/.electrum"  in your home folder according to docs.electrum. org /en/latest/faq.html#where-is-my-wallet-file-located
(extra spaces as I can't post links as a new user. I'm not sure it was stored there in 2015, but it's a place to look.


Title: Re: Anyone know exact file location/path wallet.dat on Mac?
Post by: Cereberus on September 22, 2017, 04:04:57 PM
It is in a folder named "/.electrum"  in your home folder according to docs.electrum. org /en/latest/faq.html#where-is-my-wallet-file-located
(extra spaces as I can't post links as a new user. I'm not sure it was stored there in 2015, but it's a place to look.

It is definitely in the /.electrum folder in any Unix based operating systems. Use the file explorer as I am not that used to Mac OS, but in Linux with any file explorer you are able to find it very quickly.