Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi
Just loaded RH 7.3 (the unofficial versionm from LinuxCentral).
Now when I try mounting the Windows partition (Win XP) to /mnt/win with the ' -t ntfs' option, I get a message that'fs ntfs is not supported in the linux kernel' .
How can I get back the support for mounting ntfs file systems so that I can access my Win XP partition ?
whatever you have to type literally is in quotes. Otherwise a password or something where the exact moniker does not matter. Do not type the quotes though.
From a linux terminal window do:
"su" - enter your root password
"cd /usr/src/linux-2.4.18-3"
"make xconfig"
click File Systems button
scroll down to NTFS read support
select y
Click Main Menu
Click save and exit
"make dep;make clean;make bzImage"
"make modules;make modules_install"
"cp arch/i386/boot/bzImage /boot/ntfs-kernel" (actual name does not matter)
"pico /etc/grub.conf"
copy lines from title up to next title entry and paste them in at above first title entry
change the title name to something unique and in kernel=/ change to name you gave your recompiled kernel.
Example:
title Red Hat Linux (NTFS)
root (hd0,0)
kernel /ntfs-kernel ro root=/dev/hda2
initrd /initrd-2.4.18-3.image
make sure the root (hd0,0) and /dev/hda2 are the same as the other entries.
Originally posted by nilch I just loaded the stock RH 7.3 as it came on the CD's.
How do I compile the Kernel for the NTFS support ?
Any additional files needed to do that ?
Or can I set it up at insyall time as an option ?
I am not too far advanced in Linux uptil the 'cook my own kernel' stage as yet.
so help is appreciated.
Thanks
Nil
A few things you might want to try to save you from having to recompile your kernel just yet.
Try modprobing for the NTFS module (in a terminal): modprobe ntfs
If this returns nothing, and simply puts you back at a new bash prompt, then you have probably successfully loaded the module.
Now using the above mentioned method for mounting the drive (also in a terminal): mkdir /mnt/winbloze
mount -t ntfs /dev/hdX /mnt/winbloze
Replacing X with the correct drive letter/number for your winbloze drive. You decipher which drive is your winbloze drive type:
fdisk -l (FDISK -L lowercase)
and look for the NTFS filesystem. The corresponding drive will be the one to mount.
This is more than likely a very old thred however I need some help.
I followed this (below) to the letter and when I get to the
cp arch/i386/boot/bzImage /boot/ntfs-kernel
it returns
no such file or directory: arch/i386/boot/bzImage
I am running kernel 2.4.18-10 in redhat 7.3 and I still dont have ntfs support.
any ideas?
Quote:
Originally posted by thanko whatever you have to type literally is in quotes. Otherwise a password or something where the exact moniker does not matter. Do not type the quotes though.
From a linux terminal window do:
"su" - enter your root password
"cd /usr/src/linux-2.4.18-3"
"make xconfig"
click File Systems button
scroll down to NTFS read support
select y
Click Main Menu
Click save and exit
"make dep;make clean;make bzImage"
"make modules;make modules_install"
"cp arch/i386/boot/bzImage /boot/ntfs-kernel" (actual name does not matter)
"pico /etc/grub.conf"
copy lines from title up to next title entry and paste them in at above first title entry
change the title name to something unique and in kernel=/ change to name you gave your recompiled kernel.
Example:
title Red Hat Linux (NTFS)
root (hd0,0)
kernel /ntfs-kernel ro root=/dev/hda2
initrd /initrd-2.4.18-3.image
make sure the root (hd0,0) and /dev/hda2 are the same as the other entries.
reboot linux with the new kernel.
Last edited by The_Butler_1999; 10-14-2002 at 04:55 PM.
as per your advice (by thanko) i did the same thing but this not work. everything was running perfectly buut when i restarted it give me an error at startup mounting of file system fat was failed but previously it was running fine.
i want to access the nfts partition and i did the things exactly and i lost fat partition access also.
Means no ntfs and now no fat.
And one more when i shutted down the system nmb service also failed to shutdown.
on my 40 gb of hdd i have 1 ntfs 1 fat32 and 2 ext3 partitions how can i access both the partitions from my linux
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
you know you can't write to the ntfs drive from linux without
messing it up right? mickeysoft wont release the specs for
it.
a command would be
mkdir /mnt/c
mount -t ntfs /dev/hda1 /mnt/c or
mount -t ntfs /dev/hda2 /mnt/c or others depending on the drive letter.
you've got to have ntfs and fat and vfat compiled into the currently
running kernel for that.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
this is around the area in your kernel config where ntfs
and fat would be, under filesystems,
you know, make menuconfig
or make xconfig
from your kernel source directory.
is that what you're asking?
x <*> DOS FAT fs support x x
x x <*> MSDOS fs support x x
x x < > UMSDOS: Unix-like file system on top of standard MSDOS fs x x
x x <*> VFAT (Windows-95) fs support x x
x x < > EFS file system support (read only) (EXPERIMENTAL) x x
x x < > Compressed ROM file system support x x
x x[*] Virtual memory file system support (former shm fs) x x
x x <*> ISO 9660 CDROM file system support x x
x x[*] Microsoft Joliet CDROM extensions x x
x x [ ] Transparent decompression extension x x< > Minix fs support x x
x x < > FreeVxFS file system support (VERITAS VxFS(TM) compatible) x x
x x < > NTFS file system support (read only) x x
x x < > OS/2 HPFS file system support x x
x x[*] /proc file system support x x
x x [ ] /dev file system support (EXPERIMENTAL) x x
x x < > QNX4 file system support (read only)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.