Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-07-2009, 09:19 PM   #1
LQ Newbie
Registered: Mar 2009
Location: Mysore
Posts: 5

Rep: Reputation: 0
how to mount ntfs partition in linux ?

can anyone tell me how to mount ntfs volume in red hat 5.1
Old 03-07-2009, 09:45 PM   #2
Registered: Jul 2008
Distribution: Debian, Ubuntu 10.04
Posts: 151

Rep: Reputation: 34
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.

Old 03-07-2009, 09:59 PM   #3
Registered: Nov 2007
Distribution: Opensuse 11.0 , Fedora 9 , Ubuntu 8.04
Posts: 54

Rep: Reputation: 15
# mount -t ( the device ) ( the mount partition )

find the type of device using fdisk -l and specify the mount point for example /media/windows_C or /mnt/windows_c etc

for more reference refer to the man page of mount
Old 03-07-2009, 10:43 PM   #4
LQ Newbie
Registered: Mar 2009
Location: Downey, ca
Distribution: Debian
Posts: 9

Rep: Reputation: 0
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.
Old 03-07-2009, 11:21 PM   #5
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
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:
$ cat /Jaunty/etc/fstab
# /etc/fstab: static file system information.
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda6
UUID=78b0b290-2ee7-46b1-a6b5-6eae61531fec / ext3    relatime,errors=remount-ro 0       1
# /dev/sda7
/dev/sda5       none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
# Ubuntu 8.10
/dev/sda7       /Ubuntu         ext3    defaults        0       2
# /dev/Fedora/Base
/dev/Fedora/Base /Fedora        ext3    defaults        0       2
/dev/sdb1        /Fedora/boot   ext3    defaults        0       2
# Vista
/dev/sda1       /Vista          ntfs-3g defaults        0       0
/dev/sda2       /Vista/Recovery ntfs-3g defaults        0       0
Note that the mount points listed in the second column must be created before fstab is used.

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):
$ sudo su -              ! Switch to running as root
Password:                ! Enter the password for "root"
# mkdir /Vista           ! Create the mount point
# mkdir /Vista/Recovery  ! Create the second mount point
# nano /etc/fstab        ! Use the nano editor to add the two lines from the example (or whatever you're using) to /etc/fstab
# mount /Vista           ! To verify that the /Vista entry is correct
# mount /Vista/Recovery  ! To verify that the second entry is correct
# ls /Vista              ! To look at the C:\ drive's contents
# exit                   ! To get out of "root" mode
$ exit                   ! To close the terminal session
Note: nano is not a fancy editor, but it works even when the window system is not available, so it's worth using just in case you need it some time. But you can substitute any editor you wish to use whet I suggested nano.

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.
Old 03-08-2009, 04:32 AM   #6
LQ Newbie
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
Thank You Very Much..........
Old 03-09-2009, 05:21 AM   #7
LQ Newbie
Registered: Mar 2009
Location: Mysore
Posts: 5

Original Poster
Rep: Reputation: 0


mount -t ntfs-3g /dev/yourdrive /mountpoint,

GIVING ERR as "unknown filesystem type 'ntfs-3g' "
Old 03-09-2009, 05:25 AM   #8
LQ Newbie
Registered: Mar 2009
Posts: 3

Rep: Reputation: 1
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount Corrupted NTFS Partition Under Linux omega71122 Linux - General 3 05-22-2005 09:55 PM
Can I mount an ntfs partition or read one using linux? r_squared Linux - General 8 11-20-2004 01:18 PM
Can I mount my windows NTFS partition from Linux? jdruin Fedora 14 04-21-2004 12:49 PM
How do I mount my NTFS WinXP partition on Linux? adam88 Linux - Software 6 04-18-2003 11:11 AM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration