Linux not recognising NTFS
I am using Redhat Linux 4 Enterprise with kernel 2.6.9.5 EL.
I Have Win XP on machine also. Have downloaded the rpm fm sourceforge.net to recognise ntfs partions and data in them. Heave installed using rpm -i ... command.But it still does not mount the WIN XP partition, saying NTFS filesystem not recognised. Anyone, pls advise.Thks in advance. |
|
Jonas was correct, you should indeed read the document he linked you to - you have a lot to learn from it. But to answer your question - you most likely need to just enable NTFS read support for your kernel. I am using a friends computer that doesn't have Linux installed so I can't bring up menuconfig and tell you exactly where to find this option, but I know that it is under a menu with a name similar to "Filesystems" or some such thing. Browse around menuconfig for filesystem options and you will see the NTFS option. Note that at this time, the Linux kernel NTFS module provides only read access to NTFS partitions. If you are interested in write access, you might want to check out Captive NTFS. More information on everything I mentioned here can be found on google or this site. What Jonas told you (in effect) was dead on - learn to use search tools: they will become your best friend while learning linux.
hope this helps, jrtayloriv |
Quote:
But `STFW' is OK too :) --Jonas |
try kernel compilation
dear friend , @ first u check ur kernal is support the NTFS
is not u start the kernal compilation , there is an option to NTFS support try it csajjad@gmail.com |
Re: try kernel compilation
Quote:
|
USB reliance cdmA HELP
My Reliance CDMA works thru USB on Win XP.When I go to Linux,the phone switches off immediately.Can anyone explain why and how to fix it?
|
One question per thread please
You just got valuable advice from several people. Perhaps you should read the answers to your query a bit more carefully. You have quite obviously not paid close attention to anything that was posted. First you clearly did not read the site listed at Jonas' post, because you are still asking a question that does not provide any more information that your initial post (it is in fact essentially the same as the initial post). Did you try compiling NTFS support into your kernel like I suggested originally? It is very likely that this is the solution to your problem. I am not going to write you a step-by-step guide to configuring your kernel, because this information exists in abundance elsewhere. Use google and this site's search feature to find more information on the instructions that I gave you in my first post. If you have already done so, please give us an idea of what happened when you tried it, so we can determine why that failed. There are many people that would love to help you, but you have to help us do so, by providing us with information that will allow us to determine what exactly you need.
Good Luck, jrtayloriv |
for starters, post the output of
Code:
$ lsmod | grep ntfs --Jonas |
Quote:
To the original poster, don't let the search nazis get you down, everyone starts somewhere, some just seem to forget this and turn into dicks, and forget why people are on forums, to get and give HELP, not condescension. http://linux-ntfs.sourceforge.net/rpm/instructions.html This should get you on the right path Find the rpm you need download install rpm load module make sure you computer understands NTFS now make directory mount NTFS partition/drive to directory with permissions update /etc/fstab If you follow the instructions in the link I gave you, you will have NTFS support. |
Thks 92b16vx. I was wondering that if someone took the time to write a reply on a forum AND post a link, it wud be more useful than simply scolding a newbie.
I will try what u said. Anyone have any replies to my question why USB CDMA is shutting off itself immediately after Linux loadup? |
Quote:
Quote:
If you are, please point out where I'm a `search nazi', where I'm a dick, and where I'm condescending. Quote:
--Jonas |
Quote:
His questions was clear of what he was looking for, his title was pretty much on the mark of describing his question, I see nothing really wrong here. I think in some extreme cases, pointing members to such sites so they can ask better questions is called for but in this case, I'd have to think to myself that I've seen threads a thousand times worse than this one. If your going to only reply with that link to asking good questions on this thread, that means we might as well tag it on about 85% of all the other threads on this forum. Also and always, if your going to point people to such sites, at least link them or give them a brief solution to get them started, this is along the same lines of telling people to just go RTFM, if we all did that, what's the point of having these forums in the first place? We'd just have a bunch of one page Linux help sites that simply say: "Got a Question, Go RTFM!" |
trickykid: I may or may not have been right in *only* posting the link, but there seems to be consensus that in posting the link I DTRT.
I don't think, however, that it's right for 92b16vx to call us `nazis' and `dicks'--we *are* trying to help and not just making OPs life miserable. --- to OP: here's what I consider a better post, still within the boundaries of what I think you have the skills for. --begin hypothetical post-- I have Red Hat Linux <version> w. kernel <version> installed on <partitions>; I also have Windows XP installed on <partitions>. I downloaded http://foo.sf.net/path/frob.rpm and installed it with Code:
# rpm -i --bizarre-option frob.rpm Code:
# mount /dev/hda7 ---end of hypothetical post--- See--I don't expect you to know about modprobe, lsmod or fstab (yet), just a little precision in the little information you *do* post. Now may be a good time to at least *read* your fstab if you haven't already, and, if you feel up for it, read man {fstab,modprobe,lsmod} and play with them. --Jonas |
Thks.Will try & revert
|
This is a QuickReadMe I had prepared during my efforts to make linux read NTFS. Hope it'll be of some use in LQ.
1. Check the kernel version of your distribution [root@localhost downloads]# uname -a Red Hat 9 - Linux localhost.localdomain 2.4.20-31.9 #1 Tue Apr 13 18:04:23 EDT 2004 i686 i686 i386 GNU/Linux Here, the kernel is '2.4.20-31.9'. 2. Download the RPM for the corresponding kenel. Here, it'll be 'kernel-ntfs-2.4.20-31.9.i686.rpm'. 3. Install the RPM [root@localhost downloads]# rpm -ivh kernel-ntfs-2.4.20-31.9.i686.rpm Preparing... ####################################### [100%] 1:kernel-ntfs ######################################## [100 The Linux NTFS RPM has been successfully installed. Please read the NTFS FAQ if you want to know how to: * Mount an NTFS partition * Change the permissions/ownership of a mounted NTFS partition * Automatically mount an NTFS partition 4. Insert the installed RPM into the kernel [root@localhost downloads]# /sbin/modprobe ntfs [root@localhost downloads]# If the command exits successfully, no message(s) will be displayed. 5. Verify the filesystem supported by the kernel now [root@localhost downloads]# cat /proc/filesystems .... .... .. . nodev usbdevfs nodev usbfs nodev autofs nodev binfmt_misc ntfs As seen from the above list, 'ntfs' is displayed among the supported filesystems. 6. To check the version of the NTFS Driver If your kernel version is 2.4.*, or 2.5.0 - 2.5.10, then you probably have the Original NTFS Driver. If you have 2.5.11 or later, then you have got the New NTFS Driver. A better test is to look through the kernel logs for the NTFS log message. Try either of these commands (you may need to be root to read the logs). [root@localhost downloads]# grep -i ntfs /var/log/messages Nov 22 19:03:57 localhost kernel: NTFS driver v1.1.22 [Flags: R/O MODULE] Nov 23 12:17:25 localhost kernel: NTFS driver v1.1.22 [Flags: R/O MODULE] Nov 23 12:56:51 localhost kernel: NTFS driver v1.1.22 [Flags: R/O MODULE] OR [root@localhost downloads]# dmesg | grep -i ntfs NTFS driver v1.1.22 [Flags: R/O MODULE] NTFS driver v1.1.22 [Flags: R/O MODULE] The Original Driver is version 1.1.*, whereas the New Driver is version 2.*. 7. To display the partitions [root@localhost /]# fdisk -l Disk /dev/hda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 1275 10241406 7 HPFS/NTFS /dev/hda2 1276 9728 67898722+ f Win95 Ext'd (LBA) /dev/hda5 1276 3825 20482843+ 7 HPFS/NTFS /dev/hda6 3826 6374 20474811 7 HPFS/NTFS /dev/hda7 6375 6425 409626 83 Linux /dev/hda8 6426 6527 819283+ 82 Linux swap /dev/hda9 6528 9728 25712001 83 Linux 8. To mount an NTFS Volume It might be a good idea to check that your kernel understands NTFS. See Step 5. Next you need to create a place to mount the NTFS Volume. Then you can mount it. [root@localhost downloads]# mkdir /mnt/windows [root@localhost downloads]# mount /dev/hda1 /mnt/windows -t ntfs -r [root@localhost downloads]# cd /mnt/windows/ 9. To mount an NTFS Volumes automatically You can mount the volume automatically by adding a line to /etc/fstab (filesystem table). Below are some example mount commands and their equivalent fstab. NB Don’t worry about the meaning of the 0 0 on the end. mount /dev/hda1 /mnt/windows -t ntfs -r /dev/hda1 /mnt/windows ntfs ro 0 0 10.To unmount the Volumes When you have finished, you can unmount the partition with either of: [root@localhost /]# umount /mnt/windows/ OR [root@localhost /]# umount /dev/hda1 Reference: ---------- www.linux-ntfs.org FAQ: http://linux-ntfs.sourceforge.net/info/ntfs.html RPM: http://linux-ntfs.sourceforge.net/rpm/index.html SRC: ttp://linux-ntfs.sourceforge.net/rpm/rpmsrc.html |
All times are GMT -5. The time now is 05:07 PM. |