Ubuntu fails to mount SD card | USB not detected [SOLVED]

If you are also facing the problem that ubuntu is neither mounting nor reading you SD card, but your card is working fine then here is the solution:-

SOLUTION:1

Try the Disks program (if you run Ubuntu with a GUI).
(check that the gnome-disk-utility package is installed) (make sure that udisk2 package is installed)
Hit SUPERA to open the Application Lens and type Disks in the Search Applications field.
(SUPER is probably the key with the Windows icon.)
In Disks you can play with the automount options.
For example:
Ubuntu fails to mount SD card | USB not detected [SOLVED]
You have to click on the little icon with the two gears and choose 'Edit Mount Options'.
Ubuntu fails to mount SD card | USB not detected [SOLVED]

SOLUTION:2

 Using the CLI (for a headless installation)
Step 1. Check the blockdevices and the file systems that are assigned to those block devices.
lsblk
Ubuntu fails to mount SD card | USB not detected [SOLVED]
Here you see the blokdevice sdb with partition /sdb1. But it's not mounted. There's no file assigned to it.
Step 2. What kind of device is sdb?
sudo lshw 
or
sudo lshw | less
Ubuntu fails to mount SD card | USB not detected [SOLVED]
So the USB stick - the block device /sdb - has the logical name /dev/sdb. And the FAT32 filesystem on that stick has the logical name /dev/sdb1.
Step 3. Mounting the USB-stick
We will mount /dev/sdb1 to /media/usbstick
sudo mkdir /media/usbstick

sudo mount -t vfat /dev/sdb1 /media/usbstick 
Read the manpage of mount for other options.
Step 4. Did it work?
lsblk
Ubuntu fails to mount SD card | USB not detected [SOLVED]
Yes, we can see that the filesystem on the USB stick is mounted to /media/usbstick

THANKS..........
Ubuntu fails to mount SD card | USB not detected [SOLVED] Ubuntu fails to mount SD card | USB not detected [SOLVED] Reviewed by Sumit Bishnoi on December 10, 2019 Rating: 5

No comments:

Powered by Blogger.