I've made a mess by changing my fstab; I was trying to move my home partition to sda7. However the change failed and on restarting my machine I get to the login screen and it can't mount home, in fact all it does is refresh the login screen when I try to login.

I'm unable to edit fstab from vi in recovery mode.

Any help that avoids reinstalling would be greatly appreciated.