You are not logged in.

#1 2009-09-30 13:45:06

samsom
Member
Registered: 2009-07-17
Posts: 88

Accessing Windows partition from Linux ( SOLVED)

Hi,
My WinXP is on /dev/sda1 and I have a boot , root , home and swap partitions for Arch Linux.
I have been unable to access my Windows partition. Whenever I tried, I got the following error

An error occures while accessing 'Volume (ntfs)', the system responded:
org.freedesktop.Hal.Device.PermissionDeniedByPolicy:
org.freedesktop.hal.storage.mount-fixed auth_admin_keep_always <-- (action,result)

On googling it, I found instructions to mount the windows partition manually. So I created /mnt/winxp and issued the command

# mount -t ntfs /dev/sda1 /mnt/winxp 

which seemed to mount the windows partition.

However, now when I tried to access the partition folder from Dolphin, I get the message " Unable to enter /mnt/winxp".

I have added my username to the groups storage, hal and dbus. I also installed ntfs-3g, though I am not sure what it does.

Any suggestions, please

Thanks
Samsom

Last edited by samsom (2009-09-30 14:40:58)


Samsom

Offline

#2 2009-09-30 13:52:31

Lich
Member
Registered: 2009-09-13
Posts: 437

Re: Accessing Windows partition from Linux ( SOLVED)

Try mount -t ntfs-3g /dev/sda1 /mnt/winxp


Archlinux | ratpoison + evilwm | urxvtc | tmux

Offline

#3 2009-09-30 14:04:48

Wittfella
Member
From: Australia
Registered: 2008-05-27
Posts: 462

Re: Accessing Windows partition from Linux ( SOLVED)

I think this has something to do with PolicyKit.  Look in "/etc/PolicyKit/PolicyKit.conf".

I remember I had to add this below to mine to access my xp partition. (replace jack with your username obviously)

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

I have the feeling that this is a bit of a hack just to force policykit to do what you want and there may be a more correct or "proper" way to do it if you want to use PolicyKit properly, but I don't understand the whole PolicyKit/ConsoleKit arrangement.

Offline

#4 2009-09-30 14:40:39

samsom
Member
Registered: 2009-07-17
Posts: 88

Re: Accessing Windows partition from Linux ( SOLVED)

Lich wrote:

Try mount -t ntfs-3g /dev/sda1 /mnt/winxp

Cheers, man. Did the trick. I also altered the /etc/fstab file with ntfs-3g in the filesystem type and it seems to have worked.

Code:

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

I added this as well to the /etc/PolicyKit/PolicyKit.conf file as a belt and braces approach.

Thanks to both of you, Lich and Wittfella.
Samsom


Samsom

Offline

Board footer

Powered by FluxBB