Mount ntfs file system
Hello,
im trying to mount a ntfs file system (windows 2003 installation). The partion is located in /dev/hda1 (in Logical Volume Management). I tried the following command: Code:
mount -t ntfs /dev/hda1 /home/user/mntfolder mount: unknown filesystem type 'ntfs' I get the same error message without the -t option. Thanks for help Tobias |
Your kernel doesn't have the ntfs file system support. You will have to load the ntfs driver as a module. First see if you have it.
Code:
find /lib/modules -name ntfs.ko Code:
modprobe ntfs |
hi
you said Quote:
so logical partitions begins from /dev/hda5. /dev/hda1 to /dev/hda4 are primary partitions. it can help after loading the ntfs module |
Actually, "...in Logical Volume Management" would mean the device is something more like "/dev/mapper/vg0-lv0" (for example). You would mount that device, not it's container physical volume, /dev/hda1. Once you've determined the correct device to mount, of course you would also need NTFS support loaded via a kernel module.
Why would you put an NTFS filesystem under LVM? LVM is Linux ... Windows knows nothing about it. I would expect to find Linux-native filesystems, not Windows ones. A Windows filesystem on LVM, while probably doable, would be pointless. I'm wondering if when you say "Logical Volume Management" you might be talking about something else besides "Linux LVM"??? |
I installed now a kernel module for ntfs 2.6.18 for fedora 5, but afterwards when I checked with "cat /proc/filesystems" ntfs is still not listed. I downloaded from sf.net, and installed with rpm -iv modulename.rpm .
"Logical Volume Management" is just the name how Fedora 5 call the program to view the filesystem in the ide, so dont worry about that... I also cannot find the module ntfs.ko. And with modprobe I just get the message ntfs module not found. |
hi agian
tobiasw: does the command Quote:
haertig:could you please more clarify what is LVM?what is it for ...? because i though that he was talking about(Logical primary extended partition) |
Quote:
http://tldp.org/HOWTO/LVM-HOWTO/ See "Chapter 2" for a brief description of what it is and what it does for you. A "Logical Partition" (what you are talking about) is not the same thing as a "Logical Volume". The O.P. said: Quote:
|
hi again
thank you for the link |
Hi,
here is the out of fdisk, mount and fstab. Thanks for the help. fdisk -l Disk /dev/hda: 80.0 GB, 80026361856 bytes 16 heads, 63 sectors/track, 155061 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id System /dev/hda1 1 20321 10241752+ 7 HPFS/NTFS /dev/hda2 * 20322 41364 10605672 7 HPFS/NTFS /dev/hda3 41365 155061 57303288 5 Extended /dev/hda5 41365 58985 8880952+ 7 HPFS/NTFS /dev/hda6 72526 95163 11409426+ 7 HPFS/NTFS /dev/hda7 59001 59192 96358+ 83 Linux /dev/hda8 95163 155056 30186103+ 8e Linux LVM mount /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/hda7 on /boot type ext3 (rw) tmpfs on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) automount(pid1873) on /net type autofs (rw,fd=4,pgrp=1873,minproto=2,maxproto=4)/dev/hdc on /media/driver type iso9660 (ro,noexec,nosuid,nodev,uid=0) cat /etc/fstab /dev/VolGroup00/LogVol00 / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 /dev/VolGroup00/LogVol01 swap swap defaults 0 0 |
hi again
i think all of tthose(files or commands) do not provide an information about if ntfs is built or supported by your current kernel. fdisk:information about your disks eventhough it recognized the ntfs. fstab:the device and its mounted point that should be mounted automatically during the boot. look for the ntfs if it is supported by your current kernel |
Quote:
What does the command lsmod | grep ntfs show? Anything? Or find /lib/modules -name "*ntfs*" -print, as adilturbo previously suggested? If the first command shows nothing, but the second command finds the ntfs.ko module, try depmod -a, then modprobe ntfs |
All times are GMT -5. The time now is 06:35 PM. |