[SOLVED] Unmounting Windows partition not allowed?

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Unmounting Windows partition not allowed?

Postby LaCiccia » Apr 8th, '13, 16:38

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?
Attachments
errorUnmountingHDDwin7.png
errorUnmountingHDDwin7.png (28.32 KiB) Viewed 1372 times
Last edited by LaCiccia on Apr 9th, '13, 16:16, edited 1 time in total.
LaCiccia
 
Posts: 43
Joined: Mar 31st, '13, 22:37
Location: Italy

Re: Unmounting Windows partition not allowed?

Postby pete910 » Apr 8th, '13, 18:26

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.
User avatar
pete910
 
Posts: 357
Joined: Jan 8th, '12, 18:53

Re: Unmounting Windows partition not allowed?

Postby djennings » Apr 8th, '13, 18:44

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.
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: Unmounting Windows partition not allowed?

Postby LaCiccia » Apr 8th, '13, 20:56

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.
Last edited by LaCiccia on Apr 8th, '13, 21:31, edited 1 time in total.
LaCiccia
 
Posts: 43
Joined: Mar 31st, '13, 22:37
Location: Italy

Re: Unmounting Windows partition not allowed?

Postby LaCiccia » Apr 8th, '13, 21:24

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)
Attachments
errorUnmountingHDD.png
errorUnmountingHDD.png (28.17 KiB) Viewed 1351 times
mountoptions.png
mountoptions.png (76.85 KiB) Viewed 1351 times
LaCiccia
 
Posts: 43
Joined: Mar 31st, '13, 22:37
Location: Italy

Re: Unmounting Windows partition not allowed?

Postby doktor5000 » Apr 8th, '13, 22:07

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Unmounting Windows partition not allowed?

Postby LaCiccia » Apr 9th, '13, 09:02

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?
LaCiccia
 
Posts: 43
Joined: Mar 31st, '13, 22:37
Location: Italy

Re: Unmounting Windows partition not allowed?

Postby LaCiccia » Apr 9th, '13, 16:16

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.
LaCiccia
 
Posts: 43
Joined: Mar 31st, '13, 22:37
Location: Italy


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest