Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 20972  / 2 Years ago, sun, september 4, 2022, 8:17:09

since i updated my ubuntu to natty narwhal(from 10.04), my mount script doesn't work anymore.



The scripts mounts a folder from a NAS (WD mybookworld) in the local network to a folder in my home folder.



script looked like that:



#!/bin/bash
sudo mount //192.168.2.222/Public/Shared Music/ /home/simon/Musik/


error:



mount: wrong fs type, bad option, bad superblock on //192.168.2.222/Public/Shared Music/,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
Manchmal liefert das Syslog wertvolle Informationen – versuchen
Sie dmesg | tail oder so


now, because the script doesn't work anymore i decided to add the mount-process to my fstab, because the network drive should be mounted on every startup.



My fstab entry looks like this:



//192.168.2.222/Public/Shared Music/ /home/simon/Musik cifs credentials=/home/simon/.smbcredentials 0 0


But it doesn't work, too. I get a message during the startup process, that Musik couldn't be mounted.



Are there any log files i can check for errors?
The system is a fresh installed 11.04.



Greetings


More From » 11.04

 Answers
7

The error message is pretty clear, it does not recognize the filesystem type.

/sbin/mount.cifs is provided by the cifs-utils package, you need to install that package for mounting Samba shares.


[#44667] Tuesday, September 6, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
torlim

Total Points: 408
Total Questions: 113
Total Answers: 110

Location: Estonia
Member since Wed, May 27, 2020
4 Years ago
;