[solved] drive Mount problems on Daryna 044

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
roadrash
Level 2
Level 2
Posts: 97
Joined: Tue Nov 21, 2006 4:11 pm
Location: Huntingdon U.K.

[solved] drive Mount problems on Daryna 044

Post by roadrash »

Ive been using Daryn for a few days now and have found that when i plug in my external USB hard drive I cannot mount it as a user if i try i get the error hal-storage-removable-mount-all-options refused uid 1000. I can ony mount it from a shell with "sudo mount /dev/sda1 /media" like wise umounting must also be done with sudo.
Then if I try to mount any other partitions on my internal hard drive except the partition which Mint is on i get the error The file or folder /media/hda6 does not exist, until I unmount the external usb hard drive & then i get access to all the partitions again. I don't know whats causing this problem.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
iironjade
Level 4
Level 4
Posts: 332
Joined: Fri Jan 18, 2008 8:51 am
Location: London UK

Re: drive Mount problems on Daryna 044

Post by iironjade »

If you've been using the external drive with Windows that could be causing the problem. If, every time you disconnect it from Windows, you do so via the "Safely Remove Hardware" option then it should be automatically mounted when you connect it to a Linux machine. Also make sure you've already installed and configured NTFS-3G via Synaptic. It worked for me.
"A good many dramatic situations begin with screaming."
roadrash
Level 2
Level 2
Posts: 97
Joined: Tue Nov 21, 2006 4:11 pm
Location: Huntingdon U.K.

Re: drive Mount problems on Daryna 044

Post by roadrash »

I just ran an error check on it in windows and then did a "safely remove". I then disconnected it, booted into Mint, plugged it in again and as as soon as i tried to mount or open it I get the error hal-storage-removable-mount-all-options refused uid 1000.
This must be a problem with Mint as I also have Mepis installed on this PC & it accesses it without errors like this. It will only let me access it if I mount it with Sudo.
roadrash
Level 2
Level 2
Posts: 97
Joined: Tue Nov 21, 2006 4:11 pm
Location: Huntingdon U.K.

Re: drive Mount problems on Daryna 044

Post by roadrash »

I found a solution that works. Maybe this needs to be added to the next release.

The problem was solved by adding the following file
20-ntfs-config-write-policy.fdi in /usr/share/hal/fdi/policy/10osvendor/
with the following contents:

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

<deviceinfo version="0.2">
<device>
<match key="volume.fstype" string="ntfs">
<match key="@block.storage_device:storage.hotpluggable" bool="true">
<merge key="volume.fstype" type="string">ntfs-3g</merge>
<merge key="volume.policy.mount_filesystem" type="string">ntfs-3g</merge>
<append key="volume.mount.valid_options" type="strlist">locale=</append>
</match>
</match>
</device>
</deviceinfo>


Then i did a reboot and all worked.
Last edited by roadrash on Mon Jan 28, 2008 7:51 pm, edited 2 times in total.
User avatar
Boo
Level 7
Level 7
Posts: 1633
Joined: Mon Mar 26, 2007 7:48 am

Re: drive Mount problems on Daryna 044

Post by Boo »

thanks for the solution.
I have seen this problem out there but not such an clear answer.

Boo
Image
Now where was i going? Oh yes, crazy!
Locked

Return to “Software & Applications”