Link to home
Start Free TrialLog in
Avatar of aot2002
aot2002

asked on

how do i use this file .ko ?

fedora core 2 i have

now i want to use the sourceforge ntfs but i cant without intstalling this
kernel-ntfs-2.6.5-1.358.i586.ko
I do have the kernel compiling tools installed i just dont know how to use them











rpm -ivh kernel-ntfs-2.6.5-1.358.i586.rpm
Preparing...                ########################################### [100%]
   1:kernel-ntfs            ########################################### [100%]
_______________________________________________________________________________

ERROR: Cannot load the NTFS kernel module.

RPM: kernel-2.6.5-1.358.i586.rpm

PLEASE: Report this error to rpm@flatcap.org
_______________________________________________________________________________

error: %post(kernel-ntfs-2.6.5-1.358) scriptlet failed, exit status 1

Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Hi,

   Just checked sourceforge website as the following URL:
http://www.rhil.net/kernelstuff/modules.html

   It says that it is VERY DANGEROUS to use read/write NTFS filesystem. Are you should you want to do it?
Or just NTFS read-only? (It's built-in within the kernel).

Wesly
By the way, the URL tell you how to use *.ko file as folowing:
-------------------
# cd /download-directory
# mkdir /lib/modules/version/kernel/fs/ntfs
# cp modulename /lib/modules/version/kernel/fs/ntfs/ntfs.ko    (for 2.6 kernels)   <===
# depmod -a
------------------

Wesly
Avatar of aot2002
aot2002

ASKER

well i really would like to use ntfs write but for now how about getting readonly to work right
mount -t ntfs <partition> <mount point>
Use fdisk -l /dev/hda (or /dev/hdb) to see which partition is ntfs.

Wesly
Hi,

Wesly_Chen is right. Writing to NTFS from linux is very dangerous and can corrupt data.
Its advised to mount NTFS as read-only.

If you really want to write to a Windows partition, you could make a FAT/FAT32 partition on the Windows machine and then  mount it read/write on the Linux. Linux can read and write without problems to FAT partitions. This way this partitions would be accessible to Windows and Linux both as read/write.

Hope this helps,

Bes
I suggest you compile NTFS ReadOnly support into kernel - this way you will not need to load module every time.

You may try to write to NTFS partition and it works as long as the filesize is not changed - but it's VERY dangerous in case some application will try to change the size of a file.

You should use FAT32 partition to exchange data. Or any networking partition or just FTP files to other box.
ASKER CERTIFIED SOLUTION
Avatar of revantine
revantine
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial