[CentOS] ntfs

Sun Dec 5 21:29:47 UTC 2010
Niki Kovacs <contact at kikinovak.net>

Ritika Garg a écrit :
> CentOS 5.5 is installed in the system. I installed the package 
> kmod-ntfs-2.1.27-3.el5.elrepo.x86_64.rpm
> I mounted Seagate external hard disk. I am able to copy contents from 
> the hard disk to the system but not from the system to the hard disk.
> 

I've been following this thread, and I'm wondering: why bother with NTFS 
in the first place? If you have a mixed environment where you need 
Windows to access your external hard disk, you might as well format it 
with a FAT filesystem. Linux supports FAT natively, without making you 
jump through burning loops.

If you don't know how to achieve this, here's how :

1) Backup all your data.

2) Given your external disk is /dev/sda, launch fdisk, delete the NTFS 
partition and create a single FAT partition (hex code 0b).

3) Install 'dosfstools' and format your disk :

# mkfs.vfat /dev/sda1

4) From now on, mount your disk as FAT :

# mount [-t vfat] /dev/sda1 /mnt/disk

Cheers,

Niki Kovacs