Sorry, noob question I'm new to everything about Linux. I managed to configure the Bitcoin core very well on my Raspberry Pi 4 and I have an external hard drive that I want to use as a data directory for the 250 GB or more of blocks (this is not is not my main storage from which I boot).
The problem is that I have absolutely no idea how the bitcoind program decides its data directory. I have run 3 or 4 times and I have 3 or 4 different data directories, none of which on the hard drive. How can I tell him where to store the data? Also, where should I put the bitcoin.conf file because it never seems to find it. I have most of the blockchain preinstalled on my hard drive from my Windows PC and therefore I would ideally use this same directory, but if that is not possible, that’s fine , I want it at least on my hard drive. I have followed several guides and nothing has worked for me so far. I appreciate your time for all the answers!