Bitcoin Core on a Linux partition on MacBook... Lost bitcoin due to insufficient disk space to update blocks As the title says, I have an interesting difficulty and have no idea how to resolve it. 
I installed bitcoin core on the linux partition of my macbook, but was not aware that it needed as much disk space as it did to update the blocks. It says it is "4 years and 40 weeks behind", and will only run for a short time before giving me the error that there is insufficient space on the disk.

This is a problem as I have already initiated a transfer of bitcoin from coinbase to the address provided to me by bitcoin core. 

It says that recent transactions may not be visible until my wallet has finished synchronizing with the network, but I don't have sufficient space to do so. 

I tried to use GParted to resize the partition, but it would not allow me to.

Any ideas??? It was quite a bit of money I have lost.
You can set Bitcoin Core to run in "pruning mode" which will then keep only the last few blocks instead of the whole blockchain.

To enable pruning, you add the line 

prune=&lt;n&gt;


to your configuration file whereby you replace &lt;n&gt; with the number of megabytes of blockchain data you want to keep. The minimum is 550. 

The configuration file can be found in the Bitcoin data directory by default it's found at ~/.bitcoin on Linux. The configuration file is called bitcoin.conf. If the file doesn't exist yet, you can just create a text file by that name.

Also see:


How can I run bitcoind in pruning mode?
Where is the data folder for Bitcoin-Qt?
Jameson Lopp's Bitcoin Core Config File Generator