If fstab fails due to a hard drive change, it will ask you to log in with root or CTRL-D to reboot.

Log in and then type:

mount -n -o remount /

cd /etc

nano fstab