# Make sure to replace the /dev/XXXXXX below with your memory card location. Volumes might have to be unmounted before writing the image on the card.
dd if=~CentOS-Userland-8-armv7hl-generic-Minimal-1911-sda.raw of=/dev/XXXXXX bs=8192; sync
#Add the card to the raspi and boot.
#root password is "centos" (without quotes).
/usr/bin/rootfs-expand # This increases the partitions to the maximum possible.