On Thu, 28 Nov 2002, [EMAIL PROTECTED] wrote: > Hi there.... > > > I have Linux RedHat 7.2 on my machine with a NTFS windows partition and > another FAT.... > Well the thing is that I can see the FAT partition on Linux but the NTFS > partition don't... > > Please, is there anybody who can tell me how I can mount a NTFS partition > on linux RedHat 7.2.....? > > or > > if exist any application that allow to do this....... > Your kernel probably doesn't support mounting ntfs. But here's a slight modification of an earlier reply I sent to a similar question on the valhalla list:
You can give your currently running kernel the ability to mount ntfs. Here's a cookbook procedure which involves first getting the ntfs module, ntfs.o, and then making it available to your kernel: 1) Go to the /usr/src/linux-2.4 directory (or whatever the corresponding directory for your kernel source may be). If you don't have anything like that in /usr/src, "rpm -q kernel-source" probably shows that you don't have the kernel-source rpm installed. Install it. 2) Copy one of the kernel configuration files from the configs directory to .config. For example, if you have the 2.4.9-34 kernel, while in /usr/src/linux-2.4.9-34, do "cp configs/kernel-2.4.9-i686.config ./.config". If this were the first step towards building a new kernel, you'd choose from the configs directory the example whose name indicates it's like what you've already installed. But in this case, it shouldn't matter. 3) Two ways of fixing .config: a) edit .config to replace "# CONFIG_NTFS_FS is not set" with "CONFIG_NTFS_FS=m"; b) do "make menuconfig", select "File Systems", and then change "< > NTFS file system support (read only)" into "<M> NTFS file system support (read only)". Similarly you can enable write support for NTFS file systems, but people who sound like they know say you shouldn't do that -- you may damage your ntfs files. 4) Produce fs/ntfs/ntfs.o with "make modules SUBDIRS=fs/ntfs". 5) In /lib/modules/2.4.<whatever else describes your kernel>/kernel/fs you already have directories ext3, fat, vfat, ... . Make another directory "ntfs" there, and copy ntfs.o into it. 6) Do "depmod -a". 7) Make an empty directory as a mount point for your ntfs partition. For example, "mkdir /mnt/w2k". 8) Mount your partition there. For example, "mount /dev/hda2 /mnt/w2k". 9) If you want the ntfs partition mounted when your machine boots, and want it to be readable by everybody, put in /etc/fstab the line /dev/hda2 /mnt/w2k ntfs ro,umask=000 Warning: I've done something similar with RH6.2, but not with 7.2. I think this will work, but I'm not absolutely certain. -- Steven Yellin _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list