LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How do I get Linux to detect my NTFS drive? (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-get-linux-to-detect-my-ntfs-drive-154910/)

Abdul 03-08-2004 04:59 AM

How do I get Linux to detect my NTFS drive?
 
My C: is NTFS and Linux doesn't seem to be able to detect it (my other drives are FAT32 and they are fine)
What can I change to make it work?
My /etc/fstab looks like this:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hdb2 / ext2 errors=remount-ro 0 1
/dev/hdb5 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy auto user,noauto 0 0
/dev/cdrom /cdrom iso9660 user,noauto,ro
/dev/hda2 /c vfat
/dev/hda5 /d vfat
/dev/hda6 /e vfat auto,umask=0 0 0
/dev/hda7 /f vfat

hw-tph 03-08-2004 05:29 AM

First off, your fstab says your C: drive is /dev/hda2 and that it uses vfat/fat32. If that's not the case, comment that line out.

If your C: drive is /dev/hda1 then try to mount it from the shell first to verify it works: umount /c
mount -t ntfs /dev/hda1 /c


The umount command unmounts partitions. If you have a partition mounted on /c already it would be possible to mount another one at that same mountpoint. If this works, add it to your /etc/fstab:
Code:

/dev/hda1    /c    ntfs
It is also possible that your distribution by default doesn't support ntfs at all (Debian does, though, if that's what you use). If that's the case, check out the linux-ntfs project at sourceforge.net.


Håkan

Abdul 03-08-2004 05:57 AM

Ah you are right, it should be /hda1 not /hda2, silly me.
Thanks :)


All times are GMT -5. The time now is 04:12 PM.