Re: Mount ntfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2003-12-30 at 10:54, Randall Crunk wrote:
> Andy Hargreaves wrote:
> > To return to the original question...
> > 
> > 1. Create a directory (using mkdir) in /lib/modules/2.xxxxx.nptl/kernel/fs
> > called ntfs.
> > 
> > 2. Put the file (link at the bottom of this message) into the newly created
> > ntfs directory.  Rename the file to ntfs.o
> > 
> > 3.  Permissions on the ntfs.o file should be 644 (i.e. use chmod 644 ntfs.o)
> > 
> > 4.  Now, the line in fstab needs to look similar this:
> > 
> >     /dev/hda1		/mnt/ntfs		auto		ro,user,umask=000    0 0
> > 
> > 
> > 
> > 
> > This is exactly what I have done, and it works fine.
> > 
> > This is the link to the file:
> > 
> > http://www.ajh-web.com/l/ntfs.o.txt
> > 
> > Andy
> > 
> 
> Thanks Andy but is isn't working for me. I am getting the same error "fs 
> type ntfs not supported by kernel"  I have kernel 2.4.22-1.2135 is that
> makes any difference.

First, after making the change to /etc/fstab, make sure you:
  1. verify that /mnt/ntfs exists - if it doesn't exist, create it, and
  2. execute 'mount -a' which will cause a mount of all devices
     according to the /etc/fstab file.
  3. execute 'df' to see if your ntfs partition is mounted

If that didn't work for you, continue reading below.

In Andy's example above, make sure you replace /dev/hda1 with your NTFS
partition device - if you're not sure which device that is,
do this:

  # fdisk /dev/hda
  Command (m for help): p   (enter 'p' for print)

then you'll get a listing that looks something like this:

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
   Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1         4     32098+  de  Dell Utility
/dev/hda2   *         5      1279  10241437+   7  HPFS/NTFS
/dev/hda3          1280      1292    104422+  83  Linux
/dev/hda4          1293      4865  28700122+   f  Win95 Ext'd (LBA)
/dev/hda5          1293      4735  27655866   83  Linux
/dev/hda6          4736      4865   1044193+  82  Linux swap, and

as you can see on this machine, the NTFS partition is /dev/hda2.

Also, make sure you create the /mnt/ntfs directory - you'll probably
need to be root.

If you still have problems, check /var/log/messages for error messages
that might give a clue as to what the problem is.

HTH.

Hardy Merrill




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux