fubz Posted July 26, 2007 Report Share Posted July 26, 2007 I canno't get my windows share to mount correctlyin the /etc/fstab i have://192.168.1.105/movies /mnt/movies cifs exec,credentials=/etc/cifspw 0 0and in the /etc/cifspwusername=theusernamepassword=thepasswordWhen i browse to mnt/movies the directory is empty.... Quote Link to post Share on other sites
shanenin Posted July 26, 2007 Report Share Posted July 26, 2007 (edited) since you say it is empty, that to me implies it is not mounted.Have you tried mounting it with this command. You will need root privileges to do thismount /mnt/moviesWhat does the output of the command mount showmount Edited July 26, 2007 by shanenin Quote Link to post Share on other sites
fubz Posted July 26, 2007 Author Report Share Posted July 26, 2007 When i do mount /mnt/movies it says that only root can mount //mycomp/Movies ob /mnt/moviesit also mentions that line 1 of etc/fstab is bad.... but i never touched thatanywaysdo i have to change the directory it mounts to or what? Quote Link to post Share on other sites
shanenin Posted July 26, 2007 Report Share Posted July 26, 2007 (edited) can I see what your whole /etc/fstab file looks like? Edited July 26, 2007 by shanenin Quote Link to post Share on other sites
fubz Posted July 26, 2007 Author Report Share Posted July 26, 2007 (edited) OK success!The problem with the fstab was that i must have accidently hit a key before the first # [comment] so that was the error - that is now fixedNow how i got the share to finally mount wasin /etc/fstab//mycomp/Movies /home/mike/movies smbfs username=guest,password=guest,noauto 0 0i moved it out of /mnt/movies - that didn't help, but now i will just leave it in my home directory.After that i edited /etc/rc.localmount /home/mike/moviesnow it mounts when i startupAfter 3 days of searching google i read that samba might not have started up when it was mounting everything so it never mounted properly and since rc.local is executed in the end samba is up and running and it mounts properly=)ohhh i still hate linux though :-p Edited July 26, 2007 by fubz Quote Link to post Share on other sites
shanenin Posted July 26, 2007 Report Share Posted July 26, 2007 cool :-) Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.