I followed the installation instructions here: https://www.gnu.org/software/guix/manual/html_node/Preparing-for-Installation.html#Preparing-for-Installation.

Compilation stopped in the middle because I hadn't allocated sufficient RAM.

I suggest adding the command 'swapon /dev/sda2' below 'mkswap /dev/sda2'.

Cheers,
David