LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mounting NTFS (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-ntfs-86951/)

dibyendra 08-29-2003 08:27 AM

Mounting NTFS
 
Hi there,
How to mount the NTFS partition in Red Hat Linux 9?
Thank you
Dibyendra

arunshivanandan 08-29-2003 08:56 AM

download and install the rpm for ntfs support.
http://linux-ntfs.sourceforge.net/info/redhat.html

Andy@DP 08-29-2003 08:59 AM

First you need to get the NTFS support RPM and install. Get from here: http://linux-ntfs.sourceforge.net/
Once thats done create a mount point in /mnt/
We'll call it partition so command to use is (from root)
mkdir /mnt/partition

Then to mount by command
mount -t ntfs /dev/hdxx /mnt/partition

the hdxx must be correct for your machine, hda for primary, hdb for slave thats on ide channel 0. hdc and hdd are channel 1.

the second x is the partition number, you can find that out by using fdisk or guessing... thats what I did. If its a logical partition chances are it will be 5 or 6, primary partition 1 or 2. But check first using fdisk -l (small L not number 1). That will give list of partitions.

If you want to auto mount at boot alter the /etc/fstab file.
Add the line

/dev/hdxx /mnt/partition ntfs auto,ro,umask=0222 0 0

I think that should work!

dibyendra 08-31-2003 06:53 PM

It Worked
 
Thanks Andy@DP,
IT worked.Thank you all .
Dibyendra:Pengy:

SiZaint 08-31-2003 07:28 PM

is there a way to mount it in read-only so i dont mess up my windows files?

Mathieu 08-31-2003 09:52 PM

To mount in read-only, use the ro option.
For example:
Code:

mount -t ntfs -o ro /dev/hda1 /mnt/windowsXP


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