Most of the time I insert a USB drive it errors out and will not open the disk.
The 3 drives I am trying to use each open fine in OpenSuSE Leap, but will not in Lubuntu.
Error
! The specified directory ‘/media/dad/A6E0-9781’ is not valid
lsusb -v
Bus 003 Device 002: ID 0781:5530 SanDisk Corp. Cruzer
Couldn’t open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 [unknown]
bDeviceSubClass 0 [unknown]
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0781 SanDisk Corp.
idProduct 0x5530 Cruzer
bcdDevice 1.00
iManufacturer 1 SanDisk
iProduct 2 Cruzer
iSerial 3 4C530099920808110214
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0020
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 200mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 1
Does anyone know that settings that need to change to allow the usb drives to not error out?
This is a clean install. I have not done any customization.
From the suggestions I see here, check to see if “usbmount” is installed on your copy of Lubuntu. If it isn’t, does installing it resolve this issue? You can verify whether this package is installed by using Synaptic or another package manager. Or you can open a terminal and enter this command…
sudo dpkg -l usbmount
OR
sudo dpkg-query -l usbmount
If you’re still unable to get your thumb drive to work, please open a terminal and post the results of…
just means the directory doesn’t exist or permissions are not right for the user i.e. the mount failed and/or permissions are not right for user account (i.e. dad)
Try: sudo lsusb -v
Then try partitionmanager
Hopefully the usb will appear in the Devices list and it will already have partitions.
Click on the partition that you want to mount, menu mouse select Properties and you’ll see (hopefully) relevant parameters/operations e.g. a check box for “Users can mount and unmount”… etc.
Perhaps the usb isn’t formatted at all? or the filesystem type isn’t supported. Could be several issues.
My apologies, it doesn’t appear that the usbmount package is offered beyond 20.04. I didn’t realize this until just now and I have no idea why it’s no longer being offered for newer versions of Ubuntu (and I’m guessing its derivitives.) Not that I really recommend this but if humpty and eeyore’s suggestion doesn’t work and no one else has any ideas, you can try installing the latest .deb package for usbmount here. Once the file’s been downloaded you can either double click on it to start the installation process or right click on the file and choose the installer you wish to use. However, if you receive any error messages while attempting to install it, including for unmet dependencies (but the installer still allows you to proceed past the warning,) I would suggest you stop immediately and just cancel out or shut down the installer.
I prefer to use gdebi to install .deb packages but Lubuntu’s native .deb installer (LXQt File Archiver) should be able to do that just fine, as well.
I’ve never tried using Synaptic to install a standalone .deb file but if it can and Lord willing, absolutely! However, the OP won’t see usbmount in the list of available list of packages and won’t be able to install it from the 22.04 repositories. I found the name of Lubuntu’s native installer, praise and thanks to God, and modified my post above to reflect that.
As a question, doesn’t Ubuntu support USB devices? The obvious answer is yes they do, but so shouldn’t a new installation automatically read and mount a usb stick? I’m a little confused.
I will be digging into your suggestions, but wanted to ask
Yes, it supports usb of course… But, that’s just the hardware part of it. One can format a usb in many ways. Most of these are supported as well. Occasionally someone requires a special driver for a particular filesystem, etc. Not likely, but, there are varieties/versions of OSs and filesystems and platforms, on and on.
As for synaptic, it does support downloads, but, I would search for a repo and just try to use the interface before resorting to a download. In this case, I guess you’re still interested in usbmount? It may or may not work with the version of Lubuntu you’re trying to install it on? I believe it is deprecated as of Jammy Jellyfish 22.04 and there are bundled/packaged alternatives.