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.i5 86.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.i5 86.rpm
Preparing... ########################## ########## ####### [100%]
1:kernel-ntfs ########################## ########## ####### [100%]
__________________________ __________ __________ __________ __________ __________ ___
ERROR: Cannot load the NTFS kernel module.
RPM: kernel-2.6.5-1.358.i586.rp m
PLEASE: Report this error to rpm@flatcap.org
__________________________ __________ __________ __________ __________ __________ ___
error: %post(kernel-ntfs-2.6.5-1. 358) scriptlet failed, exit status 1
now i want to use the sourceforge ntfs but i cant without intstalling this
kernel-ntfs-2.6.5-1.358.i5
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.i5
Preparing... ##########################
1:kernel-ntfs ##########################
__________________________
ERROR: Cannot load the NTFS kernel module.
RPM: kernel-2.6.5-1.358.i586.rp
PLEASE: Report this error to rpm@flatcap.org
__________________________
error: %post(kernel-ntfs-2.6.5-1.
By the way, the URL tell you how to use *.ko file as folowing:
-------------------
# cd /download-directory
# mkdir /lib/modules/version/kerne l/fs/ntfs
# cp modulename /lib/modules/version/kerne l/fs/ntfs/ ntfs.ko (for 2.6 kernels) <===
# depmod -a
------------------
Wesly
-------------------
# cd /download-directory
# mkdir /lib/modules/version/kerne
# cp modulename /lib/modules/version/kerne
# depmod -a
------------------
Wesly
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
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
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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