# mount /mnt/mymount mount: wrong fs type, bad option, bad superblock on \\windowsbox\shared, 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
From system logs:
# dmesg|tail [8628151.305806] CIFS VFS: No username specified [8628151.306141] CIFS VFS: cifs_mount failed w/return code = -22
Solution
This was related to smbs not being installed:# apt-get install cifs-utils # which mount.cifs
13 comments:
Ditto!
For centos, install cifs-utils
# yum install cifs-utils
Thanks!
+1
Thanks
For Debian 7
apt-get install cifs-utils
On a new install of Ubuntu 14.04 I had to open Synaptic and reinstall cifs-utils (even though it claimed to be installed) before this would work.
smbfs doesn’t seem to be in the repositories any more.
@caoin Thanks I have updated the post to reflect the change. You are correct.
After ripping my hair off because of this...thanks!! I was feeling like a total idiot, lol.
Saved me so much time. Thanks!
you saved my life!
This helped me thanks a lot
@Ahmed My pleasure.
Post a Comment