LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-15-2008, 09:00 AM   #1
SpectrumDT
LQ Newbie
 
Registered: Feb 2008
Location: Farum, Denmark
Distribution: Fedora 8
Posts: 2

Rep: Reputation: 0
Question KDE only halfway automounts my external hard drive


Hello.

I have done some searching on this forum and others, but I haven't been able to find a solution, so here goes:

I am using Fedora 8 and KDE. KDE is less than happy about mounting my external USB hard drive automatically. It detects the drive fine enough, and places a nice "My Book" icon on the desktop. But the problem is that until I click this icon, no other application can read the drive. Which means that both KTorrent and aMule start up with an error message, because they need to write to the external hard drive.

As soon as I click the "My Book" icon and open it in Konqueror, the drive mounts and everything works. But needless to say, it's annoying to have to manually click the icon at every boot, and have to deal with error messages from programs.

The behaviour is the same regardless of whether the drive is connected at boot or get connected later.

Can anyone help: How can I make it mount my USB drive automatically?

(BTW, the drive mounts perfectly fine in Gnome.)

Thanks in advance.
 
Old 02-15-2008, 02:27 PM   #2
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 797

Rep: Reputation: 43
You could try this:

Mount the drive as you described. Then examine /etc/mtab to see how it has been mounted and create an entry in /etc/fstab.

It will look similar to this:

/dev/sdc1 /media/usb0 vfat noauto,user,rw,noexec,sync 0 0

which happens to be my pen drive mount, which is automounted without any fuss when I insert it.
 
Old 02-15-2008, 06:10 PM   #3
SpectrumDT
LQ Newbie
 
Registered: Feb 2008
Location: Farum, Denmark
Distribution: Fedora 8
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by davcefai View Post
You could try this:

Mount the drive as you described. Then examine /etc/mtab to see how it has been mounted and create an entry in /etc/fstab.

It will look similar to this:

/dev/sdc1 /media/usb0 vfat noauto,user,rw,noexec,sync 0 0

which happens to be my pen drive mount, which is automounted without any fuss when I insert it.
Thanks, I'll try that.


EDIT: Hm, if I do that it still won't mount without my clicking the icon, and on top of that, when I click the icon I get "permissions denied".

The line I added to fstab looks like this:

/dev/sdb1 /externalb vfat rw,nosuid,nodev,noatime,uhelper=hal,flush,uid=500,utf8,shortname=lower 0 0

Any more help? Thanks in advance.


EDIT 2: On a side note, the icon on my desktop leads to the address "media:/sdb1", which looks somewhat strange to me. Is this information useful?

Last edited by SpectrumDT; 02-16-2008 at 10:42 AM. Reason: Added the "edit 2" paragraph.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-05-2007 12:28 AM
Ubuntu Feisty Automounts USB Hard Drives with Permissions for Root Only cdrom600 Ubuntu 4 05-14-2007 09:37 PM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 10:03 AM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 09:48 AM
XS Drive II external USB hard drive/card reader max74 Linux - Hardware 7 10-21-2003 11:41 PM


All times are GMT -5. The time now is 03:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration