|
发表于 2004-2-20 09:21:45
|
显示全部楼层
rh的系统需要编译ntfs的模块
[quote:6c8a3e69c4="ottawa"][原文URL]
http://fedoranews.org/jorge/howto/howto04.shtml
HOWTO: Add NTFS module to FC1
by Jorge Gallegos (Thanks goes to Hernan Fernandez from Chile for this howto)
Sometimes you need to access some NTFS partition(s) in your disk drive, and you maybe don't have the version 2.6 of the linux kernel (which already comes with native NTFS reading support and experimental NTFS writing support), this is an easy way to do that.
This is done by compiling the NTFS module and loading it as needed, this same process is described in detail here.
If you don't have already installed the kernel source, you can download it here (we will be using version 2.4.22-1.2129 for i586 during the example), and do the following:
$ sudo rpm -ivh kernel-source-2.4.22-1.2129.nptl.i586.rpm
$ cd /usr/src/linux-2.4.22-1.2129.nptl
$ sudo make menuconfig
Go to the "File System" menu and select the "NTFS file system support" item, "exit", "exit and save". Then run:
$ sudo make SUBDIRS=fs/ntfs modules
Now your ntfs.o (the NTFS support module) is in /usr/src/linux-2.4.22-1.2129.nptl/fs/ntfs, you copy it to your modules directory:
$ sudo cp /usr/src/linux-2.4.22-1.2149.nptl/fs/ntfs/ntfs.o /lib/modules/2.4.22-1.2149.nptl/kernel/fs/ntfs/
And then you can check by modprobing it:
$ sudo modprobe ntfs
If everything went ok, then you can now mount your elusive (until now) NTFS partition.
$ sudo mount -t ntfs /dev/hda1 /mnt/ntfs
Remember that the driver is READ-ONLY, if you try to write it will tell you that it's a read-only mounted file systems, but anyway, be careful. Also, you might want to add the command in your /etc/rc.sysinit to modprobe the ntfs module each time you boot the computer and add the proper entry in your /etc/fstab file for the NTFS partition.
More information about NTFS and Fedora Core 1 can be found here.[/quote] |
|