how to show ntfs pardition in centos 5.4

General discussion about Linux, Linux distribution, using Linux etc.

how to show ntfs pardition in centos 5.4

Postby mynetcsp » Thu Dec 31, 2009 10:46 am

AOA dear all members plzz ansers i am install centos 5.4 and attach 2 hard drive with nfts pardition how i am view i am new to linux
mynetcsp
Cadet
 
Posts: 6
Joined: Tue Jul 03, 2007 1:22 am
WLM: mynetcsp@hotmail.com
Yahoo Messenger: mynetcsp@yahoo.com

mount NTFS

Postby saifkhan123 » Thu Dec 31, 2009 3:04 pm

if you want to view ntfs partitions in linux....then you have to mount them in linux.....for example if you are using ubuntu, You can mount NTFS or FAT windows partition with mount command.
=> Click on Applications
=> Select Accessories
=> Select Terminal
=> Now terminal window will be on screen.

First you need to create directory where you can attach windows partition using mount command (for example /media/c for C:):

Code: Select all

# mkdir -p /media/c

Now find out list of partition (click on System > Administration > Disks ) or use following command:

Code: Select all

# fdisk -l

Output:

Code: Select all

Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1        2432    19535008+  86  NTFS
/dev/hdb2            2433        2554      979965   82  Linux swap / Solaris
/dev/hdb3            2555        6202    29302560   83  Linux

As you see /dev/hdb1 is NTFS partition. Now type following command:

Code: Select all

# mount -t ntfs -o nls=utf8,umask=0222 /dev/hdb1 /media/c

To unmount Windows NTFS partition type command:

Code: Select all

# umount /media/c

Where,

* -t : Specify file system type (such as NTFS or FAT)
* umask=VALUE: Set the umask (the bitmask of the permissions that are not present). The default is the umask of the current process. The value is given in octal.
* iocharset=VALUE: Character set to use for converting between 8 bit characters and 16 bit Unicode characters. The default is iso8859-1. Long filenames are stored on disk in Unicode format.
everything that seems to be true is not always true.
saifkhan123
Cadet
 
Posts: 7
Joined: Thu Apr 23, 2009 8:26 am


Return to “%s” General

Who is online

Users browsing this forum: No registered users and 2 guests

cron