Author

Topic: Running a Full Bitcoin Core Node on a Raspberry (need to move location) (Read 92 times)

sr. member
Activity: 462
Merit: 603
Pizza Maker 2023 | Bitcoinbeer.events
Hi everyone,

I'm trying to run a node on my raspberry pi. I followed this simple guide: https://snapcraft.io/install/bitcoin-core/raspbian.
My raspberry uses a micro sd as main memory, so I have no enough space. I mounted an external disk with enough space to store all the data.
The question here is: how can I configure Core in order to use that external disk to save all the information?

Note that I don't have a GUI, I connect to my raspberry using ssh.

Thanks in advance.

Best Regards,
SS

Hi, I don't know if you already know but you could use a solution like umbrel or citadel on your rasp, so you won't have to think about how to connect the hard drive because using these plugs in OS is really simple and they can all do it.
I'm sure you already know these solutions but you can always search otherwise on google.

Hi, thanks for your reply. Yes I knew about umbrel but I was looking for a clean install of bitcoin core.

Of course as I imagined.
jr. member
Activity: 46
Merit: 28
Hi everyone,

I'm trying to run a node on my raspberry pi. I followed this simple guide: https://snapcraft.io/install/bitcoin-core/raspbian.
My raspberry uses a micro sd as main memory, so I have no enough space. I mounted an external disk with enough space to store all the data.
The question here is: how can I configure Core in order to use that external disk to save all the information?

Note that I don't have a GUI, I connect to my raspberry using ssh.

Thanks in advance.

Best Regards,
SS

Hi, I don't know if you already know but you could use a solution like umbrel or citadel on your rasp, so you won't have to think about how to connect the hard drive because using these plugs in OS is really simple and they can all do it.
I'm sure you already know these solutions but you can always search otherwise on google.

Hi, thanks for your reply. Yes I knew about umbrel but I was looking for a clean install of bitcoin core.
sr. member
Activity: 462
Merit: 603
Pizza Maker 2023 | Bitcoinbeer.events
Hi everyone,

I'm trying to run a node on my raspberry pi. I followed this simple guide: https://snapcraft.io/install/bitcoin-core/raspbian.
My raspberry uses a micro sd as main memory, so I have no enough space. I mounted an external disk with enough space to store all the data.
The question here is: how can I configure Core in order to use that external disk to save all the information?

Note that I don't have a GUI, I connect to my raspberry using ssh.

Thanks in advance.

Best Regards,
SS

Hi, I don't know if you already know but you could use a solution like umbrel or citadel on your rasp, so you won't have to think about how to connect the hard drive because using these plugs in OS is really simple and they can all do it.
I'm sure you already know these solutions but you can always search otherwise on google.
jr. member
Activity: 46
Merit: 28
I don't have any bitcoin directory on ~/.config/
Do I have to create it manually or should it already be created?
Mine was created years ago, so I tested it: when I start bitcoin-qt, it instantly creates ~/.config/Bitcoin/Bitcoin-Qt.conf on it's own.

Update: I now see you're using "snaps", I've never used that, but it's probably the reason for having different file locations.
I'd try this:
Code:
find ~ | grep Bitcoin-Qt.conf

Got it!!! Thank you very much. I finally downloaded it without using snap.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
I don't have any bitcoin directory on ~/.config/
Do I have to create it manually or should it already be created?
Mine was created years ago, so I tested it: when I start bitcoin-qt, it instantly creates ~/.config/Bitcoin/Bitcoin-Qt.conf on it's own.

Update: I now see you're using "snaps", I've never used that, but it's probably the reason for having different file locations.
I'd try this:
Code:
find ~ | grep Bitcoin-Qt.conf
jr. member
Activity: 46
Merit: 28
how can I configure Core in order to use that external disk to save all the information?
Here, this data is stored in ~/.config/Bitcoin/Bitcoin-Qt.conf:
Code:
strDataDir=/home/simpleSliv3r/.bitcoin
So close Bitcoin Core, move that directory to a new location, edit this file, and restart Bitcoin Core.

Thanks for your answer.
I don't have any bitcoin directory on ~/.config/
Do I have to create it manually or should it already be created?
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
how can I configure Core in order to use that external disk to save all the information?
Here, this data is stored in ~/.config/Bitcoin/Bitcoin-Qt.conf:
Code:
strDataDir=/home/simpleSliv3r/.bitcoin
So close Bitcoin Core, move that directory to a new location, edit this file, and restart Bitcoin Core.

Quote
Note that I don't have a GUI, I connect to my raspberry using ssh.
That's how I like it, most of the time a terminal is much easier for those tasks than a GUI. But if you don't know the basics of file operations (like mv), you should probably learn that before using ssh.
jr. member
Activity: 46
Merit: 28
Hi everyone,

I'm trying to run a node on my raspberry pi. I followed this simple guide: https://snapcraft.io/install/bitcoin-core/raspbian.
My raspberry uses a micro sd as main memory, so I have no enough space. I mounted an external disk with enough space to store all the data.
The question here is: how can I configure Core in order to use that external disk to save all the information?

Note that I don't have a GUI, I connect to my raspberry using ssh.

Thanks in advance.

Best Regards,
SS
Jump to: