5

I'm trying to mount a Micro SD card. I'm using Ubuntu 20.04.2. When I put a new micro SD card in, it automatically mounts and shows all files.

When I run: sudo mount /dev/mmcblk0p1 /media/micro && cd /media/micro, the commands work and shows the directory of the sd card.

When I put this card into my dash cam it, reformats it. I put the card in a windows machine it shows it as a FAT32 file system and shows all the video files. I can transfer to a thumb drive and it read all files fine on my Linux machine.

However When I put the SD card in my Linux laptop nothing. The command sudo mount /dev/mmcblk0p1 /media/micro I get:

aaron@aaron-K46CA:/media/micro$ sudo mount /dev/mmcblk0p1 /media/micro 
mount: /media/micro: more filesystems detected on /dev/mmcblk0p1; use -t <type> or wipefs(8).

Running: aaron@aaron-K46CA:~$ sudo mount /dev/mmcblk0 /media/micro [sudo] password for aaron: mount: /media/micro: wrong fs type, bad option, bad superblock on /dev/mmcblk0, missing codepage or helper program, or other error.

If I run sudo fdisk -l, I get:

Disk /dev/mmcblk0: 29.74 GiB, 31914983424 bytes, 62333952 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: 0x00000000

Thanks!

Artur Meinild
  • 31,035

1 Answers1

2

Either

$ sudo mount -t vfat  /dev/mmcblk0p1 /media/micro   #fat32

OR

$ sudo mount -t ntfs-3g  /dev/mmcblk0p1 /media/micro    #ntfs

should work

mondotofu
  • 817
  • 6
  • 12