Automounting External Media in Suse 11.1

Hello All,

I have tried unsucessfully to enable automounting for my 40 GB External Hard Drive in Suse 11.1. I am aware that there should be a line added to the Policy Kit to enable this, but the issue is that all of these files are .xml format and I can’t seem to open them for editing no matter what program I choose to open them. I have Device Automounter/Notifier Plasmoid and it shows the SD reader with card in it, but it does not show the USB external HD. Is there any other way to change this so I do not have to attach this external manually every time I turn this computer on? All of my music rests within my external and it gets to be very annoying when you have to manually mount to listen to music all the time. I’m using Suse 11.1, KDE. The external is a 40GB HD from Seagate. Hopefully someone can send me in the right direction.

Thanks to everyone for your help.

kate or kwrite will edit the file

kdesu kwrite /path_to/file

Tried this method with Kate and Kwrite and this is the output I received:

linux-vwjs:/home/j-dub # kdesu kwrite /usr/share/PolicyKit/policy/org.freedesktop.hal.storage.policy
kdesu(10621): Session bus not found

KCrash: Application ‘kdesu’ crashing…
sock_file=/root/.kde4/socket-linux-vwjs/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash cannot reach kdeinit, launching directly.
drkonqi(10622): Session bus not found

So,something is wrong. I tried to open the file in Dolphin as super user and editing it from there, but it won’t open and gives no reason why. Bummer.

Please post the result of this form a terminal:

zypper lr -d
zypper verify

j-dub@linux-vwjs:~> zypper lr -d

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

—±--------------------------±--------------------------±--------±--------±---------±-------±-----------------------------------------------------------------------------------------------------±-------
1 | KDE:KDE4:Factory:Desktop | KDE:KDE4:Factory:Desktop | Yes | Yes | 99 | rpm-md | Index of /repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.1 |
2 | KDE:KDE4:Playground | KDE:KDE4:Playground | Yes | Yes | 99 | rpm-md | Index of /repositories/KDE:/KDE4:/Playground/openSUSE_11.1_KDE4_UNSTABLE_Desktop |
3 | KDE:KDE4:UNSTABLE:Desktop | KDE:KDE4:UNSTABLE:Desktop | Yes | Yes | 99 | rpm-md | Index of /repositories/KDE:/KDE4:/UNSTABLE:/Desktop/openSUSE_11.1 |
4 | KDE:Qt46 | KDE:Qt46 | Yes | Yes | 99 | rpm-md | Index of /repositories/KDE:/Qt46/openSUSE_11.1 |
5 | devel:tools:building | devel:tools:building | Yes | Yes | 99 | rpm-md | Index of /repositories/devel:/tools:/building/openSUSE_11.1 |
6 | repo | Packman Repository | Yes | Yes | 99 | rpm-md | http://ftp.skynet.be/pub/packman/suse/11.1/ |
7 | repo-debug | openSUSE-11.1-Debug | Yes | Yes | 100 | yast2 | Index of /debug/distribution/11.1/repo/oss |
8 | repo-non-oss | openSUSE-11.1-Non-Oss | Yes | No | 99 | yast2 | Index of /distribution/11.1/repo/non-oss |
9 | repo-oss | openSUSE-11.1-Oss | Yes | No | 99 | yast2 | Index of /distribution/11.1/repo/oss |
10 | repo-source | openSUSE-11.1-Source | Yes | Yes | 100 | yast2 | Index of /source/distribution/11.1/repo/oss |
11 | repo-update | openSUSE-11.1-Update | Yes | No | 99 | rpm-md | Index of /update/11.1 |

:OYou have to be kidding!
You can **try **and get things back by doing the following:

Remove repo 2,3,4
Change Packman priority to 20

Then from a su terminal do

zypper dup

Did as your last post states. Mind you that I found this laptop with this OS in a junk pile near someone’s house. Did not really check into the repositories that much, but I guess I know better now. 336 updates to install from terminal after entering what you posted last.

Mostly, they will be roll backs, not updates. And I expect there will be a number of orphaned packages, not to worry too much about those, but if ever you try a unconditional update they might cause some errors.

Have you tried to putting it in /etc/fstab with auto-mount enabled? … idk… too old school?

Without the drive plugged in, do ls -l /dev/disk/by-id; take note of what’s in there. Plug the drive in and do the command again. The new entries are your external drive; it should be symlinked to something like sdc1 or something.

As root, vi /etc/fstab and add a new line with the first portion being the /dev/disk/by-id entry. If two appear it’ll be the one with ‘part1’ at the end. Then fill in the rest of the fields:

/dev/disk/by-id/usb-My-External-disk /mnt/My-External-disk vfat auto,user,users,rw 0 0

Make a the /mnt/My-External-disk folder so that everytime you plug the drive in it auto-mounts to it. ‘vfat’ is the filesystem of the drive you’re plugging in; most external are FAT32/VFAT. If it’s NTFS make sure you have NTFS-3G installed so you can use use ‘ntfs-3g’ for the filesystem. ‘auto,user,users,rw’ specifies the parameters of how to mount it. In this case and in the order you see it will… automatically mount, allow users to mount this disk, change all files on the disk to be accessible to anyone in the users group, and allow read and write privleges. The ‘0 0’ specifies fsck parameters. The first 0 can be either 1 or 0 with 0 specifying NOT to fsck the disk before mounting. The second 0 is the order in which to place the disk upon boot to fsck. My 1TB has ‘0 0’ because it’s crazy insane on how long it takes to fsck the **** thing.

Granted that this method isn’t as “pretty” as the others since it doesn’t show up in FUSE’s “new device/disk found” thing. But, if you plug it in you can just navigate to it and it’ll be there.

Is there anything else that I should do? I still have not solved this automount problem of my external hard drive. It works great in my desktop, but it has 11.2 on it. 11.1 won’t automount it. Is there a solution to this, possibly?

What makes you think that it’s not working? Need more info other than “still don’t work” to help you out.

Please open a terminal and become su -
Become su in Terminal - HowTo - openSUSE Forums

Post the result of this, with your external drive connected. If it looks to be in the output, tell us.

fdisk -l