Exact mounting command as if clicking drive using Nautilus Ubuntu

Posted on 2011-04-26
Medium Priority
Last Modified: 2012-05-11
I want to know the exact command of mounting Windows from Ubuntu 10.10 as if I am clicking drive using Nautilus. Logs in syslog:

Apr 27 06:47:44 laptop1 ntfs-3g[2879]: Mounted /dev/sda3 (Read-Write, label "", NTFS 3.1)

Apr 27 06:47:44 laptop1 ntfs-3g[2879]: Cmdline options: rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,dmask=0077,fmask=0177

Apr 27 06:47:44 laptop1 ntfs-3g[2879]: Mount options: rw,nosuid,nodev,uhelper=udisks,allow_other,nonempty,relatime,fsname=/dev/sda3,blkdev,blksize=4096,default_permissions

Question by:chainfear
  • 2
  • 2
LVL 38

Expert Comment

ID: 35471757
1. Make sure you have samba installed

2. Make a directoy for the mountpoint:
mkdir /mnt/pcshare

3. Mount the share:
smbmount //winpc/shared /mnt/pcshare -o username=user,password=pass,rw
mount -t smbfs -o username=<username>,password=<password> //winpc/shared /mnt/pcshare
LVL 31

Accepted Solution

farzanj earned 2000 total points
ID: 35471759
Try this one

mount -t ntfs-3g -o rw,nosuid,nodev,uhelper=udisks,uid=1000,guid=1000,dmask=0077,fmask=0177 /dev/sda3 /media
LVL 38

Expert Comment

ID: 35471767
By the way, here is some more details:
LVL 31

Expert Comment

ID: 35471776
You know you can first check if you have mount point /media.

Before continuing with it, make sure there is nothing in /media directory

The only thing that is not visible from your log file is the mount point (mounting directory).  You don't even have to give all the options.

mount -t ntfs-3g -o rw,nosuid,nodev /dev/sda3 /media

Open in new window

Your windows partition should be mounted at /media.

cd /media

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month17 days, 8 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question