Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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 a NTFS partition called DATA which automatically mount at boot (on /media/DATA). It gone good since now: in /media I have a DATA empty folder which i can't delete, and a DATA_ folder, where the DATA partition is mounted. How can I remount my partition on /media/DATA and not on /media/DATA_ anymore?

share|improve this question
up vote 1 down vote accepted

It seems like previously created DATA folder existed when you boot up your machine so the system created a new one. I think you can delete the old one and after reboot - it should be mounted as DATA again.

sudo rmdir /media/DATA


if it works then I would expect DATA_ empty this time, so lastly you can delete it too:

sudo rmdir /media/DATA_

share|improve this answer
IMHO rmdir would be preferable to rm -r since it avoids the possibility of accidentally removing the contents of the mounted filesystem. – steeldriver Aug 16 '14 at 10:09
@steeldriver nice comment, I've fixed it in the answer. – Ruslan Gerasimov Aug 16 '14 at 10:17

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.