I may as well answer my own question for the benefit of the archives; I finally managed to set up my hard drive partitions by switching to another virtual terminal (tty2) and running fdisk instead of cfdisk.