Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How to mount a samba share permanently in ubuntu 10.10? Also i dont want to display the share icon in my desktop. How to acheive this task?

share|improve this question
add comment

3 Answers

You should add it to /etc/fstab. I don't have a SMB server available at the moment but I think the fstab entry should look something like:

//server/share /mountpoint smbfs

man fstab and man mount are your friends here.

share|improve this answer
add comment

Here is a very detailed set of instructions on how to do this permanently from an Ubuntu point of view.


share|improve this answer
I don't think the question involves windows. –  opensourcechris Jul 2 '13 at 18:06
add comment

better choice than

mount -t smbfs //servername/sharename /mountdirectory -o username=mywindowsusername,password=mywindowspassword

sould be

sudo mount -t smbfs //servername/sharename /mountdirectory -o credentials=/root/.credMywindowsAccount

and in /root/.credMyWindowsAccount

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.