Solved by commenting out (using the '#' character) both lines with nouveau in them in the /etc/modules file.
/etc/modules