Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed CentOS on my Windows computer.

How can I access my Windows files from CentOS?

share|improve this question

Assuming your Windows partition is NTFS (most probably a reasonable assumption):

First, find out what label your Windows partition has gotten in CentOS. As root, run

fdisk -l | grep NTFS

The left-most column is the partition label that you need later (assumed to be /dev/sda1 below - just change accordingly). The right-most column is the file system on the partition, and with grep we only pick those partitions that are NTFS.

Then, for CentOS 6, condensed from

For CentOS-6, the EPEL repository is carrying NTFS packages. To install, after enabling the repo per the Repositories page:

yum install ntfs-3g 

or if you prefer to leave EPEL disabled by default

yum --enablerepo epel install ntfs-3g 

You may also want to

yum install ntfsprogs ntfsprogs-gnomevfs 

for additional functionality.

Mounting an NTFS filesystem

Suppose your ntfs filesystem is /dev/sda1 and you are going to mount it on /mymnt/win, do the following.

First, create a mount point.

mkdir /mymnt/win 

Next, edit /etc/fstab as follows. To mount read-only:

/dev/sda1       /mymnt/win   ntfs-3g  ro,umask=0222,defaults 0 0 

To mount read-write:

/dev/sda1       /mymnt/win   ntfs-3g  rw,umask=0000,defaults 0 0 

You can now mount it by running:

mount /mymnt/win
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.