Link to home
Start Free TrialLog in
Avatar of crazy4s
crazy4s

asked on

how to mount ntfs on ubuntu 11.10

Hi all,
Can anyone show me how should i mount ntfs to a specific directory where i have access to all my windows file.
I've installed my ubuntu 11.10 on windows 7 as dual boot. And i've did some research on this, but which device boot should i choose to mount for the below command? and what's the difference btw sda2 and sda3? ( /media/windows/ is the folder i created)
mount  /dev/sda2 /media/windows/ -t ntfs -onls=utf8, umask=0222

here's the output when i did fdisk -l

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63       80324       40131   de  Dell Utility
/dev/sda2   *       80325    30800324    15360000    7  HPFS/NTFS/exFAT
/dev/sda3        30800325   625140399   297170037+   7  HPFS/NTFS/exFAT

thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of Anuroopsundd
Anuroopsundd
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of crazy4s
crazy4s

ASKER

in windows, i only have one partition which is the c drive. And my ubuntu is installed part of the c drive.
SOLUTION
Avatar of farzanj
farzanj
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of crazy4s

ASKER

but which ntfs partition should i use? the sda2 or sda3?
Just mount readonly (ro) one by one and see what they contain.
Avatar of crazy4s

ASKER

i just mount the sda2 and the contents are not the one i want, so i umount the directory and mount the sda3 but i got this error msg, what does it meant:
root@ubuntu:~# ntfs-3g /dev/sda3 /media/windows
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.
Issue the mount command to see what is mounted.


I would use

mount -t ntfs-3g instead of ntfs-3g directly.

Where is /media/windows mounted?