You are not logged in.

#1 2009-09-07 16:22:48

mag1strate
Member
Registered: 2009-03-31
Posts: 64

[SOLVED]hal not mounting devices

Hey guys I'm trying to use my external hard-drive but I keep on getting this error from hal:

org.freedesktop.hal.storage.mount-removable no <--(action, result).

Is there something wrong with hal that I must configure or do I have to reinstall it?

Last edited by mag1strate (2009-09-07 20:58:38)

Offline

#2 2009-09-07 17:39:47

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: [SOLVED]hal not mounting devices

That's odd, I'm able to automatically mount my external hard drive. Maybe uninstall and reinstall it would work? Make sure hal is running too.

Offline

#3 2009-09-07 17:44:36

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: [SOLVED]hal not mounting devices

You might wanna check the Policykit section in Hal wiki.


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#4 2009-09-07 17:45:35

mag1strate
Member
Registered: 2009-03-31
Posts: 64

Re: [SOLVED]hal not mounting devices

whenever I would try and start hal it would say that it failed in the first step! Would hal being uninstalled and reinstalled hurt my sistem?

Offline

#5 2009-09-07 17:48:54

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: [SOLVED]hal not mounting devices

Did you put it in your daemons array in /etc/rc.conf  ? 
(.......dbus hal.....)


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#6 2009-09-07 17:51:13

mag1strate
Member
Registered: 2009-03-31
Posts: 64

Re: [SOLVED]hal not mounting devices

yeah I did, do you think I need to reinstall it?

Offline

#7 2009-09-07 18:04:55

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: [SOLVED]hal not mounting devices

Add these lines in /etc/PolicyKit/PolicyKit.conf enabling user (e.g. rasat) to mount.

<config version="0.1">
<match action="org.freedesktop.hal.storage.mount-removable">
  <match user="rasat">
    <return result="yes"/>
  </match>
</match>
</config>

Markku

Offline

#8 2009-09-07 18:05:53

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: [SOLVED]hal not mounting devices

I don't think reinstalling is necessary, but if you do, you would have to reinstall all the other dependencies require it. Did you try restarting hal manually with /etc/rc.d/hal restart?

Offline

#9 2009-09-07 18:34:48

mag1strate
Member
Registered: 2009-03-31
Posts: 64

Re: [SOLVED]hal not mounting devices

yeah and it failed stopping and starting

Offline

#10 2009-09-07 18:41:03

mag1strate
Member
Registered: 2009-03-31
Posts: 64

Re: [SOLVED]hal not mounting devices

wow rasat that script worked like a charm!!

Offline

#11 2009-09-07 18:41:27

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: [SOLVED]hal not mounting devices

Are you doing this as root?

Edit: oh nvm then smile

Last edited by Acecero (2009-09-07 18:43:14)

Offline

#12 2009-09-07 20:55:07

mag1strate
Member
Registered: 2009-03-31
Posts: 64

Re: [SOLVED]hal not mounting devices

Thanks guys for all your helP!!!

Offline

#13 2009-09-07 21:34:29

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED]hal not mounting devices

Magistrate, I keep bumping into your topics today, and often they're common beginner problems (as is this one, and it's been covered plenty of times - which is why I'm closing it). I'd really appreciate it if you used the forum's search function - it does exist, and it does work (to some extent).

Thanks for being so considerate.

ShyLock: hal will call dbus if it's not running, so you can just put hal in the daemons array smile.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB