LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 04-23-2004, 10:20 PM   #1
jdruin
Member
 
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Rep: Reputation: 30
Question 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?
 
Old 04-24-2004, 12:31 AM   #2
explorer
Member
 
Registered: Feb 2003
Posts: 229

Rep: Reputation: 34
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.

Last edited by explorer; 04-24-2004 at 12:59 AM.
 
Old 04-24-2004, 07:36 PM   #3
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
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).
 
Old 04-24-2004, 08:41 PM   #4
Joe47
Member
 
Registered: Dec 2002
Location: San Diego California
Distribution: Fedora Core 6
Posts: 64

Rep: Reputation: 15
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
 
Old 04-25-2004, 01:16 AM   #5
explorer
Member
 
Registered: Feb 2003
Posts: 229

Rep: Reputation: 34
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.
 
Old 04-27-2004, 03:57 AM   #6
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
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.
 
Old 05-05-2004, 03:29 AM   #7
LugNutX
LQ Newbie
 
Registered: May 2004
Location: Charlotte, NC USA
Distribution: Fedora Core 2
Posts: 5

Rep: Reputation: 0
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
 
Old 05-06-2004, 12:05 PM   #8
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
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.
 
Old 05-06-2004, 01:42 PM   #9
LugNutX
LQ Newbie
 
Registered: May 2004
Location: Charlotte, NC USA
Distribution: Fedora Core 2
Posts: 5

Rep: Reputation: 0
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?

Last edited by LugNutX; 05-06-2004 at 01:43 PM.
 
Old 05-08-2004, 05:10 AM   #10
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Add Ntfs Support XSquire Debian 21 10-07-2005 03:46 AM
How Fedora Core 4 Support NTFS? regnox Linux - Newbie 6 08-16-2005 08:57 PM
how do i get my fedora to always support ntfs? einstien Linux - General 2 02-12-2005 03:54 PM
Rebuilding kernel to add NTFS support Odd_Bloke Linux - General 4 11-10-2003 02:40 AM
Add NTFS Support to RedHat 7.2 Kernel RedHatMN Linux - Distributions 4 01-22-2002 08:49 PM


All times are GMT -5. The time now is 06:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration