Mount NTFS partition on CentOS 6

  • Enable epel repository
  • sudo yum install ntfs-3g ntfsprogs
  • edit /etc/fstab and add
    UUID=F8D22D76D22D39F0 /windows ntfs-3g rw,uid=500,gid=500,umask=007,locale=en_US.utf8        0 0
    where you can get the uuid of the partition from
    blkid
    command.
  • If you want to create a NTFS partition, remember it type number is 7
  • If you want to format a NTFS partition, you need to install ntfsprogs package, run command
    sudo yum install ntfsprogs; sudo mkfs.ntfs /dev/sda6

No comments:

Post a Comment