LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-23-2005, 08:13 PM   #1
Grave
LQ Newbie
 
Registered: Aug 2004
Posts: 11

Rep: Reputation: 0
how I can centos ntfs compile?


how I can centos ntfs compile?


enter command.this one

start to command, step bye step;

download file , kernel-module-ntfs-2.6.9-22.EL-2.1.20-0.rr.9.10.i686.rpm

installing file, rpm -ivh kernel-module-ntfs-2.6.9-22.EL-2.1.20-0.rr.9.10.i686.rpm

---------------------------------------------------

[root@local dosyalar]# mkdir /mnt/ntfs

---------------------------------------------------

disk info:

[root@local dosyalar]# fdisk -l

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1399 11237436 83 Linux
/dev/hda2 1913 4864 23711940 f W95 Ext'd (LBA)
/dev/hda3 1400 1781 3068415 83 Linux
/dev/hda4 1782 1912 1052257+ 82 Linux swap
/dev/hda5 1913 4864 23711908+ 7 HPFS/NTFS

----------------------------------------------------

I can see that.this is ntfs partition /dev/hda5.this is ok.so.after command

mount -t ntfs /dev/hda5 /mnt/ntfs

this is problem.
mount: fs type ntfs not supported by kernel

why is not kernel support? how I can centos ntfs compile?

I'm using centos linux ver. 4,2 and kernel version 2.6.9-22.0.1.EL.

thanks...
 
Old 12-23-2005, 08:45 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Modify the /etc/filesystems file (as root) and add a new line for the ntfs filesystem.
 
Old 12-23-2005, 08:50 PM   #3
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
I could be wrong but to me the version number between your centos and the ntfs rpm do not look the same. If not compiled for the exact same version it will never work. If am wrong then try this. Add ntfs to /etc/filesystem and see if that works.

Edit: I did some browsing and it seems to be a module so run the command as root ' modprobe ntfs ' Then try to mount.

If nothing works then use the search feature above. Lots of other links on ntfs. Compare to ntfs on Fedora. Centos is very similiar but is far better.

Couple other places.
http://www.linux-ntfs.org/
http://www.google.com/linux

Worst come to worst recompile the kernel. Might as well get the latest at http://www.kernel.org 2.6.14.3 or maybe newer. Lots of links here on recompiling the kernel. Just have to check the ntfs box when configuring.

Note: NTFS works fine as readonly filesystem. If you enable Writing to the NTFS filesystem you can trash the filesystem altogether. There is no gaurantee it work perfecty. Use at your own risk. Only filesystem both windows and linux can write to without issues is vfat filesystem.

Hope this helps.
Brian1

Last edited by Brian1; 12-23-2005 at 08:57 PM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Whats the differnce between Centos and CentOS? duffmckagan cAos 1 06-12-2005 01:23 PM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 03:36 AM
Writing to an NTFS volume using captive-ntfs (repairing boot.ini) macskeeball Linux - General 3 02-06-2005 10:28 PM
Centos 3.3 againstms Linux - General 3 12-24-2004 01:39 AM
Captive NTFS -- full r/w ntfs access for Linux spurious Linux - Software 6 01-09-2004 01:29 AM


All times are GMT -5. The time now is 11:48 AM.

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