Quickly enable your RedHat9 to support the NTFS file system
Source: Internet
Author: User
Article Title: Quickly enable RedHat9 to support NTFS file systems. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Environment: Redhat9 kernel upgraded to 2.4.20-20 with up2date
Steps: After the installation is complete, redhat will store a configuration file currently running the kernel under/boot, for example, my config-2.4.20-20.9, copy this file to/usr/src/linux-2.4, of course, you must install the source code of the kernel to compile
The cp config-2.4.20-20.9/usr/src/linux-2.4/. config
Then modify the Makefile under the/usr/src/linux-2.4 directory to find the fourth line:
EXTRAVERSION =-20.9 m
Change
EXTRAVERSION =-20.9
Save and exit
Then modify/usr/src/linux-2.4/. config to find
CONFIG_VXFS_FS = m
Add
CONFIG_NTFS_FS = m
CONFIG_NTFS_RW = y (write operation on ntfs is supported, only valid for ntfs4, and ntfs5 of windows2000 is invalid)
Save and exit
Then execute make dep in the/usr/src/linux-2.4/directory
Cd/usr/src/linux-2.4/
Make dep
Make modules SUBDIRS = fs/ntfs
After compilation, copy the compiled driver module to the kernle Module Directory:
Mkdir/lib/modules/2.4.20-20.9/kernel/fs/ntfs
Cp fs/ntfs. o/lib/modules/2.4.20-20.9/kernel/fs/ntfs
Depmod-
Then, if no error is reported, run
Modprobe ntfs
You can load the ntfs module.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service