Bitcoin Forum
April 25, 2024, 05:22:41 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Migrating OS; Bitcoin Core from Win to Linux  (Read 190 times)
Libyanrav9 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 21


View Profile
March 28, 2022, 06:47:36 PM
Merited by LoyceV (4), Welsh (4), o_e_l_e_o (4), Slow death (3), BlackHatCoiner (3), ABCbits (2), mocacinno (1)
 #1

Hi Bitcoiners:)

I am trying to get my full node optimized for inbound connections by using Tor but also switching to Linux as recommended by many people for security and technical support.
Any information regarding the following will be very appreciated!

  • Can I use the Windows version of blockchain data in Linux? Or do I have to download it all over after switching OS?
  • Could you share your personal take on running Bitcoin node on Linux?
  • Also is it possible to copy the blockchain data multiple times to different HDDs and send them to another country where the internet is too inconvenient for the IBD, to run a full node there easier and faster?
  • Is Bitnodes.io 100% accurate about quantitative and geographical data of nodes? For ex. it shows zero nodes in Turkey and Libya. Is this actually true or not necessarily so in case like the use of Tor / VPN hides or manipulates such location data?

Please pardon me for any brain pain, as I am a non technical person:)

BTC
1714065761
Hero Member
*
Offline Offline

Posts: 1714065761

View Profile Personal Message (Offline)

Ignore
1714065761
Reply with quote  #2

1714065761
Report to moderator
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714065761
Hero Member
*
Offline Offline

Posts: 1714065761

View Profile Personal Message (Offline)

Ignore
1714065761
Reply with quote  #2

1714065761
Report to moderator
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
March 28, 2022, 06:58:07 PM
Merited by LoyceV (4), mocacinno (1), ABCbits (1), Libyanrav9 (1)
 #2

  • Can I use the Windows version of blockchain data in Linux? Or do I have to download it all over after switching OS?


You can use the same blocks data as the data should be the same. I'm not sure if it still needs to reindex though wehn you move the data directory (some files might be incompatible - particularly since Linux relies heavily on assigning files permissions and windows relies on assigning them to the user).

  • Could you share your personal take on running Bitcoin node on Linux?


    If you've not used Linux much, you might find it difficult to use. I think a lot of people struggle with the initial dependencies and some parts of the install (like database versions) can be confusing to understand for some distros (which one did you plan to use)?

    • Also is it possible to copy the blockchain data multiple times to different HDDs and send them to another country where the internet is too inconvenient for the IBD, to run a full node there easier and faster?


    Yes it's possible to distribute the blockchain this way. It's also possible to download the blockchain from satellites afaik (ref: https://blockstream.com/satellite/).


    • Is Bitnodes.io 100% accurate about quantitative and geographical data of nodes? For ex. it shows zero nodes in Turkey and Libya. Is this actually true or not necessarily so in case like the use of Tor / VPN hides or manipulates such location data?

    Afaik tor nodes will probably fall under another category of their own. There's probably a good chance a lot of aws services are just listed as being from the US too as well as many European IPs from major cities (some share the same group of IP addresses and are harder to determine the location of). [/list]
    BitMaxz
    Legendary
    *
    Offline Offline

    Activity: 3234
    Merit: 2942


    Block halving is coming.


    View Profile WWW
    March 28, 2022, 11:50:25 PM
    Merited by ABCbits (1), Libyanrav9 (1)
     #3

    Adding this from the post above on the first question yes the block data from Linux should be compatible with Windows just make sure to copy both chainstate folder and block folder and transfer it to your Windows OS.

    And according to Achow101 from this post, it's advisable to install the same version of Bitcoin core due to the different database versions.

    You can read this thread below it might answer some of your doubts.

    - https://bitcointalk.org/index.php?topic=2321137.0

    █▀▀▀











    █▄▄▄
    ▀▀▀▀▀▀▀▀▀▀▀
    e
    ▄▄▄▄▄▄▄▄▄▄▄
    █████████████
    ████████████▄███
    ██▐███████▄█████▀
    █████████▄████▀
    ███▐████▄███▀
    ████▐██████▀
    █████▀█████
    ███████████▄
    ████████████▄
    ██▄█████▀█████▄
    ▄█████████▀█████▀
    ███████████▀██▀
    ████▀█████████
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    c.h.
    ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    ▀▀▀█











    ▄▄▄█
    ▄██████▄▄▄
    █████████████▄▄
    ███████████████
    ███████████████
    ███████████████
    ███████████████
    ███░░█████████
    ███▌▐█████████
    █████████████
    ███████████▀
    ██████████▀
    ████████▀
    ▀██▀▀
    HCP
    Legendary
    *
    Offline Offline

    Activity: 2086
    Merit: 4316

    <insert witty quote here>


    View Profile
    March 29, 2022, 06:09:56 AM
     #4

    Yes, it is entirely possible to copy all the blockchain data from one node to another... I did exactly this when setting up an umbrel node on a Raspberry Pi. I copied all the blocks from a Windows box, onto the harddrive being used by the Raspberry Pi/Umbrel.

    As noted, make sure you also copy the chainstate, or you'll have to wait for you new node to reindex the entire blockchain (can take some hours depending on your hardware).

    I second the recommendation to ensure that you initially use the same version of Bitcoin Core to avoid any database version issues, but by all means update afterwards once you've confirmed that everything has transferred OK and is working correctly.

    █████████████████████████
    ████▐██▄█████████████████
    ████▐██████▄▄▄███████████
    ████▐████▄█████▄▄████████
    ████▐█████▀▀▀▀▀███▄██████
    ████▐███▀████████████████
    ████▐█████████▄█████▌████
    ████▐██▌█████▀██████▌████
    ████▐██████████▀████▌████
    █████▀███▄█████▄███▀█████
    ███████▀█████████▀███████
    ██████████▀███▀██████████
    █████████████████████████
    .
    BC.GAME
    ▄▄░░░▄▀▀▄████████
    ▄▄▄
    ██████████████
    █████░░▄▄▄▄████████
    ▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
    ▄███▄█▄▄██████████▄████▄████
    ███████████████████████████▀███
    ▀████▄██▄██▄░░░░▄████████████
    ▀▀▀█████▄▄▄███████████▀██
    ███████████████████▀██
    ███████████████████▄██
    ▄███████████████████▄██
    █████████████████████▀██
    ██████████████████████▄
    .
    ..CASINO....SPORTS....RACING..
    █░░░░░░█░░░░░░█
    ▀███▀░░▀███▀░░▀███▀
    ▀░▀░░░░▀░▀░░░░▀░▀
    ░░░░░░░░░░░░
    ▀██████████
    ░░░░░███░░░░
    ░░█░░░███▄█░░░
    ░░██▌░░███░▀░░██▌
    ░█░██░░███░░░█░██
    ░█▀▀▀█▌░███░░█▀▀▀█▌
    ▄█▄░░░██▄███▄█▄░░▄██▄
    ▄███▄
    ░░░░▀██▄▀


    ▄▄████▄▄
    ▄███▀▀███▄
    ██████████
    ▀███▄░▄██▀
    ▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
    ▄███▀▀▀████▄▄██▀▄███▀▀███▄
    ███████▄▄▀▀████▄▄▀▀███████
    ▀███▄▄███▀░░░▀▀████▄▄▄███▀
    ▀▀████▀▀████████▀▀████▀▀
    LoyceV
    Legendary
    *
    Offline Offline

    Activity: 3290
    Merit: 16550


    Thick-Skinned Gang Leader and Golden Feather 2021


    View Profile WWW
    March 29, 2022, 08:04:26 AM
    Merited by ABCbits (1), BlackHatCoiner (1)
     #5

    Could you share your personal take on running Bitcoin node on Linux?
    I've been doing it for years, and it works fine. But if you're new to Linux, it might be a steep learning curve. For security, in general Linux is considered better than Windows, but it doesn't do miracles: you can still mess up and lose your coins or data. Linux isn't as forgiving as Windows. Or better: Linux does what you tell it to do, without asking if you're sure about it. The wrong command can destroy your data, so make sure you know what you're doing before doing it.

    █▀▀▀











    █▄▄▄
    ▀▀▀▀▀▀▀▀▀▀▀
    e
    ▄▄▄▄▄▄▄▄▄▄▄
    █████████████
    ████████████▄███
    ██▐███████▄█████▀
    █████████▄████▀
    ███▐████▄███▀
    ████▐██████▀
    █████▀█████
    ███████████▄
    ████████████▄
    ██▄█████▀█████▄
    ▄█████████▀█████▀
    ███████████▀██▀
    ████▀█████████
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    c.h.
    ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    ▀▀▀█











    ▄▄▄█
    ▄██████▄▄▄
    █████████████▄▄
    ███████████████
    ███████████████
    ███████████████
    ███████████████
    ███░░█████████
    ███▌▐█████████
    █████████████
    ███████████▀
    ██████████▀
    ████████▀
    ▀██▀▀
    mocacinno
    Legendary
    *
    Offline Offline

    Activity: 3374
    Merit: 4917


    https://merel.mobi => buy facemasks with BTC/LTC


    View Profile WWW
    March 29, 2022, 08:08:47 AM
    Merited by BlackHatCoiner (2), ABCbits (1), Libyanrav9 (1)
     #6

    • Could you share your personal take on running Bitcoin node on Linux?


    All other answers were answered, but this one is rather personal... So i tought i'd chip in.
    I'm a unix sysadmin (it's my daytime job), so i might not be the best reference, but i find running a full node on *nix much easyer to setup than running one on windows.

    If you're stuck, i helped n0nce gathering all info he needed to write this nice topic: https://bitcointalk.org/index.php?topic=5366854.0
    It was losely based on this topic written by me (a long time ago): https://bitcointalk.org/index.php?topic=5217198.0

    Both topics are much wider than your usecase, but they do describe (amongst other things) how to setup a full node on openSuse and Centos...
    Installing a full node on ubuntu (which seems to be more or less the most popular "newbie" distro) is even easyer: https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md#ubuntu--debian (these are the complete build instructions)

    I usually compile the reference client myself, but you can also just opt to download the pre-built binary version aswell (it does require some trust regarding to the person building the binary version).
    https://bitcoin.org/en/download

    █▀▀▀











    █▄▄▄
    ▀▀▀▀▀▀▀▀▀▀▀
    e
    ▄▄▄▄▄▄▄▄▄▄▄
    █████████████
    ████████████▄███
    ██▐███████▄█████▀
    █████████▄████▀
    ███▐████▄███▀
    ████▐██████▀
    █████▀█████
    ███████████▄
    ████████████▄
    ██▄█████▀█████▄
    ▄█████████▀█████▀
    ███████████▀██▀
    ████▀█████████
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    c.h.
    ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    ▀▀▀█











    ▄▄▄█
    ▄██████▄▄▄
    █████████████▄▄
    ███████████████
    ███████████████
    ███████████████
    ███████████████
    ███░░█████████
    ███▌▐█████████
    █████████████
    ███████████▀
    ██████████▀
    ████████▀
    ▀██▀▀
    ABCbits
    Legendary
    *
    Offline Offline

    Activity: 2856
    Merit: 7406


    Crypto Swap Exchange


    View Profile
    March 29, 2022, 11:52:14 AM
    Merited by Libyanrav9 (1)
     #7

    • Could you share your personal take on running Bitcoin node on Linux?

    As regular Linux user, i have easy time running Bitcoin node on Linux and i never encounter problem due to Linux.

    • Can I use the Windows version of blockchain data in Linux? Or do I have to download it all over after switching OS?

    You can use the same blocks data as the data should be the same. I'm not sure if it still needs to reindex though wehn you move the data directory (some files might be incompatible - particularly since Linux relies heavily on assigning files permissions and windows relies on assigning them to the user).

    Based on my past experience, there's no problem with file/directory permission when i move from Windows to Linux.

    • Could you share your personal take on running Bitcoin node on Linux?

    If you've not used Linux much, you might find it difficult to use. I think a lot of people struggle with the initial dependencies and some parts of the install (like database versions) can be confusing to understand for some distros (which one did you plan to use)?

    Might be true with other application. But Bitcoin Core on linux is easy to use. You just need to download archive file, extract it and double click bitcoin-qt.

    █▀▀▀











    █▄▄▄
    ▀▀▀▀▀▀▀▀▀▀▀
    e
    ▄▄▄▄▄▄▄▄▄▄▄
    █████████████
    ████████████▄███
    ██▐███████▄█████▀
    █████████▄████▀
    ███▐████▄███▀
    ████▐██████▀
    █████▀█████
    ███████████▄
    ████████████▄
    ██▄█████▀█████▄
    ▄█████████▀█████▀
    ███████████▀██▀
    ████▀█████████
    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
    c.h.
    ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
    ▀▀▀█











    ▄▄▄█
    ▄██████▄▄▄
    █████████████▄▄
    ███████████████
    ███████████████
    ███████████████
    ███████████████
    ███░░█████████
    ███▌▐█████████
    █████████████
    ███████████▀
    ██████████▀
    ████████▀
    ▀██▀▀
    Libyanrav9 (OP)
    Newbie
    *
    Offline Offline

    Activity: 8
    Merit: 21


    View Profile
    March 30, 2022, 03:08:35 AM
     #8


    jackg,  BitMaxz,  HCP,  LoyceV,  mocacinno,  ETFbitcoin Thank you all so much for sparing your valuable time and sharing knowledge!
    I will post updates/Qs as I progress.

    Cheers:)
    BTC
    Pmalek
    Legendary
    *
    Offline Offline

    Activity: 2744
    Merit: 7104



    View Profile
    April 02, 2022, 07:17:45 PM
    Merited by Libyanrav9 (1)
     #9

    Adding this from the post above on the first question yes the block data from Linux should be compatible with Windows just make sure to copy both chainstate folder and block folder and transfer it to your Windows OS.
    OP is looking to migrate from Windows to Linux, so any data he has needs to be copied from his Windows machine to Linux. Since the data is compatible (I didn't actually it was), it doesn't matter.

    @Libyanrav9
    If you still want a Windows-like operating system, you can try Linux Mint. It's often recommended for those trying out a Linux distro for the first time.   

    .
    .BLACKJACK ♠ FUN.
    █████████
    ██████████████
    ████████████
    █████████████████
    ████████████████▄▄
    ░█████████████▀░▀▀
    ██████████████████
    ░██████████████
    ████████████████
    ░██████████████
    ████████████
    ███████████████░██
    ██████████
    CRYPTO CASINO &
    SPORTS BETTING
    ▄▄███████▄▄
    ▄███████████████▄
    ███████████████████
    █████████████████████
    ███████████████████████
    █████████████████████████
    █████████████████████████
    █████████████████████████
    ███████████████████████
    █████████████████████
    ███████████████████
    ▀███████████████▀
    █████████
    .
    Pages: [1]
      Print  
     
    Jump to:  

    Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!