Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How do I share folders between my Windows partition and Xubuntu 12.04 installed in VMware?

share|improve this question

1 Answer 1

So far NTFS is the only reliable method to do this. I've added this line in my /etc/fstab to do this with my laptop:

/dev/sda5 /mnt/share ntfs-3g defaults 0 0

But first you'll probably want to do the following before adding the line:

  • Locate the /dev name for your Windows partition. Mine is /dev/sda5.
  • Create a mount directory: mkdir /mnt/<dir_name>
  • Mount the partition to your mount directory: mount -t ntfs-3g /dev/sda5 /mnt/<dir_name>

You can check your mount by issuing:

df -kh

You should see an output like this:

/dev/sda5       220G   56G  165G  26% /mnt/share

At this point, go ahead and go to the directory and try writing to the file system with something like:

touch test.txt

If this is successful, then you should be able to add this line to your /etc/fstab:

/dev/sda5 /mnt/share ntfs-3g defaults 0 0

Save it and reboot. It should mount by default on a full restart.

Hope this is helpful.

share|improve this answer

Your Answer

 
discard

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.