Welcome to my Blog

This Blogs gives the summary of the latest Technologies available in the market from the different website.you can post your questions/requests anything related to the Technology

Mounting and Un mounting Windows drive on Ubuntu


Mounting drive 

Step1: install CFIs
sudo apt-get install cifs-utils

Step2 : Mounting Drive
ubuntu@ubantux64:~$ sudo mount -t cifs -o rw,noperm,user=windowsuser,password=Password123,domain=testdomain mount -t cifs /// /mnt/Shared -o username=,password=

Common Errors: 
Usually you will notice error mount error(13): Permission denied
Trouble shooting: Make sure that your password and user name are properly escaped
If your password is "Pa$sword" (Notice that $ sign in password, its should be properly escaped, i.e put in quotes as below
Example:

ubuntu@ubantux64:~$ sudo mount -t cifs -o rw,noperm,user=windowsuser,password='Pa$sword',domain=testdomain mount -t cifs /// /mnt/Shared -o username=,password=


Unmounting Driving 

To unmout all the drives
sudo umount -a -t cifs -l


If you have questions or comments, Please post below. 

0 comments:

Post a Comment