Bitcoin Forum
May 13, 2024, 11:16:33 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Installing bitcoin core on fedora on external SSD drive  (Read 125 times)
MrSilverhand (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 4


View Profile
April 11, 2022, 07:44:28 PM
Merited by o_e_l_e_o (4)
 #1

Hello there,

I just downloaded the latest stable bitcoin core for linux and I am trying to download the blockchain into a 1 TB external SSD (for the sake of not cluttering my own internal SSD that barely has enough space for the blockchain anyway...)

The problem is, bitcoin core doesn't let me choose the external drive.

I run Fedora 35

Could someone help please? thanks!
1715642193
Hero Member
*
Offline Offline

Posts: 1715642193

View Profile Personal Message (Offline)

Ignore
1715642193
Reply with quote  #2

1715642193
Report to moderator
1715642193
Hero Member
*
Offline Offline

Posts: 1715642193

View Profile Personal Message (Offline)

Ignore
1715642193
Reply with quote  #2

1715642193
Report to moderator
1715642193
Hero Member
*
Offline Offline

Posts: 1715642193

View Profile Personal Message (Offline)

Ignore
1715642193
Reply with quote  #2

1715642193
Report to moderator
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715642193
Hero Member
*
Offline Offline

Posts: 1715642193

View Profile Personal Message (Offline)

Ignore
1715642193
Reply with quote  #2

1715642193
Report to moderator
1715642193
Hero Member
*
Offline Offline

Posts: 1715642193

View Profile Personal Message (Offline)

Ignore
1715642193
Reply with quote  #2

1715642193
Report to moderator
1715642193
Hero Member
*
Offline Offline

Posts: 1715642193

View Profile Personal Message (Offline)

Ignore
1715642193
Reply with quote  #2

1715642193
Report to moderator
Crypto-DesignService
Copper Member
Full Member
***
Offline Offline

Activity: 208
Merit: 256


View Profile WWW
April 11, 2022, 08:05:17 PM
Last edit: April 12, 2022, 09:31:17 PM by Crypto-DesignService
Merited by o_e_l_e_o (4)
 #2

I'm not an expert on this but these threads might help and they all say the same thing, in which you need to manually specify it to a directory path.
https://bitcointalk.org/index.php?topic=2219597.0 - Can I install Bitcoin Core on an external hard drive?
https://bitcointalk.org/index.php?topic=2219597.0 - Running Bitcoin Core on External Hard Drive

Quote
'in your homefolder there is a dir called .bitcoin, in there is a file named bitcoin.conf

in the bitcoin.conf file (you might need to create it manually) you can specify the existing installation with the datadir option, e.g. datadir=/media/$user/BLOCKCHAIN/bitcoin

its important to point to the bitcoin folder, load bitcoin core with the bitcoind or bitcoin-qt command (sudo might be necessary) and bitcoin core will recognise your exisiting installation'
https://www.reddit.com/r/Bitcoin/comments/ejno8s/btc_node_need_help_with_ubuntu_and_btc_core/
BlackHatCoiner
Legendary
*
Online Online

Activity: 1512
Merit: 7366


Farewell, Leo


View Profile
April 11, 2022, 08:05:56 PM
Merited by o_e_l_e_o (4), ABCbits (2), RickDeckard (1)
 #3

The problem is, bitcoin core doesn't let me choose the external drive.
Can you access the external drive from Fedora? If yes, have you tried using the datadir parameter?
Code:
bitcoind --datadir=<your_external_drive_location>

It should be some sort of /mnt/tmp.

Edit: (datadir can also be set in the configuration file as rightly said above)

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
MrSilverhand (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 4


View Profile
April 12, 2022, 07:08:00 AM
Last edit: April 12, 2022, 03:03:59 PM by achow101
 #4

Thank you everyone. The problem is I haven't got a dir called .bitcoin nor a file called bitcoin.conf. I've installed bitcoin core via snap but it needs to run a first time to create all the directories I think



Okay, I managed to run it the first time and it created a config file in which I can change the datadir. It now tries to install it in the proper place when I rerun it, but thinks I only have 3 GB free... (I have a free terabyte)

https://imgur.com/a/tyuzsl3 for screenshot
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16655


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
April 12, 2022, 08:52:08 AM
 #5

Okay, I managed to run it the first time and it created a config file in which I can change the datadir. It now tries to install it in the proper place when I rerun it, but thinks I only have 3 GB free... (I have a free terabyte)
First: note that pruning is enabled if you don't untick the checkbox at the bottom. That means you won't store the full blockchain.
Are you sure /run/medida/salvo is your external drive? I haven't used Fedora in a while, but I'm not used to drives being mounted in /run.

ABCbits
Legendary
*
Offline Offline

Activity: 2870
Merit: 7497


Crypto Swap Exchange


View Profile
April 12, 2022, 11:31:50 AM
Merited by BlackHatCoiner (1)
 #6

Okay, I managed to run it the first time and it created a config file in which I can change the datadir. It now tries to install it in the proper place when I rerun it, but thinks I only have 3 GB free... (I have a free terabyte)

https://imgur.com/a/tyuzsl3 for screenshot

Since you mentioned that you install Bitcoin Core via Snap, have you checked whether you give Bitcoin Core permission to access your external drive?

█▀▀▀











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











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

Activity: 4
Merit: 4


View Profile
April 13, 2022, 01:36:26 PM
 #7

Aaaah, that was the problem ETFbitcoin. Thank you so much!
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!