LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how I can centos ntfs compile? (https://www.linuxquestions.org/questions/linux-general-1/how-i-can-centos-ntfs-compile-396063/)

Grave 12-23-2005 07:13 PM

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...

Lenard 12-23-2005 07:45 PM

Modify the /etc/filesystems file (as root) and add a new line for the ntfs filesystem.

Brian1 12-23-2005 07:50 PM

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


All times are GMT -5. The time now is 01:46 AM.