You are not logged in.

#1 2009-02-10 04:38:21

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

[SOLVED]usb drive not mounting

I get this error when I try to mount a usb drive in pcmanfm. It used to work correctly before. Since then I tried uninstalling fam and installed gamin. But now I have reverted back to fam and I still see this. What could be the issue?  I can mount the drive manually in CLI, but I was just wondering what suddenly happened.

inxs ~ > pcmanfm

(pcmanfm:4961): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1 char 57: '-' is not a valid character following a '<' character; it may not begin an element name

(pcmanfm:4961): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1 char 57: '-' is not a valid character following a '<' character; it may not begin an element name

Last edited by Inxsible (2009-02-13 05:43:07)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#2 2009-02-10 09:35:40

MattSmith
Member
From: Wellington, New Zealand
Registered: 2009-02-08
Posts: 108

Re: [SOLVED]usb drive not mounting

I believe this has something to do with HAL. If I remember right you have to configure pcmanfm to get auto mounting working correctly

check out this wiki

http://wiki.archlinux.org/index.php/HAL#NTFS


A thing of beauty is a joy forever
                         
                               -John Keats

Offline

#3 2009-02-10 13:45:43

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED]usb drive not mounting

MattSmith wrote:

I believe this has something to do with HAL. If I remember right you have to configure pcmanfm to get auto mounting working correctly

check out this wiki

http://wiki.archlinux.org/index.php/HAL#NTFS

Thanks, but my usb drive is Fat32, so i don't think this would apply. But yeah its probably related to HAL. I will look into it.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#4 2009-02-10 15:33:18

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: [SOLVED]usb drive not mounting


They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.

Offline

#5 2009-02-10 15:55:45

MattSmith
Member
From: Wellington, New Zealand
Registered: 2009-02-08
Posts: 108

Re: [SOLVED]usb drive not mounting

yes, I wasn't able to mount any file system until I did the fix that is in there, It's toward the end of the wiki.


A thing of beauty is a joy forever
                         
                               -John Keats

Offline

#6 2009-02-10 16:16:39

danij3l
Member
From: Osijek, Croatia
Registered: 2007-12-08
Posts: 36

Re: [SOLVED]usb drive not mounting

i have same problem sad

using pcmanfm (thunar has same error). ntfs or fat32 it doesn't care.

Offline

#7 2009-02-10 17:06:50

Duologic
Member
From: Belgium
Registered: 2007-11-11
Posts: 249

Re: [SOLVED]usb drive not mounting

Same here, when I click the device in PCmanFM so it mount, I get two empty popups and one popup with directory doesn't exists.

It isn't a policykit problem, as in I tried kjon's link

Offline

#8 2009-02-10 17:09:22

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED]usb drive not mounting

Duologic wrote:

Same here, when I click the device in PCmanFM so it mount, I get two empty popups and one popup with directory doesn't exists.

It isn't a policykit problem, as in I tried kjon's link

Yup I get the same thing...and the policykit thing doesn't help. Note that I do not have any problems shutting down or rebooting -- like others have had with other DEs. That could probably be because I just use a /sbin/shutdown to do it instead of any login manager or DE (which probably use hal, behind the scenes)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#9 2009-02-10 17:16:24

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED]usb drive not mounting

I'm using pcmanfm-fuse from AUR with gamin and everything's working. I was previously using pcmanfm-svn and things worked good there too. I was having some problems with the version in the repos though. I believe that it had nothing to do with pcmanfm and gamin themselves.

Offline

#10 2009-02-10 18:30:07

Duologic
Member
From: Belgium
Registered: 2007-11-11
Posts: 249

Re: [SOLVED]usb drive not mounting

I think it has something to do with HAL, but policykit doesn't solve this for me. I did update HAL yesterday.

Offline

#11 2009-02-10 18:40:18

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED]usb drive not mounting

I've been running the hal that's in extra now since Dec 15th. The only trouble that I had was with PolicyKit, and the solution is one of the one's in the wiki. Curious that it's working for some and not for others.

Offline

#12 2009-02-10 18:55:27

Duologic
Member
From: Belgium
Registered: 2007-11-11
Posts: 249

Re: [SOLVED]usb drive not mounting

Does someone know where I can find a log for pcmanfm or HAL?

edit: typo

Last edited by Duologic (2009-02-10 18:56:40)

Offline

#13 2009-02-10 19:02:45

spookyln
Member
From: Czech Rep
Registered: 2009-02-10
Posts: 39

Re: [SOLVED]usb drive not mounting

this working like a charm.
edit your /etc/PolicyKit/PolicyKit.conf
------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->

<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">

<!-- See the manual page PolicyKit.conf(5) for file format -->

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

Last edited by spookyln (2009-02-10 19:04:01)

Offline

#14 2009-02-10 19:05:21

Duologic
Member
From: Belgium
Registered: 2007-11-11
Posts: 249

Re: [SOLVED]usb drive not mounting

Got it, I think. By accident.

Check the link for kjon and do the policykit stuff.
Take out the part for power if you don't have any users in the group 'power'.

The daemon script on that page returns 0 power users, so that PolicyKit.conf becomes invalid.



(POST #100)

Last edited by Duologic (2009-02-10 19:08:42)

Offline

#15 2009-02-10 20:47:36

SomeGuyDude
Member
Registered: 2008-10-09
Posts: 271

Re: [SOLVED]usb drive not mounting

spookyln wrote:

this working like a charm.
edit your /etc/PolicyKit/PolicyKit.conf
------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->

<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">

<!-- See the manual page PolicyKit.conf(5) for file format -->

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

Bingo!! Man you guys are good.


And in the midst of such perfection,
I can't help but feel diseased.

Offline

#16 2009-02-10 21:05:50

danij3l
Member
From: Osijek, Croatia
Registered: 2007-12-08
Posts: 36

Re: [SOLVED]usb drive not mounting

spookyln wrote:

this working like a charm.
edit your /etc/PolicyKit/PolicyKit.conf
------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->

<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">

<!-- See the manual page PolicyKit.conf(5) for file format -->

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

TY
working solution

Offline

#17 2009-02-11 11:29:47

giner
Member
Registered: 2007-02-28
Posts: 26
Website

Re: [SOLVED]usb drive not mounting

Another way:

<config version="0.1">
        <define_admin_auth group="wheel"/>
        <match user="root">
                <return result="yes"/>
        </match>
</config>

Last edited by giner (2009-02-11 11:30:10)

Offline

#18 2009-02-11 22:34:49

Nixie
Member
Registered: 2008-09-24
Posts: 51

Re: [SOLVED]usb drive not mounting

Thank you spooklyn and giner, I started having the same problem as the OP today after a system update and altering the policykit.conf worked like a charm.

Offline

Board footer

Powered by FluxBB