HPdv5/Jaunty-some usb devices don't mount on boot.

Asked by Leonard Rainbird on 2009-05-03

External usb hard drive and 2x flash drives won't mount on boot but usb mouse does.
After bootup if I unplug then replug any usb device, all usb devices then show on the desktop.

As was suggested I checked fstab as follows.........

# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=b02e6d7c-a1c3-4348-ac5c-684aaa3f972a / ext3 relatime,errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=67aea2c9-9d0f-46cb-9fac-360aebad2b4f none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,exec,utf8 0 0

There is no mention here [that I can see] of usb devices.

Can anyone help with this annoying little problem..........please.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Leonard Rainbird
Solved:
2009-05-05
Last query:
2009-05-05
Last reply:
2009-05-05

Output of lsusb after boot with no usb devices showing on desktop.

len@HP-DV5:~$ lsusb
Bus 002 Device 003: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive
Bus 002 Device 002: ID 1516:8628 CompUSA 128M Pen Drive
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 5986:0137 Acer, Inc
Bus 001 Device 002: ID 1058:1001 Western Digital Technologies, Inc. External Hard Disk
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
len@HP-DV5:~$

So they are being recognised at boot, so why are they NOT showing on desktop until I unplug/replug one of them?

peter b (b1pete) said : #2

pls take a look at

https://bugs.launchpad.net/ubuntu/+bug/344406

also /etc/fstab file would have to be edited; pls see

http://www.cae.wisc.edu/linfstab

hope the above will help.

regards,
peter b

Thanks Peter,

I will try and decipher the articles and hopefully fix the problem.

I may need to ask more questions though.

Cheers
Len

peter b (b1pete) said : #4

anytime.

peter b

Thanks Peter, your bloody marvelous.

I followed the links as you suggested ( https://bugs.launchpad.net/ubuntu/+bug/344406 )

and found this.................

Sergey,

There's an easy workaround. Just add a line with the text "usb_storage" to the file /etc/modules, and then rebuild the initrd file. Running the command /sbin/update-initramfs -k <kernel version> -u" where you need to replace <kernel version> with your current kernel version number will do the trick. So will installing a new kernel image after you update the /etc/modules files.

I followed these instructions and rebooted.
Magic, it works now.

Thanks again
Len