Why do I get "wrong fs type, bad option, bad superblock" error?

The error message mentions:

(for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount. helper program)

This is relevant given that you are trying to mount NFS. The /sbin/mount.nfs helper program is provided by nfs-common. You can install it with:

sudo apt install nfs-common

On the other hand, if you are trying to mount CIFS, the helper program is provided by cifs-utils. You can install it with:

sudo apt install cifs-utils

Make sure mount.cifs is listed into /sbin:

ls -l /sbin/mount.cifs

Check to see if package cifs-utils is installed:

dpkg -l cifs-utils

If it isn't, install the cifs libraries with

sudo apt-get install cifs-utils

It appears that nfs-common package should be installed in order to be able to mount NFS directories.

sudo apt-get install nfs-common

When it's not, the mounting of an NFS directory results in the error I've got.

Tags:

Mount

Nfs