mount network drive
- by CaptnLenz
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