mount and unmount problem

Asked by rahulchoure4541 on 2011-11-08

when i install xfce desktop environment and then i did something for auto mounting and when i get back to my ubuntu desktop then i saw this problem :

Error unmounting: umount exited with exit code 1: helper failed with:
umount: only root can unmount /dev/sda2 from /media/RAHUL

rahul@ORACLE:~$ sudo fdisk -l
[sudo] password for rahul:

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x21d421d3

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 6373 51191091 7 HPFS/NTFS
/dev/sda2 6374 11473 40965750 7 HPFS/NTFS
/dev/sda3 11474 16573 40962622+ 83 Linux
/dev/sda4 16574 38913 179446050 7 HPFS/NTFS

pls help me.

Question information

English Edit question
Ubuntu udisks Edit question
No assignee Edit question
Last query:
Last reply:
zvacet (ivicakolic) said : #1

"umount: only root can unmount /dev/sda2 from /media/RAHUL"

sudo umount /dev/sda2

and i am getting this error on mounting the drive,

Error mounting: mount exited with exit code 1: helper failed with:
mount: only root can mount /dev/sda2 on /media/RAHUL

please help

zvacet (ivicakolic) said : #3

sudo umount /media
sudo umount /dev/sda2


delance (olivier-delance) said : #4

/media is a folder owned by root. You need to use "sudo" before "mount" command. After, you could have to change ownership of mounted folder.
Please read documentation advised by Zvacet.
Please provide file /etc/fstab. This file must contain any line related to /sda2 else there could be a conflict with udev.
Which version of Ubuntu are you using: 10.10, 11.04 or 11.10 ? The automount process is in evolution since 1 year.
N.B.: I will be back Monday.

assis@assis-System-Product-Name:~$ sudo mount /dev/sda2
Windows is hibernated, refused to mount.
Failed to mount '/dev/sda2': Operação não permitida
The NTFS partition is hibernated. Please resume and shutdown Windows
properly, or mount the volume read-only with the 'ro' mount option, or
mount the volume read-write with the 'remove_hiberfile' mount option.
For example type on the command line:

            mount -t ntfs-3g -o remove_hiberfile /dev/sda2 /media/BA5EA8625EA818E1

assis@assis-System-Product-Name:~$ mount -t ntfs-3g -o remove_hiberfile /dev/sda2 /media/BA5EA8625EA818E1
mount: operação exclusiva de root
assis@assis-System-Product-Name:~$ sudo mount -t ntfs-3g -o remove_hiberfile /dev/sda2 /media/BA5EA8625EA818E1

<b>sudo mount -t ntfs-3g -o remove_hiberfile /dev/sda2 /media/BA5EA8625EA818E1</b>

paolode (paolo-debortoli) said : #6

a bit strange behaviour. I am using ubuntu 12.04 on hp pavilion laptop with cinnamon, nemo, nautilus (but he behaviour is showed in other cases). I have external usb hdd and a crypted partition (luks format) on internal hd. when I unmount external hdds (ntfs formatted) it doesn't show any message like 'it is now safe to remove drive' and sometimes says 'failed to unmount'. when I unmount the crypted partition it says always 'failed to unmount'. however hdds and crypted partition are always unmounted. it seems that the system fails to check and close applications and processes related to hdds and partition. I have another normal xfs backup partition on internal hd, which doesn't show such problems in unmounting.

Can you help with this problem?

Provide an answer of your own, or ask rahulchoure4541 for more information if necessary.

To post a message you must log in.