LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   VectorLinux (https://www.linuxquestions.org/questions/vectorlinux-36/)
-   -   USB Flash Drive will not automount (https://www.linuxquestions.org/questions/vectorlinux-36/usb-flash-drive-will-not-automount-545056/)

drlinux 04-11-2007 04:50 AM

USB Flash Drive will not automount
 
I have just successfully installed VL-soho 5.1.1 on an old Compaq deskpro PII 244MHz 128Mb RAM.

I am pleased with the result but was expecting to see my flashdrive appear on the KDE desktop when plugged into the computers USB port. Nothing appears on the desktop nor can I see anything in the /mnt directory

tail -f /var/log/messages gives the following output:

root@vector~]# tail -f /var/log/messages
Apr 11 07:55:10 vector logger: /etc/rc.d/rc.hotplug start (entering script)
Apr 11 07:55:12 vector logger: /etc/rc.d/rc.hotplug start (exiting script)
Apr 11 07:55:15 vector hpiod: 0.9.5 accepting connections at 1024...
Apr 11 07:55:21 vector sshd[643]: Server listening on 0.0.0.0 port 22.

When I plug in the flash drive there is no change to the above output

My /etc/fstab file is as follows:

# /etc/fstab: static file system information.
#
# The following is an example. Please see fstab(5) for further details.
# Please refer to mount(1) for a complete description of mount options.
#
# Format:
# <file system> <mount point> <type> <options> <dump> <pass>
#
# dump(8) uses the <dump> field to determine which file systems need
# to be dumped. fsck(8) uses the <pass> column to determine which file
# systems need to be checked--the root file system should have a 1 in
# this field, other file systems a 2, and any file systems that should
# not be checked (such as MS-initrd/mnt or NFS file systems) a 0.

# This is a root linux partition:
/dev/hda5 / ext3 defaults 0 1
/dev/hda6 /home ext3 defaults 0 2

# This is a linux ext2 partition:
#/dev/hda2 /mnt/linux ext2 defaults 0 2

# For dos partition use type 'msdos'.
# For win95/98 fat16 or FAT32 partition use type 'vfat'.
#/dev/hda1 /mnt/win vfat umask=0,quiet,shortname=mixed 0 0

# Floppy disks
# The 'noauto' option indicates that the file system should not be mounted
# with 'mount -a' 'user' indicates that normal users are allowed to mount
# the file system.
/dev/fd0 /mnt/floppy auto defaults,noauto,users 0 0
#/dev/fd1 /mnt/floppy auto defaults,noauto,users 0 0

# If you have a ls-120 floppy drive, it could be on /dev/hda b c d etc.
#/dev/hdd /mnt/ls120 auto defaults,noauto,users 0 0

# CDROM, CDWRITER, DVD
/dev/cdrom /mnt/cdrom iso9660 defaults,noauto,ro,users 0 0
/dev/cdwriter /mnt/cdwriter iso9660 defaults,noauto,rw,users 0 0
/dev/dvd /mnt/dvd iso9660 defaults,noauto,ro,users 0 0

# NFS file systems:
#linux01.gwdg.de:/suse/6.3/i386.de /mnt/nfs nfs defaults 0 0

# proc file system:
proc /proc proc defaults 0 0
# sys file system
##sysfs /sys sysfs defaults 0 0

# Unix98 devpts filesystem:
none /dev/pts devpts gid=5,mode=666 0 0

# Shared memory filesystem:
none /dev/shm tmpfs defaults 0 0

# Basic USB filesystem
usbfs /proc/bus/usb usbfs defaults,noauto,devmode=666 0 0

# this is for USB pendrive, but you may need to adjust the device
#/dev/sda1 /mnt/pendrive vfat umask=0,noauto,user,quiet,shortname=mixed 0 0

# The 'sw' option indicates that the swap partition is to be activated
# with 'swapon -a'.
/dev/hda2 none swap sw 0 0

and lspci gives:

[root@vector~]# lspci
00:00.0 Host bridge: Intel Corp. 440LX/EX - 82443LX/EX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corp. 440LX/EX - 82443LX/EX AGP bridge (rev 03)
00:03.0 Ethernet controller: 3Com Corporation 3c900 Combo [Boomerang]
00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 01)
00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 01)
00:0f.0 VGA compatible controller: Matrox Graphics, Inc. MGA 1064SG [Mystique] (rev 03)

Any advice on how to correct this problem would be greatly appreciated:)

ramram29 04-12-2007 01:47 PM

You need to run the automounter service.

drlinux 04-12-2007 09:21 PM

Quote:

Originally Posted by ramram29
You need to run the automounter service.

Sorry I'm a bit of a newbie with Vector - how do I do this?
Thanks

ramram29 04-12-2007 09:59 PM

There's a server called automount for automatically mounting directories mapped to hardware or network shares; just like there is a server for web page called apache; but this server is called automount. You need to install it and set it up properly - google it.

thorn168 04-18-2007 05:59 PM

drlinux,

here is the link to the vectorlinux website regarding usb hotpluging in your version.

http://vectorlinux.osuosl.org/docs/v...torage_en.html

Since your version as stated in your post is covered by this statement I would assume that the software part should work. The hardware on the otherhand maybe an issue. Have you used the usb ports on this laptop for any other devices? If so what?

drlinux 04-19-2007 02:36 AM

Thanks for that Thorn168 - I opted to go the easy route and did a fresh clean install of VL SOHO 5.8 RC2 and USB automount is up and running - I am impressed with VL SOHO 5.8 RC2 - it was an easy install - graphics and sound up and running out of the box, and relatively fast on my old box.:)

thorn168 04-19-2007 04:47 PM

Sometimes the new clean install is the best way to remedy the issue since the package in question may have been of questionable reliability in the older version. (Vector Linux has volunteer package maintainers, so it all depends on the package and the package maintainer doing their best to make the package work as well as it can.)

Well, I am glad that your problem has been resolved. Vector is a very stable linux distribution so help requests are somewhat infrequent.


All times are GMT -5. The time now is 01:31 PM.