wrong fs type, bad option, bad superblock - nfs

After trying to mount an nfs file system on my Crunchbang I got this error:

mount: wrong fs type, bad option, bad superblock on 10.1.1.1:/home/nfs,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount. helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

All of this was because crunchbang does not come with nfs-common installed, so if run into this problem, run:

sudo aptitude install nfs-common

If you are working with Arch Linux, type this:

sudo pacman -S nfs-utils

And the problem will go.

Comments

superb..solved my problem

Nice to hear that!

Kubuntu 9.10 failed to mount NFS share and this solved the problem.

Many Thanks from Israel!

Thanks a lot ggarron, such a simple solution, it worked like a charm.