openSUSE Forums > Archives > SF Archives > ARCHIVES - Tips, Tricks & Tweaks » Howto: How To Get Full Read And Write Support For Ntfs

Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - Tips, Tricks & Tweaks
Forums FAQ Members List Search Today's Posts Mark Forums Read

ARCHIVES - Tips, Tricks & Tweaks Tips and Solutions for SUSE Linux
(Please do not post questions here)

 
Page 1 of 3 1 23 >
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 15-Apr-2007, 18:57
Crashoverride
Guest
 
Posts: n/a
Default

First we have to make sure we have some stuff installed and some stuff not installed.

First lets make sure you don't have any older versions of fuse installed.

Open up yast --> software management and chenge the Filter to Search

Type in fuse into the search field. If there is anything that is selected deselect it as shown here.



Now we have to make sure we have the development packages installed. Click on the filter and select Patterns. Make sure you have the Linux Kernel Development and C / C++ Development checked off as in this picture.



Then hit accept. You can now close yast.

Now download the the following packages:

Fuse

http://downloads.sourceforge.net/fuse/fuse...mp;big_mirror=0

and NTFS-3g

http://www.ntfs-3g.org/ntfs-3g-1.417.tgz

Uncompress the tar.gz files (right click on them and Select Extract--> extract here)

now open up a terminal session System ---> Terminal --->Konsole

in there become root with the su command and enter your password

now once you have become root enter this into terminal at the # prompt

Code:
modprobe -r fuse
and hit enter

now navigate to your kernel source directory

Code:
 cd /usr/src/linux
now type the following command in there

Code:
make mrproper && make cloneconfig && make modules_prepare
Now change to the directory that containing the fuse source (if you downloaded it to your home directory the path would look like this)

Code:
cd /home/username/fuse-2.6.3
now in here type the following and hit enter.

Code:
./configure --enable-kernel-module && make && make install
Now change to the directory that containing the NTFS-3g source (if you downloaded it to your home directory the path would look like this)

Code:
cd /home/username/ntfs-3g-1.417
and now enter this command

Code:
./configure && make && make install
You can now close the terminal window as we are done there.

Now open up File manager in Super User mode (System -->File Manager--> Filemanager - Super User Mode) and when prompted enter your root password.

Now navigate to the /etc directory and find a file called fstab. Right click and open it in Kwrite. Once you have that open look for your windows mounts. It should look something like this

Code:
/dev/sdd2************/windows/D********** ntfs****** ro,users,gid=users,umask=0002,nls=utf8 0 0
put a # in front of this line and enter a new one like this one. Please make sure that the /dev and /windows line are the same as the line you just commented out.

Code:
/dev/sdd2************/windows/D********** ntfs-3g****silent,users 0 0
make sure you hit enter at the end of the line and then place your cursor at the front of the next following line and hit backspace to remove the empty line. Now put the cursor underneath the last line and go up to file and select save.

Now close that window down and reboot. You should have full read write access to that NTFS partition now. Enjoy.

  #2 (permalink)  
Old 15-Apr-2007, 20:42
verxa
Guest
 
Posts: n/a
Default

Good instructions; thank you.

Why not put it on opensuse's web site:

http://en.opensuse.org/Howtos#File_Systems

There is an NTFS manual there, but yours is more detailed and probably more recent.

There was recently a report on this forum about loss of content when writing onto an NTFS partition. What is your experience?
  #3 (permalink)  
Old 15-Apr-2007, 23:07
Crashoverride
Guest
 
Posts: n/a
Default

Iv'e been using it extensively on both a mdraid raid 0 setup as well as a single partition on a single drive. After over 4 TB (yes TB) of transfers not one issue. Data has been all verified and 0 corruption. Chances are if they were experiencing data corruption they did not enable the --enable-kernel-module option when configuring fuse.
  #4 (permalink)  
Old 16-Apr-2007, 09:10
Crashoverride
Guest
 
Posts: n/a
Default

Upon reading the instructions here http://en.opensuse.org/NTFS. I thought I would let you know of a few issues with that article.

mounting a partition like this with ntfs-3g:

Code:
 /dev/sda1****/Windows/C**** ntfs-3g******user,users,gid=users,umask=0002****0 0
will result in error messages such as "could not change permissions too....." when copying over from a *nix partition like xfs. its best to just use "silent,users" for your options as it allows the error messages to be suppressed.

DO NOT USE REPO'S BUILDS unless you are using a kernel newer then 2.6.20. If you build from scratch as shown above you can use NTFS-3G safely and reliably with the default 10.2 kernel.




  #5 (permalink)  
Old 24-Apr-2007, 18:50
Praxis
Guest
 
Posts: n/a
Default

Seems like when I want to remove FUSE with YAST it won't work unless I also want to remove SSHFS & ENCFS (SSH file system and encrypted file system). I don't believe I use either of them, but they seem like they might be useful at some point. BTW, I'm using the AMD64 versions of 10.2.

I wonder why OPENSUSE is so far befind the curve with NTFS-3G. Seems like Debian, Ubuntu, Fedora, etc. have pretty seamlessly integrated that stuff for many months already.

BTW, it seems to work. Hopefully it will be better behaved than NTFS-3G is on my i386 10.2 laptop. I forget how I got RW working, but every time it shut down OPENSUSE it dirted the NTFS volume and I couldn't mount it again until I had booted Windows. Since I almost never boot Windows it was just easier to mount the partition as RO NTFS in the FSTAB.
  #6 (permalink)  
Old 02-May-2007, 18:36
cool_arrow
Guest
 
Posts: n/a
Default

Worked on my 10.1 x86_64 system. Very cool. Thanks crashoverride.
  #7 (permalink)  
Old 06-May-2007, 16:49
Ra-Amon-Ka
Guest
 
Posts: n/a
Default

Im getting trouble getting mine working.

Code:
#/dev/sda1************/windows/C********** ntfs****** ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sdd1************/windows/C********** ntfs -3g****silent,users 0 0
#/dev/sdb1************/windows/D********** ntfs****** ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sdd2************/windows/D********** ntfs -3g****silent,users 0 0
what do i need to modify?
  #8 (permalink)  
Old 19-May-2007, 06:07
troopa
Guest
 
Posts: n/a
Default

i have one stupid problem...i cant find "file manager" or super user mode in any of file browsers or konqueror or elswhere i looked
which "system" is meant by "system -> file manager -> filemanager -> super user mode"
  #9 (permalink)  
Old 19-May-2007, 06:40
oldcpu
Guest
 
Posts: n/a
Default

Quote:
i have one stupid problem...i cant find "file manager" or super user mode in any of file browsers or konqueror or elswhere i looked.
which "system" is meant by "system -> file manager -> filemanager -> super user mode"
[/b]
That should read:
"system -> file manager -> filemanager - super user mode" (ie a dash and not an arrow-dash between the second "filemanager" and "super user mode"). And it means go to KMenu, or your gnome equivalent, and navigate from "system" to "file manager" to filemanager - super user mode".

And reference your question, you HAVE found it.

By navigating as indicated above, this provides you a file manager with root permissions, and it should be used sparingly. I have found the more experienced I get with SuSE, the less and less I ever want to resort to that specific menu item. Frankly, its simply too powerful (and hence if one is not careful, can be very dangerous to one's system).

Oh, and troopa, WELCOME to SuSE forums.

Perhaps (IMHO) a question like this is best asked in a different thread, as is clouds the NTFS instructions in this thread, with side aspects that are global, and not specific to NTFS read/write setup. Mind you, thats only MHO.
  #10 (permalink)  
Old 19-May-2007, 06:46
oldcpu
Guest
 
Posts: n/a
Default

Quote:
what do i need to modify?[/b]
Why not try this:
Code:
#/dev/sda1************/windows/C********** ntfs****** silent,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sdd1************/windows/C********** ntfs -3g****ro,users,gid=users,umask=0002,nls=utf8 0 0
#/dev/sdb1************/windows/D********** ntfs****** silent,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sdd2************/windows/D********** ntfs -3g****ro,users,gid=users,umask=0002,nls=utf8 0 0
Although for my fstab, I use the following for my internal ide ntfs partition:
Code:
/dev/hdb1************/windows/E********** ntfs-3g****silent,umask=0,locale=en_US.utf8 0 0
I have also modified the permissions on /windows/E to give it read/write for all users.
 
Page 1 of 3 1 23 >


Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2