Форматнул СД карту памяти средствами самого фотоаппарата. Накопились фото и я решил их скинуть на лэптоп, однако все оказалось нетривиально.
sudo mount /dev/mmcblk0 /mnt/usb
[sudo] пароль для niger:
mount: wrong fs type, bad option, bad superblock on /dev/mmcblk0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
[ 1605.493454] FAT-fs (mmcblk0): bogus number of reserved sectors
[ 1605.493471] FAT-fs (mmcblk0): Can't find a valid FAT filesystem
[ 1698.701124] FAT-fs (mmcblk0): bogus number of reserved sectors
[ 1698.701132] FAT-fs (mmcblk0): Can't find a valid FAT filesystem
[ 1998.458184] FAT-fs (mmcblk0): bogus number of reserved sectors
[ 1998.458200] FAT-fs (mmcblk0): Can't find a valid FAT filesystem
[ 3914.620519] FAT-fs (mmcblk0): bogus number of reserved sectors
[ 3914.620526] FAT-fs (mmcblk0): Can't find a valid FAT filesystem
sudo fsck /dev/mmcblk0
fsck из util-linux 2.29.2
e2fsck 1.43.4 (31-Jan-2017)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/mmcblk0
The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>
/dev/mmcblk0 contains `DOS/MBR boot sector; partition 1 : ID=0xb, start-CHS (0x1,2,3), end-CHS (0x3e8,48,48), startsector 8192, 8058880 sectors, extended partition table (last)' data