How to have the ability to unmount a NTFS drive

Asked by mgoetz

After installing NTFS-config, I can not unmount my NTFS HD. I receive an error: "Error unmounting: umount exited with exit code 1: helper failed with: umount: only root can unmount /dev/sda2 from /media/NTFS". How can I regain the ability to unmount?

Also, how do I configure the system to NOT automatically mount the NTFS partition I configured with NTFS-config?

Question information

Language:
English Edit question
Status:
Solved
For:
ntfs-config Edit question
Assignee:
No assignee Edit question
Solved by:
ulul
Solved:
Last query:
Last reply:
Revision history for this message
Best ulul (ulul) said :
#1

Hi,

Mounting an umounting has to be done with root privileges.
Hence you nedd to sudo umount.

To prevent the automatic mounting you can either comment (better) or delete the entry in /etc/fstab or use disk-manager

Revision history for this message
mgoetz (mgoetz01) said :
#2

Thanks... worked as you stated. One thing I've noticed with a "NTFS-config mounted" partition is that when I delete a file from that partition, it can't be moved to "the trash" folder (file(s) are permanantly deleted). If I mount the NTFS partition manually, the deleted file(s) are moved to the "trash" folder. Of course, I would prefer the latter. Is there a way to around this?

Revision history for this message
mgoetz (mgoetz01) said :
#3

Thanks ulul, that solved my question.

Revision history for this message
ulul (ulul) said :
#4

Hi
great you're solved
I didn't answer your last question about the trash since I messed up with my partitions (and couldn't add an NTFS partition to test) :-)
If you found a workaround you could post a comment to explain it.

Revision history for this message
mgoetz (mgoetz01) said :
#5

Actually I haven't fixed that problem (the trash question). I thought I'd
post that as a separate question (tread). You could give me a hint if you
know how to resolve it though! :-) Thanks for following up.

On Tue, Dec 1, 2009 at 5:17 PM, ulul <email address hidden>wrote:

> Your question #91903 on ntfs-config changed:
> https://answers.launchpad.net/ntfs-config/+question/91903
>
> ulul posted a new comment:
> Hi
> great you're solved
> I didn't answer your last question about the trash since I messed up with
> my partitions (and couldn't add an NTFS partition to test) :-)
> If you found a workaround you could post a comment to explain it.
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
ulul (ulul) said :
#6

OK,
so I tested on my windows 7 partition (I don't use it anyway :-))

When I delete with Nautilus a file on the NTFS partition (file that I created myself from Ubuntu) it won't go to the trash whether the partition is mounted through ntfs-config or by hand, and to me that's normal since the partition is mounted with the axact same options by ntfs-config and by typing
sudo mount <dev> <mount point>

Could you please open a new question to explain a bit more what you do whan mountig/unmounting (and post the number in acomment so I can follow) ?

By the way, that ntfs-config thing doesn't seem quite complete. Once I had mounted a partition it was not visible from the GUI so I had to umount it (and clean up /etc/fstab) by hand. Then I had to rmdir the mount point after looking for the exact error message in my xsession-errors...

Ulul