Compile the kernel NTFS module (rhel3.0)

xiaoxiao2021-03-06  134

The NTFS module is compiled so simple! Reference: http://www.linuxsir.com/bbs/showthread.php? S = & threadid = 23837software: Redhat Enterprise Linux 3.0cpu: Athlon 950MHz Motherboard: VIA KT133 Operation:

# cd /usr/src/linux-2.4 ------- To make sure kernel-source - *. rpm is installed

# Make MrProper

# Make OldConfig

# Make Xconfig ------ Find file system, find NTFS, click on that block in the middle, indicating that you have to compile NTFS into a module, save exit

# vi makefile

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

Version = 2 PatchLevel = 4 SUBLEVEL = 21 extraversion = -4.El ----- Remove the Custom of this line in the Makefile file, otherwise the module that is compiled will not load because the version is different!

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

# Make Dep

# make clean

# Make Modules Subdirs = fs / NTFS ------ Start Compilation

# CD FS / NTFS

# ls ------ If there is no error, NTFS.O should appear in front of you!

# mkdir /lib/modules/2.4.21-4.el/kernel/fs/NTFS

# cp ntfs.o /lib/modules/2.4.21-4.el/kernel/fs/NTFS ------ copy NTFS.O to the past

# depmod # modprobe NTFS ---- Now you can load NTFS partition! ^ o ^ Test

# mount -t NTFS / DEV / HDA1 / MNT / C

Compiling the process of about 20 minutes

转载请注明原文地址:https://www.9cbs.com/read-127210.html

New Post(0)