Sample Header Ad - 728x90

Can't mount sd card

0 votes
0 answers
1017 views
I can't seem to figure how to mount an old 2GB sd card I had lying around from years ago. I forgot what I had on it... Using Debian 11 with KDE 5.20.5 * It's not recognized or mounted when insterted (other cards are, after restarting Dolphin several times, apparently a kde bug...) * When trying to mount manually (also tried with
-t vfat/exfat
):
sudo mount /dev/mmcblk0p1 /mnt/sdcard/
    mount: /mnt/sdcard: wrong fs type, bad option, bad superblock on /dev/mmcblk0p1, missing codepage or helper program, or other error.
* parted output:
Warning: Unable to open /dev/mmcblk0 read-write (Read-only file system). /dev/mmcblk0 has been opened read-only.
    Model: SD 00000 (sd/mmc)                                                  
    Disk /dev/mmcblk0: 2003MB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Disk Flags: 
    
    Number  Start   End     Size    Type     File system  Flags
     1      66.0kB  2003MB  2003MB  primary
* made a backup with
, that worked, now I have 2GB file on my hdd. * Also tried mkfs.vfat and mkfs.exfat, both complain thye can't open since it's read-only file system *
[1238558.491514] mmc0: new high speed SD card at address 0002
    [1238558.492101] mmcblk0: mmc0:0002 00000 1.87 GiB (ro)
    [1238558.509775]  mmcblk0: p1
    [1239085.062158] exFAT-fs (mmcblk0p1): invalid boot record signature
    [1239085.062168] exFAT-fs (mmcblk0p1): failed to read boot sector
    [1239085.062172] exFAT-fs (mmcblk0p1): failed to recognize exfat type
* tried
:
sudo fsck.fat -n /dev/mmcblk0p1
    fsck.fat 4.2 (2021-01-31)
    Logical sector size (7 bytes) is not a multiple of the physical sector size.
Asked by user548241 (1 rep)
Nov 7, 2022, 02:01 PM
Last activity: Nov 7, 2022, 02:44 PM