• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Mounting NTFS in linux

FMJGomerPyle

Senior member
I have RH 7.2 kernel version 2.4.2-2
I want to mount a NTFS 5 partition. Someone said I could only do this as read-only with a new kernel. Questions: what kernel do I need? how do you install/compile a new kernel?
 
You need to compile a kernel with support for NTFS, either through a module, or right in the kernel.

I don't remember when NTFS support showed up, but if you're gonna download the source and compile it, just grab the latest one.
It can be found at Kernel.org.

Compiling it is quite easy, provided you have the development packages installed.

It's all documented in the README file in the kernel tarball, but basically you do this:
make mrproper
make config / menuconfig / xconfig(different ways to configure the kernel).
make dep [edit]oups 😱[/edit]
make bzImage
make modules
make modules_install

More details are available in the README, also, have a look at Linuxnewbie.org.

Good luck.
 
You can only do this as read only under ANY kernel that supports it. 7.2 only came with 2.4.2?! That sounds odd. No wonder they dont tell you which kernel is included on the box 😛
 
I think RH 7.2 shipped with kernel 2.4.7, albeit a heavily tested and patched 2.4.7....actually behaves like a newer one, I think.

You're right about everything except "make deps", that should just be "make dep". However, it's in the README, which should be the ultimate authority rather than you or me. 😉

 
There is write support, but its still in experimental state(unless they changed it recently).

I've tried it and it worked, but don't go crazy if it doesnt work for you 😉
 
Write support is planned, but the linux-ntfs team is still in the "figure out how the hell MS does it" phase, and with MS changing small parts of it at every release it's just that much harder.
 
ok, i compiled 2.4.12 and i'm pretty sure everything went ok. i added support for ntfs drives in the menuconfig.
here's what i have in the fstab:

/dev/hdb /mnt/storage ntfs defaults 0 0

when i do mount /dev/hdb i get this error message:

mount: wrong fs type, bad option, bad superblock on /dev/hdb,
or too many mounted file systems

what am i doing wrong?
 


<< that's what i'm going for. i'll probably be putting plenty of posts here. >>



Thats fine, just dont make me go through my search tutorial again 😉
 
Back
Top