I've been trying to mount a USB drive that's formatted as FAT32, and getting an error. The drive works fine on Windows machines.
When I try to mount it with sudo mount -t vfat /dev/sdb1 /media/usbdev, I get
mount: /dev/sdb1 is not a block device.
When I try to mount /dev/sdb to the same place (sudo mount -t vfat /dev/sdb /media/usbdev), I get
mount: wrong fs type, bad option, bad superblock on /dev/sdb,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
I've tried Googling around and searching this site. 1 and 2 seem like the most relevant questions, but the solutions proposed there haven't worked. I've tried adding a line to /etc/fstab (/dev/sdb1 /media/usbdev vfat defaults 0 0), also to no avail. I'm pretty confused - what's going on, and what can I do to mount this USB drive? I'd rather not reformat it since I have some important data on there.
Here's what lsblk returns:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 1 29.9G 0 disk
└─sdb1 8:17 1 29.9G 0 part
sda 8:0 0 119.2G 0 disk
├─sda2 8:2 0 488M 0 part /boot
├─sda3 8:3 0 118.3G 0 part
│ └─sda3_crypt 253:0 0 118.3G 0 crypt
│ ├─mint--vg-root 253:1 0 110.4G 0 lvm /
│ └─mint--vg-swap_1 253:2 0 7.9G 0 lvm
│ └─cryptswap1 253:3 0 7.9G 0 crypt [SWAP]
└─sda1 8:1 0 512M 0 part /boot/efi
And here's the relevant portion of sudo fdisk -l:
Disk /dev/sdb: 29.9 GiB, 32078036992 bytes, 62652416 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
Disklabel type: dos
Disk identifier: 0xc3072e18
Device Boot Start End Sectors Size Id Type
/dev/sdb1 96 62652415 62652320 29.9G c W95 FAT32 (LBA)
dmesg |tail shows the following:
[152334.491944] sdb: sdb1 [152334.493759] sd 3:0:0:0: [sdb] Attached
SCSI removable disk [153063.602803] sdb: sdb1
So, it seems like the device is being recognized - it just won't mount.
I'm new to Linux, so please let me know if I should provide more information. Thanks in advance.