Mounting NTFS in linux

FMJGomerPyle

Senior member
Feb 8, 2001
246
0
0
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?
 

Sunner

Elite Member
Oct 9, 1999
11,641
0
76
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.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
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
 

Koeppster

Senior member
Jul 6, 2001
331
0
0
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.

 

LintMan

Senior member
Apr 19, 2001
474
0
71
anyone know if there's any plans for them to add write support for NTFS in linux?
 

Sunner

Elite Member
Oct 9, 1999
11,641
0
76
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
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
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.
 

FMJGomerPyle

Senior member
Feb 8, 2001
246
0
0
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?
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< 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
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |