Page 1 of 1

[SOLVED] Unmounting Windows partition not allowed?

PostPosted: Apr 8th, '13, 16:38
by LaCiccia
Hello,
I'm having problem unmounting Windows 7 partition from within Mageia. It's asking for root privileges but I don't know how to do that. Is this normal? Back in Ubuntu I used to simply right-click on the icon and pick "Unmount" from the sub-menu. Same thing in Mageia doesn't give the wanted result. Please see attached picture. If I unmount the partition, will it still be visible in the sidebar of Dolphin file manager?

Re: Unmounting Windows partition not allowed?

PostPosted: Apr 8th, '13, 18:26
by pete910
It requires root to un-mount HDD partitions.

However when you click on "un-mount" a pop up dialogue box should appear asking for your root password.

You proberbly have the "lib64kdesu5"(64bit arch) package missing if its not showing up.

On a console as root do

Code: Select all
rpm -qa | grep kdesu


of look via "install & remove software" in the menu.

Pete.

Re: Unmounting Windows partition not allowed?

PostPosted: Apr 8th, '13, 18:44
by djennings
In Mageia Windows partitions default to mounting at boot time automatically by the root user.

If you want to change that you must open MageiaControlCentre>LocalDiscs>ManageDiscPartitions and in the GUI select
'Advanced Mode' highlight the Windows partition you want to change and select 'Options'

Check the options 'noauto' to disable automounting at boot time, and
'user' to allow the user to mount the partition.

Re: Unmounting Windows partition not allowed?

PostPosted: Apr 8th, '13, 20:56
by LaCiccia
pete910 wrote:You proberbly have the "lib64kdesu5"(64bit arch) package missing if its not showing up.


I have a 32bit system (Mageia 2 i586 installed via DVD).
Still have to install that package?
--------EDIT:-------------------------------
I searched the Install and Remove Package for that package and didn't come up in the search.

Re: Unmounting Windows partition not allowed?

PostPosted: Apr 8th, '13, 21:24
by LaCiccia
djennings wrote:[...] you must open MageiaControlCentre>LocalDiscs>ManageDiscPartitions [...]
Check the options 'noauto' to disable automounting at boot time, and
'user' to allow the user to mount the partition.


I tried your advice but something went wrong. When I checked 'user', other 2 boxes automatically checked themselves. Since I didn't know better, I unchecked those two boxes then saved all the settings and rebooted. Next, when I tried to mount the Windows partition, this is what I got: (see errorUnmountingHDD.png)

And these are the options I get if I tick 'user' (see mountoptions.png)

Re: Unmounting Windows partition not allowed?

PostPosted: Apr 8th, '13, 22:07
by doktor5000
Then it would be libkdesu5 - but if i remember correctly you won't be asked for a password for partitions which are mounted via fstab.
I've got it installed and don't get asked for a password, same informational message.

Re: Unmounting Windows partition not allowed?

PostPosted: Apr 9th, '13, 09:02
by LaCiccia
doktor5000 wrote:Then it would be libkdesu5

Still, can't find it in the repository, doktor.
---------------EDIT------------------------------------
Now it's there, already installed. What can I do next?

Re: Unmounting Windows partition not allowed?

PostPosted: Apr 9th, '13, 16:16
by LaCiccia
Hi,
for now I solved this problem manually i.e.
Code: Select all
[aliquis@localhost ~]$ su -
Password:
[root@localhost ~]# cd /media/
[root@localhost media]# ls
cdrom/  windows/
[root@localhost media]# umount windows/


Then of course there's the inverse problem, clicking on the icon will give an error because the system can't see any 121GB HD. Therefore I type this in the Konsole:
Code: Select all
[root@localhost media]# mount windows/
 


----EDIT-----

After copying a file into Windows I wanted to unmount it and here's what I got :
Code: Select all
[root@localhost media]# umount windows/
umount: /media/windows: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
[root@localhost media]

How can it be busy? I don't understand...

--------------

Anyway, I think I can manage it this way. Thanks everybody for your input. Marking the thread as SOLVED.