So any barebone system will do in that case. I have personal affection for Parabola Linux since I tried it on a laptop the same model as my first ever computer back in 2007 (Asus X50VL). Parabola is an Arch-based, libre distro so the installation process is already a lot of terminal. A Tmux session and some utilities and you're ready to kick ass.