LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mount NTFS partitions (https://www.linuxquestions.org/questions/linux-software-2/mount-ntfs-partitions-80855/)

heinrich 08-11-2003 03:04 AM

mount NTFS partitions
 
how can i mount a NTFS partition?

jharris 08-11-2003 03:16 AM

So long as your kernel supports NTFS (I would imagine it does) you can simply use the normal mount command
Code:

mount /dev/hdXN /someDir/
Where X is the letter of the hard disk (a,b,c,etc) and N is the number of the partition on that disk. Note that you'll only be able to read from the partition, not write to it.

HTH and welcome to LinuxQuestions.

Jamie...

codecruncher 08-11-2003 06:47 AM

Since you are using RedHat9, you have to get the module first. Don't panic - NO compiling involved...

Simply go to:
http://linux-ntfs.sourceforge.net/info/redhat.html

and follow the instructions. If they don't have the newest kernel module there, just wait a little, they will put it on the page pretty soon.

RedHat did not include NTFS support because of copyright conzerns. (Just in case you were wondering....)


best regards
Klaus

Skyline 08-11-2003 03:27 PM

Hi Heinrich

To mount a NTFS filesystem on Boot-up were all users have Read access, put an entry at the bottom of your /etc/fstab file on a new line - (just substitute in your Partition, Mount point and User ID Number ( uid ) in place of my example ones)

/dev/hda1 /mnt/windows ntfs auto,ro,umask=222,uid=501 0 0

You can get your User ID Number by opening a command line and typing:

id username – (substitute username with whatever your username is)

Look for the:

uid=xxx

That's your user id number.

As Codecruncher mentioned - Red Hat currently doesn’t include a NTFS driver because of uncertainties surrounding the legal status of the driver

Get the RPM from:

http://linux-ntfs.sourceforge.net/info/redhat.html


All times are GMT -5. The time now is 01:00 PM.