1828702 Members
2550 Online
109984 Solutions
New Discussion

NTFS Mounting

 
SOLVED
Go to solution
Francis Ancheta
Frequent Advisor

NTFS Mounting

I am using RH 8, I tried mounting my NTFS partition (HDB1 and HDB5 (extended partition) but the system will give me the following messege "ntfs not supported by kernel". I am now using 2.4.20-18. I need to mount it since all my database files are in this device.
13 REPLIES 13
Kjartan Maraas
Valued Contributor

Re: NTFS Mounting

Hi.

Red Hat does not include the ntft kernel module by default. If you need it you'll have to recompile the kernel yourself. Install the kernel-source RPM and run make menuconfig, then select NTFS under the filesystem menu. You can probably get away with just copying the module into the existing modules dir if you compile the exact same version as you have installed already.
Francis Ancheta
Frequent Advisor

Re: NTFS Mounting

Hi,

Does anyone know where I can download the source kernel? I am a new user of Linux and this are all new to me.
Francis Ancheta
Frequent Advisor

Re: NTFS Mounting

I tried checking red hat network and they only have the compiled kernels ...

Thanks ... Kjartan ...
Kjartan Maraas
Valued Contributor
Solution

Re: NTFS Mounting

The kernel source rpm for RH 8 (latest errata) is available at ftp://ftp.uninett.no/pub/linux/RedHat/updates/8.0/en/os/i386/kernel-source-2.4.20-18.8.i386.rpm

HTH.
Jerome Henry
Honored Contributor

Re: NTFS Mounting

And the tutorial to build your new kernel can be found here :
http://www.europe.redhat.com/documentation/rhl8.0/rhl-cg-en-8.0/ch-custom-kernel.php3
BTW, the kernel sources can alos be downloaded from Redhat, ftp://ftp.redhat.com/pub/redhat/linux/8/en/os/i386/RedHat/SRPMS
but it's quite crowdy...
Do not hesitate to post your problems if encoutered during re-compilation.
Notice also that mounting ntfs in read only is fairly a good idea, but in read write isn't quite a good one. You may have your ntfs operating system shouting at you on reboot that files have been altered, and so on...
J
You can lean only on what resists you...
Caesar_3
Esteemed Contributor

Re: NTFS Mounting

Hello!

You need to build new kernel with support
of ntfs FS inside.
Enter to /usr/src/linux
inside you could file file README
that will explain all the process for
building new kernel, all the options that
you have, very usefull.
If you don't have the directory that i mention
you will need to install the kernel source,
rpm -pi kernel-src....rpm from the installation CD.

Caesar
Francis Ancheta
Frequent Advisor

Re: NTFS Mounting

Hi All,

Thank you all for your answers.

I am migrating all my systems to RH 8 and honestly I am starting to learn all over again. I have used Microsoft for over 8 years and have perfected the trade but I am not satisfied with its performance specially on SQL and IIS. The first server I am migrating is a file server and all my Data is on NTFS partition. What are your suggestions? Since mounting NTFS as RW is not a good idea do you suggest I copy the files to a different partition using ext3 ? My delema is that when I do this and my RH system stops I would not be able to transfer my data to a microsoft system to copy my data. Do you think formating my new Partion using DOS format is a good idea then I mount it as MSDOS?
Vitaly Karasik_1
Honored Contributor

Re: NTFS Mounting

If you're planning to use Linux as file server for MS Windows network, I suggest:

1) move all your data to some "native Linux" filesystem, ext3 for example.

2) Learn, install & configure Samba

www.samba.org.

Regards,
Vitaly
Claudio Cilloni
Honored Contributor

Re: NTFS Mounting

I think that using a FAT32 partition is a good way to share data between linux and windows on a dual-boot machine. But I don't know if there are reasons that makes this a bad idea.

Another way (but maybe this isn't good for you) is a windows program called 'explore2fs', that lets you to access linux partitions (read-only).

bye
Claudio
Francis Ancheta
Frequent Advisor

Re: NTFS Mounting

Hi All,

Thanks for taking time to answer my querry.

I am currently using SAMBA 2.28.

One last question, I tried to recompile my Kernel and I had problems ... specifically the make install portion of my compilation. I had the following errors:

make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.20-18.8/arch/i386/boot'
make: *** [install] Error 2

and I did not have an initd image created. What should I do?
Vitaly Karasik_1
Honored Contributor

Re: NTFS Mounting

In fact, you don't need to recompile kernel, you can download ntfs.o from

http://linux-ntfs.sourceforge.net/info/redhat.html

vitaly
Francis Ancheta
Frequent Advisor

Re: NTFS Mounting

Thanks ... I downloaded it and it works fine ...
Caesar_3
Esteemed Contributor

Re: NTFS Mounting

Hello!

For the question about how fast to transfer
the data to your new file server i sugest to
use ftp and fast network connection.

Caesar