How to mount NTFS in read/write mode in SuSE Enterprise 11
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hope you have properly shut down windows OS (i.e no power failure or forced reboot or hibernation ) because in those cases the ntfs partition is locked & does not mount so if problem had occured then reboot into windows & shutdown properly.
Now Let us see if you have ntfs-3g.
Assume your device is /dev/sda4 then run as root that is
$su
enter password:
#umount /dev/sda4
#mkdir /windows
#ntfs-3g /dev/sda4 /windows
But in this case only root can create folder in /windows though ordinary user can create & delete files.See if you can make file in /windows.
Now let us make ntfs partition mounted by default & editable by all users
First comment out old statement pointing to ntfs device in /etc/fstab by prefixing line with #.
Add following line to your /etc/fstab & reboot
<device> <mountpoint> ntfs-3g defaults 0 0
Where device is
Code:
sda4 for hd(0,3)
As a general rule
/dev/sda<m+1th alphabet><n+1> for partition hd(m,n).
Hope now you understand.
mount point is folder where it will be mounted.I think usually it is /windows/drive_letter.
Copy corresponding folder from just commented line in /etc/fstab.
Make sure such folder exist.If not then
$su
enter password:
#mkdir desired_folder
you can get also device from commented line if you aren't able to decide.
I think ntfs-3g is available on most GNU/linux OS by default.
Hope this helps.if you find my post useful than thank me by pressing thumbs up button.
Last edited by sumeet inani; 12-17-2009 at 03:51 AM.
Give content of /etc/fstab.Enclose the file content in codes.
Also you can try
$which ntfs-3g
to see if application is present.
Hi,
problem solved, there was a compile error in
secaudit.c file of ntfs-3g directory i corrected that and installed it again, now its working, but seems i can copy through command line to NTFS drive. anyway its OK now, Thanks for your support.
here are the steps i have followed, this will be usefull to anyone,
you will get following listed errors when you trying to make the files
secaudit.c:262:24: error: attr/xattr.h: No such file or directory
secaudit.c: In function ‘showmounted’:
secaudit.c:5033: warning: implicit declaration of function ‘getxattr’
make[2]: *** [ntfs_3g_secaudit-secaudit.o] Error 1
make[2]: Leaving directory `/media/MEDIA/Linux/ntfs-3g-2009.11.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/MEDIA/Linux/ntfs-3g-2009.11.14'
make: *** [all] Error 2
now its working, but seems i can copy
through command line to NTFS drive.
anyway its OK now.
In my explanatory post I have provided tip to to do all kinds of operations(delete,copy,paste,move) on ntfs partition even in graphical interface.
Why do you think that with ntfs-3g you can copy only with command prompt ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.