Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I have installed Fedora Core 2, and am fairly new to Linux.
I am attempting to mount my Windows XP partition (NTFS Volume) in Fedora Core 2, but after typing "cat /proc/filesystems", ntfs does not appear as a filesystem type. I have read that Fedora Core 2 kernel (2.6.5....) has built-in support for ntfs..... well I can't figure it out.
I mount using fstab and specify ntfs, but when I type "mount -a" I get ntfs not supported by kernel.
Oh, on an added note, I downloaded and attempted the install of the following rpm package:
kernel-ntfs-2.6.5-1.358.i586.rpm
And at first, it reported that the package is already installed??
lsmod in terminal says (and I su to root):
bash: lsmod: command not found
modprobe ntfs in terminal says (again, as root):
bash: modprobe: command not found
i tried the mount by using the fstab file, then trying mount -a and i get the following error:
mount: fs type ntfs not supported by kernel
i tried a manual mount from the terminal (mount /dev/hda1 -t ntfs -o ro /mnt/WinXp) and get:
mount: fs type ntfs not supported by kernel
It is instructions and a download for the Fedora2 RPM to get NTFS to work, as far as I know, NTFS is not supported natively in any RedHat related distro
I have never tried this for Core2 as I am still on Core1 but it worked for RedHad 9 and Core1
Just look the link for Core2 is only on the left side and not in the text like the others.
I have just booted my FC2 and indeed NTFS mount was not possible.
However fixing this, is not a problem at all.
Here what I have done
log in as root
1) make sure your kernel sources are installed
2) find out what kernel version you are running:
uname -a
3) cd /usr/src/linux-2.x.x
so in to the sources of teh kernel version you are running
4) make oldconfig
This produces a .config file.
if you
cat .config|grep NTFS
you will very likely see NTFS support out-commented
# CONFIG_NTFS_FS=n
CONFIG_NTFS_FS=n
open .config File and find the entry: # CONFIG_NTFS_FS=n
Remove the # sign and the leading space and replace the =n with =m (so NTFS will be a loadable module)
the row should look like:
CONFIG_NTFS_FS=m
Now:
make modules
This will take some time. You will be also prompted if you want to enable NTFS debugging and NTFS write.
You can press N (for No). I *strongly* recommend NOT to enable NTFS write support!!!!!!
Ather that and If *and only if* you are running 2.4.x kernel
make dep
make dep is *NOT* necessary if you are running 2.6.x kernel
after that (2.4,x and 2.6.x kernel)
make modules_install
Now you can load the NTFS module by
modprobe ntfs
after this step you shall be able to mount the NTFS partitions.
At this point, I made the .config file, and using cat, on the file:
cat .config|grep NTFS
I get:
# CONFIG_NTFS_FS is not set
???? I must have done something bad earlier on while attempting this myself... any ideas Vlad?
Oh, and Brentos.... thanks for that site. I actually hit it earlier, and installed the RPM, but appeared to do nothing. It told me it was already installed.
make oldconfig creates a .config file containing the configuration of the active kernel.
So if you did not recompile your kernel in the past *or* did recomplie your kernel but using
make oldconfig without changing the NTFS setting then there is one explanation left:
Fedeora delivers a kernel with disabled NTFS by default!!!
I indeed compiled a new kernel (2.6.7-rc2) but have used make oldconfig, without
changing anything related to NTFS. So I have used more or less the default Fedora settings!
Installing a RPM without recompiling the kernel wil not change the configuration of the kernel.
I am having the same problems as SRO, I have followed all of your steps Vlad and need to make modules, however, I am unsure how to do this. PLease explain
I did
vi linux*.config
changed all that was there
# CONFIG_NTFS_FS is not set
to
CONFIG_NTFS_FS=m
and saved this, now what do I need to do...
Sorry last msg was brief did not give all the info
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.