how to mount ntfs partition in linux ?
can anyone tell me how to mount ntfs volume in red hat 5.1
|
in a terminal type
man mount I usually don't tell folks that but there is a ton of good info on that man page. HTH dave |
Code:
|
mount /dev/yourdrive /mountpoint
or if your kernel supports write mode mount -t ntfs-3g /dev/yourdrive /mountpoint ofcourse you substitute yourdrive with your actual drive ex. hda1 sda1 and so on and mountpoint to where you want to mount it. you have to do does commands as root, unless you have an entry for it in fstab. |
If you're interested in mounting your NTFS partition(s) every time you boot your Linux system, you should add the mount instructions to the file /etc/fstab. As a possible model, here's a copy of the /etc/fstab I use for my Ubuntu system:
Code:
$ cat /Jaunty/etc/fstab In the above example, the last two entries are NTFS partitions. So, in order to set up the automatic mounting of the two partitions, I opened a terminal window and entered the following commands (Comments indicated by a bang (!) in the line): Code:
$ sudo su - ! Switch to running as root Warning: Some system will fail to boot if there are errors in /etc/fstab so you should always be sure to test your changes before you reboot. Note 2: If you're running a Ubuntu distribution, the sudo su - command may not work because Ubuntu disables root logon. So, on a Ubuntu system, you may need to precede mkdir, nano and mount commands by a sudo. |
Thank You Very Much..........
|
HI,
THANKS FOR THE HELP BUT WHILE RUNNING THE CMD mount -t ntfs-3g /dev/yourdrive /mountpoint, GIVING ERR as "unknown filesystem type 'ntfs-3g' " |
you are supposed to install ntfs file system support:
so first install ntfs-3g : yum install ntfs-3g Then go ahead and mount the file system: for eg: mount /dev/sda1 /mountpoint By default it identifies the FS type. you dont have to explicitly specify. |
All times are GMT -5. The time now is 08:53 AM. |