Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: BTCGalaxyA12 on March 16, 2023, 07:10:33 AM



Title: [Question] Laptop reinstall, will assets be lost?
Post by: BTCGalaxyA12 on March 16, 2023, 07:10:33 AM
I am currently using a LENOVO Core i.5 Laptop. Let's say I have Electrum installed on my laptop and I unknowingly reinstall my laptop and forget to move my Electrum to a storage area that will not be deleted during the reinstallation process.
Will the assets in my Electrum wallet be deleted too?
If they are lost due to deletion during reinstallation, is there a solution to this if someone forgets to secure them?


Title: Re: [Question] Laptop reinstall, will assets be lost?
Post by: Charles-Tim on March 16, 2023, 07:16:59 AM
Will the assets in my Electrum wallet be deleted too?
It would be deleted, all files would be deleted.

If they are lost due to deletion during reinstallation, is there a solution to this if someone forgets to secure them?
The best advice is if you have your 12 words seed phrase which Electrum will always generate you when generate a wallet on it, back up the seed phrase in two or three locations and your coins are secure with yourself.

You have your seed phrase simply means you have your coins.


Title: Re: [Question] Laptop reinstall, will assets be lost?
Post by: Ryker1 on March 16, 2023, 07:23:31 AM
It could be but here is my question --do you have a 12 words phrase as your private key?
If you have this, you can simply restore your Electrum wallet without a problem, there should be an option [New/Restore] and select Restore to recover your wallet. You can also find it in your computer the wallet.file it could be there because only the app you uninstalled but the file was not.

Make sure you have downloaded it from the official website of Electrum. [ https://electrum.org/#download ]
Always remember it --always have a backup with your seed.


Title: Re: [Question] Laptop reinstall, will assets be lost?
Post by: Charles-Tim on March 16, 2023, 07:28:42 AM
It could be but here is my question --do you have a 12 words phrase as your private key?
This is correct because if you have your seed phrase, it can always generate your private key for you as long as you have access to it, but you are not correct by implying that seed phrase is private key.

You can also find it in your computer the wallet.file it could be there because only the app you uninstalled but the file was not.
Like I meant earlier, all files will be gone.


Title: Re: [Question] Laptop reinstall, will assets be lost?
Post by: hosseinimr93 on March 16, 2023, 07:30:27 AM
As mentioned above, you can easily recover your wallet using your seed phrase.
If you want to re-install your OS and you haven't already backed up your seed phrase, click on "Wallet" at top of the window and select "Seed".


Will the assets in my Electrum wallet be deleted too?
Take note that your bitcoin is on the blockchain, not in the electrum. No one can remove your bitcoin from the blockchain.


Title: Re: [Question] Laptop reinstall, will assets be lost?
Post by: BTCGalaxyA12 on March 16, 2023, 07:42:52 AM
Will the assets in my Electrum wallet be deleted too?
Take note that your bitcoin is on the blockchain, not in the electrum. No one can remove your bitcoin from the blockchain.
What do you mean?
Let's say I buy Bitcoin on a binance exchange and send it to an Electrum wallet to store it.
Can you explain so we can understand that we need to keep Bitcoin on the blockchain and not on Electrum.


Title: Re: [Question] Laptop reinstall, will assets be lost?
Post by: Charles-Tim on March 16, 2023, 07:47:50 AM
Let's say I buy Bitcoin on a binance exchange and send it to an Electrum wallet to store it.
Can you explain so we can understand that we need to keep Bitcoin on the blockchain and not on Electrum.
Bitcoin are stored on blockchain, an open ledger available to the public where you can see bitcoin transaction. That your seed phrase can generate the keys and addresses needed for your wallet or  coin recovery. If you import the seed phrase on Electrum, it will (connect with a central server and) synchronize with the blockchain and you will be able to access your coin.

Good to take note that Binance is centralized, it is not your coin on blockchain if you have coins on Binance, Binance have the private keys to the coins, they only give your addresses.


Title: Re: [Question] Laptop reinstall, will assets be lost?
Post by: nc50lc on March 16, 2023, 07:54:30 AM
Let's say I buy Bitcoin on a binance exchange and send it to an Electrum wallet to store it.
Can you explain so we can understand that we need to keep Bitcoin on the blockchain and not on Electrum.
They are talking about the Bitcoin "blockchain", and not "Blockchain online wallet" of blockchain(dot)com.
That's the huge set of files that most Bitcoin node have in their drive, it consist of "chain of blocks" where the transactions are recorded.

Electrum and any other Bitcoin wallets don't contain bitcoins, they only manage the coins accessible by the "private keys" stored in them.
And as an answer to your question, all of your wallet's "private keys" can be derived from your seed phrase so be sure to keep it safe.


Title: Re: [Question] Laptop reinstall, will assets be lost?
Post by: witcher_sense on March 16, 2023, 08:07:17 AM
What do you mean?
Let's say I buy Bitcoin on a binance exchange and send it to an Electrum wallet to store it.
Can you explain so we can understand that we need to keep Bitcoin on the blockchain and not on Electrum.
Assets always remain on the blockchain, it is simply impossible to "delete" them. When you make a transaction, what you actualy do is transfering ownership over these assets. The ownership is established through special keys called "private keys". For example, Binance has private keys to some coins stored on the blockchain. Given that they own these coins, they can make transactions with these coins and move them around between their wallets. Once they move these coins to a wallet to which they have no private keys (your wallet for instance), they essentially stop controlling these coins. Private keys is what that really matters. You can import them in almost any wallet you want and they will work. If you lose your private keys, your coins remain on the blockchain but you will lose the ability to move them because you stop owning them. Because, as mentioned above, the "ownership is established through special keys called "private keys".


Title: Re: [Question] Laptop reinstall, will assets be lost?
Post by: aylabadia05 on March 16, 2023, 08:33:50 AM
Will the assets in my Electrum wallet be deleted too?
And the answer is that it will be erased along with the reinstallation process.

If they are lost due to deletion during reinstallation, is there a solution to this if someone forgets to secure them?
This is no answer because forgetting is half of dying and it's the biggest "disease" that exists in us humans.
As far as I know, be it Electrum or any other wallet if we forget to save the seed phrase, the assets contained therein cannot be restored to a new device (laptop or computer).
But I think whoever we are before reinstalling a laptop or computer, the most important things on it will be known and efforts will be made to secure them first.

By the way, good question OP.


Title: Re: [Question] Laptop reinstall, will assets be lost?
Post by: lionheart78 on March 16, 2023, 08:03:33 PM
I am currently using a LENOVO Core i.5 Laptop. Let's say I have Electrum installed on my laptop and I unknowingly reinstall my laptop and forget to move my Electrum to a storage area that will not be deleted during the reinstallation process.
Will the assets in my Electrum wallet be deleted too?

In system installation, there are three option to choose if I am not mistaken.
1.  upgrade of the OS system
2.  installing the OS without reformatting the hardisk
3.  installing the OS with an option of reformatting the hardisk.

If you choose 1 and 2 your electrum files will not be deleted only the third option will delete your files since you formatting the harddisk will automatically delete the file.

If they are lost due to deletion during reinstallation, is there a solution to this if someone forgets to secure them?

You can recover your wallet if you have the private key, or the seed phrases.  There is also file recovery software to recover files even though the storage is formatted.  But it is useless if you failed to remember the password of the electrum JSON file (wallet).


Title: Re: [Question] Laptop reinstall, will assets be lost?
Post by: dkbit98 on March 16, 2023, 08:31:13 PM
Will the assets in my Electrum wallet be deleted too?
Everything will be deleted when you reinstall operating system, it's common sense, but before that you should have physical backup of your private keys or seed words written on paper.
You can always recover your funds after installing Electrum again and importing your backup, so there is no need to worry if you did everything correctly.
For sake of better security I would encrypt hard drive before installing new operating system, and use separate laptop for Bitcoin.

If they are lost due to deletion during reinstallation, is there a solution to this if someone forgets to secure them?
It's one thing to reinstall operating system on laptop, and totally different to reinstall only Electrum wallet, but don't really on any keys stored in digital form on your hard drive.


Title: Re: [Question] Laptop reinstall, will assets be lost?
Post by: serveria.com on March 17, 2023, 07:21:10 PM
I am currently using a LENOVO Core i.5 Laptop. Let's say I have Electrum installed on my laptop and I unknowingly reinstall my laptop and forget to move my Electrum to a storage area that will not be deleted during the reinstallation process.
Will the assets in my Electrum wallet be deleted too?
If they are lost due to deletion during reinstallation, is there a solution to this if someone forgets to secure them?

No, the coins won't be deleted, just the wallet will be. To recover, you can recreate your wallet using a private key or run a file recovery software. There's a fair chance you can get your wallet.dat back.


Title: Re: [Question] Laptop reinstall, will assets be lost?
Post by: dzungmobile on March 18, 2023, 04:22:54 PM
Make sure you have downloaded it from the official website of Electrum. [ https://electrum.org/#download ]
Download and verify your wallet.
Guide to safely download and verify Electrum wallet (https://bitcointalk.org/index.php?topic=5240594.0)

Quote
Always remember it --always have a backup with your seed.
Always backup your wallet offline and not only in technical devices like desktop computer, laptop, mobile phone, USB sticks as you will fall to OP case.

Do not store backup in gmail, on Telegram, Facebook, Twitter messages, third party storage services like Google Drive, Dropbox. Your accounts can be hacked or those platforms can have data leaks.

If they have data leaks, they won't compensate your loses.


Title: Re: [Question] Laptop reinstall, will assets be lost?
Post by: serveria.com on March 18, 2023, 06:24:34 PM
I am currently using a LENOVO Core i.5 Laptop. Let's say I have Electrum installed on my laptop and I unknowingly reinstall my laptop and forget to move my Electrum to a storage area that will not be deleted during the reinstallation process.
Will the assets in my Electrum wallet be deleted too?
If they are lost due to deletion during reinstallation, is there a solution to this if someone forgets to secure them?
No, the coins won't be deleted, just the wallet will be. To recover, you can recreate your wallet using a private key or run a file recovery software. There's a fair chance you can get your wallet.dat back.

Personally i disagree with "fair chance" considering these condition,
1. Many laptop these days use SSD which has capacity ranging from 128GB to 256GB.
2. SSD has TRIM feature which used to permanently remove deleted files. IIRC Windows run it once a week.
3. Windows 11 has 64GB storage requirement[1], while Ubuntu 22.04 LTS has 25GB recommended storage requirement[2]. Combining that and other written file (e.g. installed application or swapfile), the chance dropped considerably.

[1] https://www.microsoft.com/en-us/windows/windows-11-specifications (https://www.microsoft.com/en-us/windows/windows-11-specifications)
[2] https://ubuntu.com/download/desktop (https://ubuntu.com/download/desktop)

Yes, you are correct unfortunately. I was doing some file recovery on a daily basis some time ago and success rate was quite high. But man, time flies and I realized that it happened ~10 years ago and most drives were like 2TB HDDs and barely 10-20% full. So I have to agree, with TRIM and smaller SSD sizes you're in trouble!


Title: Re: [Question] Laptop reinstall, will assets be lost?
Post by: BTCGalaxyA12 on March 19, 2023, 02:18:41 PM
Make sure you have downloaded it from the official website of Electrum. [ https://electrum.org/#download ]
Always remember it --always have a backup with your seed.
For this one, I know that installing from the official website always provides more value. The same goes for the advice to always keep the seed phrase safe.



Thanks for all the answers. When I install my laptop, the most important thing I need to do for assets stored in wallets like Electrum is to make sure the seed phrase is saved which I will retrieve again to back up by entering it.

For the sync process, how long does it take to complete (100%) according to your experience.


Title: Re: [Question] Laptop reinstall, will assets be lost?
Post by: hosseinimr93 on March 19, 2023, 02:23:47 PM
For the sync process, how long does it take to complete (100%) according to your experience.
Electrum is a SPV wallet which means that you don't have to download the full blockchain.
In electrum, you connect to a server and get only the transactions data of your own wallet, so that it can display your transactions history, the correct balance of your wallet and the list of your UTXOs.
If you have made/received many transactions before, it may take a few minutes. If you have never made any transaction, it would take a few seconds.


Title: Re: [Question] Laptop reinstall, will assets be lost?
Post by: LoyceV on March 20, 2023, 06:37:05 AM
Thanks for all the answers. When I install my laptop, the most important thing I need to do for assets stored in wallets like Electrum is to make sure the seed phrase is saved which I will retrieve again to back up by entering it.
Note that you'll also lose your address Labels if recover your funds from seed. Depending on how you use Electrum, that may be bad for privacy or you may need payment records for taxes or something.

I unknowingly reinstall my laptop
How does that happen?

Quote
and forget to move my Electrum to a storage area that will not be deleted during the reinstallation process.
May I recommend to make regular backups of all important data? "Unknowingly reinstalling" isn't very likely (for most users), but hard drives fail and you wouldn't be the first to lose data.


Title: Re: [Question] Laptop reinstall, will assets be lost?
Post by: BTCGalaxyA12 on March 20, 2023, 09:19:27 AM
I unknowingly reinstall my laptop
How does that happen?
No. That's not true LoyceV. It's just an example or a simulation of what I call if under certain conditions it happens. For now I'm sticking with an old Laptop (LENOVO Core i.5) and a small amount of assets are still safe in Electrum installed.

May I recommend to make regular backups of all important data? "Unknowingly reinstalling" isn't very likely (for most users), but hard drives fail and you wouldn't be the first to lose data.
Of course, it's okay because it's a very good suggestion to keep the asset safe.