Remount a partition in rw mode

When you start Ubuntu in recovery mode, the system partition is mounted in read only mode. If you have an error in your /etc/fstab, you aren't able to modify it. The solution is to remount the system partition in read-write mode.

mount -n -o remount -t ext4 /dev/sdb /