LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   How do I add support for NTFS to Fedora? (https://www.linuxquestions.org/questions/fedora-35/how-do-i-add-support-for-ntfs-to-fedora-173889/)

jdruin 04-23-2004 09:20 PM

How do I add support for NTFS to Fedora?
 
I read in other posts that one can go to

http://linux-ntfs.sourceforge.net/rpm/fedora1.html

and download support for NTFS into Fedora. A couple of things.

How do I determine which download i need?

Is there a better way to add NTFS support? It seems this very specific version would need to be updated every time the kernel changes slightly.

How does modprobe work? What does it do?

explorer 04-23-2004 11:31 PM

To determine the one you need, open a terminal window and type in:
uname -a
the kernel you have will be shown. Installing it is easy enough. If you're using KDE, right click on the downloaded file and select "install packages". The package will be installed. You will be prompted to enter the root password. Once it is installed, do an su - to root and type in modprobe ntfs that will load the module. I don't really understand why redhat didn't include something as common as ntfs support but it's easy enough to get and install. Not sure what would happen if you used an old kernel-ntfs package on a newer linux kernel.

WhatsHisName 04-24-2004 06:36 PM

If you compile a custom kernel, there is already a module option for NTFS Read Only under File Systems in Linux Kernel Configuration (i.e., Fedora /usr/src/linux-2.4/make xconfig).

Joe47 04-24-2004 07:41 PM

explorer I typed in:
[joe@localhost joe]$ uname -a
Linux localhost.localdomain 2.4.22-1.2115.nptl #1 Wed Oct 29 15:31:21 EST 2003 i686 athlon i386 GNU/Linux
[joe@localhost joe]$
I then downloaded kernel-ntfs-2.4.22-1.2115.nptl.athlon.rpm
I opened the rpm & installed it, under root.
I then [joe@localhost joe]$ su
Password:
[root@localhost joe]# modprobe ntfs
bash: modprobe: command not found
[root@localhost joe]#

Any help would be appreciated

Joe47

explorer 04-25-2004 12:16 AM

Joe - you probably need to type in the hyphen with su "su -" thats su a space and a dash. The path will be different than just for su by itself. Modprobe should work.

maxut 04-27-2004 02:57 AM

u may try "/sbin/modprobe". it will work.
does your kernel support ntfs? as i know fedora 1 standart kernels doesnt support ntfs. i compiled costum kernel (2.6.4) for fedora 1. after that i have ntfs support. read only. actually it still doesnt have real write access support.

LugNutX 05-05-2004 02:29 AM

I am having a similar problem getting NTFS support under Fedora Core 2 Test 3. I updated the kernel and kernel source packages, among other things and am now running 2.6.5-1.349. I ran 'make menuconfig' selected NTFS support as a module, ran the usual 'make modules' and 'make modules_install' and rebooted just for safe measures.

Everything came up fine, as expected. However, running 'modprobe ntfs' still returns FATAL: Module ntfs not found.

I did some searching and noticed that there is now an additional dir in /lib/modules:
Code:

[root@localhost ntfs]# cd /lib/modules
[root@localhost modules]# ls
2.6.5-1.327  2.6.5-1.349  2.6.5-1.349custom

The module I need is contained in the new "custom" directory. Copying it over to the working module directory and updating modules.dep did no good either. It returns this error:
Code:

[root@localhost ntfs]# modprobe ntfs
FATAL: Error inserting ntfs (/lib/modules/2.6.5-1.349/kernel/fs/ntfs/ntfs.ko): Invalid module format

I'm pretty much lost for ideas right now. Is there anything I'm doing wrong? Are there any actions I can take to get this working? Any help would be greatly appreciated, thanks in advance :)

maxut 05-06-2004 11:05 AM

what kernel do u boot, offical kernel or costum kernel? u must boot with costum kernel to get ntfs support. type "uname -r" this will show u what kernel do u use.

another way is downloading newer stabil kernel from www.kernel.org and compiling it yourself. i compiled 2.6.4 for my fedora 1 about 2 months ago. basicly u must do:

xxx is the version of kernel u donwloaded
extract source to /usr/src/
tar xzf linux-xxx.tar.gz -C /usr/src
ln -s /usr/src/linux-xxx /usr/src/linux
cd /usr/src/linux
make xconfig (or menuconfig what u prefer)
choose necessary options. loop device can be selected as module and ramdisk support must be in kernel (not module).

make bzImage;make modules;make modules_install
cp System.map /boot/System.map-xxx
cp arch/i386/boot/bzImage /boot/vmlinuz-xxx
mkinitrd xxx /boot/initrd-xxx.img
and finally add the neccessary lines in /boot/grub/grub.conf to boot from new kernel
and try it.

LugNutX 05-06-2004 12:42 PM

I am using the kernel that gets released by Fedora over the 'yum' update service. This is currently version 2.6.5-1.350

Yea, I know that completely recompiling the kernel would probably fix things. However, I just added the ntfs module and can't remember ever having to recompile and reconfigure because of that. If I was making ntfs support built-in, I would understand, but for a module?

maxut 05-08-2004 04:10 AM

i dont know about fedora 2 test's kernels. so i cant help u much. i just explained how i did add ntfs support for my fedora 1.


All times are GMT -5. The time now is 07:49 AM.