How to get Dolphin mounting drives

Is there a way that I can get Dolphin to mount partitions? When I try to, it gives me an error on the bottom of the window saying I don’t have permission to. I also can’t mount partitions in other programs like Amarok, because of the same issue.

Error Message:

An error occurred while accessing ‘Windows 7’, the system responded: org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freeDesktop.hal.storage.mount-fixed auth_admin_keep_always ← (action, result)

To mount any partition to the Linux file system, you need to have root permissions. Further, using Dolphin would not be the normal way to do this type of thing, if at all. You need to have an empty folder location ready to mount your drive partition, you need to know its name, you need to understand the command and you need to use the root user password. Let us assume you have an empty folder called /windows/D and the drive partition is called /dev/sdb1. To mount this drive you would need to open up a terminal session (menu/system/terminal/konsole) then enter the following command in the terminal session.

su
password:
mount /dev/sdb1 /windows/D

Another option would be to use the YaST Partitioner program. Partitioner can not only create and format partitions, but it can be used to mount existing ones and even add them to your /etc/fstab file so that each time you start openSUSE, the partition will be mounted automatically for you. To start the Partitioner do the following: YaST / System / Partitioner. You must answer yes to the warning to start the program. Partitioner will scan all of your hard drives and partitions and then open up to the main screen. On the right side, you should see the drive you wish to mount. Right click on the partition (it will end in a number like sdb1) and pick edit. By default, the Format command will not be checked, do not change this. In the Mounting Options Window at the bottom, select its bullet and then enter a mounting location where you would expect Dolphin to find it like my other suggestion /windows/D. Then Say OK and then OK again and the partition will be added to your fstab file, if the folder does not exist it will be created and then the partition will be mounted for you, no need to reboot to see it.

Thank You,

I actually get access through Dolphin to a HD which were put in after I had installed OpenSuSE. This HD contains XP not W7. When I click on the icon on the ‘places’ bar in Dolphin I get prompted for a root password, type in password and it mount itself in /mnt I presume(?), have never checked. But it stays mounted and accessible until I unmount it manually. All this happens automatically for me on KDE 4.3.5.

PS
It actually imports the Windows assigned names of the disks as well. On the HD there is two partitions, C: is called ‘Local Disc’ and D: is called ‘Documents’. Dolphin labels them ‘Local Disc’ and ‘Document’, in its ‘places’ bar.

Cheers

On 11/08/10 12:06, F Sauce wrote:
>
> I actually get access through Dolphin to a HD which were put in after I
> had installed OpenSuSE. This HD contains XP not W7. When I click on the
> icon on the ‘places’ bar in Dolphin I get prompted for a root password,
> type in password and it mount itself in /mnt I presume(?), have never
> checked. But it stays mounted and accessible until I unmount it
> manually. All this happens automatically for me on KDE 4.3.5.
>
> PS
> It actually imports the Windows assigned names of the disks as well. On
> the HD there is two partitions, C: is called ‘Local Disc’ and D: is
> called ‘Documents’. Dolphin labels them ‘Local Disc’ and ‘Document’, in
> its ‘places’ bar.
>
> Cheers
11.2-kde4 (11.3 is similar but with slight name changes for some tab
names.)

In System Settings---->Advanced User Settings----->PolicyKit
Authorization---->org.freedesktop (various option settings)—>hal
(various option settings)—>storage—>(Set your preferred controls).

FSTAB - Editing Manually

This is what I’m looking for, but it doesn’t let me to mount my partition. Instead of prompting for a root password, it gives the error message I listed on comment #1. I’d rather not add anything to fstab because I don’t want it to auto-mount at boot time, I would prefer to mount it whenever I click ‘Windows 7’ in ‘Places’ in Dolphin

FYI

KDE4 does not auto mount, (Unless you alter the auto mount settings in the System Settings), even if the device is listed in fstab, you have to physically click the entry in ‘Places’