Mounting & Accessing Windows Shared Folders on Linux


Well recently I’d bought an external 750GB USB hard disk, as I was running out of space on my laptop. Now this drive requires an external power source, so I just cant lug it everywhere with my laptop in my room so I thought I’ll connect this to my other laptop, and share the drive (the other laptop is my office one, runs on Windows) and I could access this drive over WiFi. While accessing the drive contents via Dolphin was pretty easy thanks to the smb kparts (ie, to access just type smb://<ip-address>/<share-name> oh btw this works in Gnome 2.23 as well) trying to access the drive in Amarok via smb kparts would result in Amarok crashing. Hence I decided to mount it. I was sorta stuck, as I read the man pages for mount which mentioned smbfs is available but then mount kept throwing ‘unknown filesystem type smbfs”.

Anyways after some Googling I mounted using CIFS, the command would be

mount.cifs //<host-or-ip-address>/<share-name> <path-to-mount>

If the share requires authentication just add -o user=<user-name> to the above line. You will be prompted for password, just enter it, and the share will be mounted.

If you want a graphical tool, you can check out SMB4k

Smb4k

Smb4k

If you enjoyed this post, make sure you subscribe to my RSS feed!
Possibly Related posts:
There are lots of times where you'd want to mount
Previously I'd posted on auto-mounting partitions at startup using pysdm.
In my previous post, I'd mentioned about Virtualization - what
Due to weird-ass PolicyKit rules, you may not be able
Found this article while going random browsing, the original article

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>