You are not logged in.

#1 2009-04-29 15:31:32

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

[SOLVED] HAL not mounting internal NTFS

Hi,

Problem:
HAL isn't mounting my internal NTFS partition when clicking on the icon for that specific internal partition in Gnome's "PLACES". I click and nothing happens, at all. No error, no mention of failure and no folder being created in /media/

HAL does, however, mount my external NTFS drive without issue.

My user is a member of "storage" and "power" (as suggested in the HAL wiki)
There is no mention of any trouble in daemon.log, dmesg or everything.log

Any suggestions where to look? PolicyKit I assume?

Last edited by stefanwilkens (2009-04-30 21:08:20)


Arch i686 on Phenom X4 | GTX760

Offline

#2 2009-04-29 19:12:09

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: [SOLVED] HAL not mounting internal NTFS

My famous /etc/PolicyKit/PolicyKit.conf. Maybe it helps?

<config version="0.1">

<match action="org.freedesktop.hal.storage.mount-removable">
    <return result="yes"/>
</match>

<match action="org.freedesktop.hal.storage.mount-fixed">
    <return result="yes"/>
</match>

</config>

Offline

#3 2009-04-30 11:04:44

app4des
Member
Registered: 2009-02-18
Posts: 39

Re: [SOLVED] HAL not mounting internal NTFS

I think that the storage and power groups are not used anymore (I don't know if this is a bug).

As wilco suggested, using PolicyKit.conf overrides will allow you to mount them, but since internal/fixed drives usually contain other OSes, I would suggest adding an /etc/fstab entry instead with special permissions so that no harm can be done by other users.

Offline

#4 2009-04-30 19:00:37

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

Re: [SOLVED] HAL not mounting internal NTFS

app4des wrote:

I think that the storage and power groups are not used anymore (I don't know if this is a bug).

As wilco suggested, using PolicyKit.conf overrides will allow you to mount them, but since internal/fixed drives usually contain other OSes, I would suggest adding an /etc/fstab entry instead with special permissions so that no harm can be done by other users.

that will make them permanently mounted and would require that I have something else to quickswitch between mounted / unmounted state. I very much like how Gnome's "places" gives you clickable access to mounting / unmounting your internal partitions, this is why I was looking for a fix.

I've noticed that many people seem to want to direct me to fstab for internal partitions, why?

p.s. the fix worked perfectly.


Arch i686 on Phenom X4 | GTX760

Offline

#5 2009-05-01 05:11:45

securitybreach
Member
From: In front of my computers
Registered: 2007-11-18
Posts: 416
Website

Re: [SOLVED] HAL not mounting internal NTFS

As long as ntfs-3g is installed and configured (http://wiki.archlinux.org/index.php/NTFS_Write_Support ) , both internal and external ntfs drives will work perfectly with this PolicyKit:

<config version="0.1">
<match action="org.freedesktop.hal.storage.mount-removable">
    <return result="yes" />
  </match>
  <match action="org.freedesktop.hal.storage.eject-removable">
    <return result="yes" />
  </match>
  <match action="org.freedesktop.hal.storage.mount-fixed">
    <return result="yes"/>
  </match>
  <match action="hal-storage-mount-fixed-extra-options">
    <return result="yes"/>
  </match>
  <match action="hal-storage-mount-removable-extra-options">
    <return result="yes"/>
  </match>
</config>

It also fixes the usb and cdrom mounting issues that seem to plague the new hal.  I have a 500gb external NTFS drive that I mount with pcmanfm and on rare occasions gnome too without any problems.



Thanks

Last edited by securitybreach (2009-05-01 05:21:00)


"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website      Configs
Forum Admin: Bruno's All Things Linux   
securitybreach<a>archlinux.us

Offline

Board footer

Powered by FluxBB