Q:

USB Pendrive not recognizing

While creating a bootable pen drive in Windows 10 using Rufus my USB pen drive got corrupted. It cannot be recognized in Windows and Ubuntu machine.
In Ubuntu, while issuing the following command I can see that it is connected but it is not getting mounted.
$ sudo fdisk -l

Output
Disk /dev/sdb: 28.7 GiB, 30752000000 bytes, 60062500 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

A:

Open a terminal and type sudo umount /dev/sdb and type password, then mkfs.vfat /dev/sdb

