Mount a Windows share from Ubuntu


January 19th, 2009

You'd think by now a simple solution to this would have percolated up to the top few results in a Google search. Sadly not.

ajlaptop:~> sudo apt-get install smbfs
[...]
ajlaptop:~> sudo mount -t cifs '\\AJ\Music' /mnt/home-music -o username=alex
ajlaptop:~>

Into fstab:

\\AJ\Music    /mnt/home-music    smbfs    credentials=/home/aj/.smbpasswd-home-aj,noauto,uid=aj,gid=aj,ro    0    0

See Also:

mount.smbfs(8)


Leave a Reply

Name (required)

Email (required)

Website

Speak your mind

Misc