无法安装 SD 卡 - 文件系统错误

无法安装 SD 卡 - 文件系统错误

刚刚购买了 SanDisk microSDHC 8Gb 卡并尝试将文件系统更改为 ntfs(通过终端使用 cfdisk)。无法安装设备。尝试改回FAT32,还是无法挂载。运行: sudo mount /dev/mmcblk0p1 /mnt -t vfat 我得到这个结果:

 mount: wrong filesystem, invalid option,
   bad superblock in /dev/mmcblk0p1, ...

另外,dmesg 的日志:

[13891.357486]  mmcblk0: p1
[13933.891942]  mmcblk0: p1
[13974.716677]  mmcblk0: p1 p2
[14149.721862] EXT4-fs (mmcblk0p1): VFS: Can't find ext4 filesystem
[14149.722387] EXT4-fs (mmcblk0p1): VFS: Can't find ext4 filesystem
[14149.722841] EXT4-fs (mmcblk0p1): VFS: Can't find ext4 filesystem
[14149.723275] FAT-fs (mmcblk0p1): bogus number of reserved sectors
[14149.723278] FAT-fs (mmcblk0p1): Can't find a valid FAT filesystem
[14157.995849] FAT-fs (mmcblk0p1): bogus number of reserved sectors
[14157.995864] FAT-fs (mmcblk0p1): Can't find a valid FAT filesyste

节点看起来是金色的。 lsblk 给了我:

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda           8:0    0 465,8G  0 disk 
├─sda1        8:1    0 461,9G  0 part /
├─sda2        8:2    0     1K  0 part 
└─sda5        8:5    0   3,9G  0 part [SWAP]
sr0          11:0    1  1024M  0 rom  
mmcblk0     179:0    0   7,4G  0 disk 
├─mmcblk0p1 179:1    0   7,5M  0 part 
└─mmcblk0p2 179:2    0   7,4G  0 part

cfdisk 运行正常。此外,fdisk -l 不会返回任何内容。 (运行 Linux Mint 17)

关于如何安装有什么想法吗?

编辑:我使用sudo fdisk.当我插入时 dmesg 正在识别:

arthur@arthur-Aspire-5750 /sys/block $ dmesg | tail
[15755.832422] FAT-fs (mmcblk0p2): bogus number of reserved sectors
[15755.832437] FAT-fs (mmcblk0p2): Can't find a valid FAT filesystem
[16074.307482]  mmcblk0: p1
[16183.923340]  mmcblk0: p1
[16247.504268] FAT-fs (mmcblk0p1): bogus number of reserved sectors
[16247.504274] FAT-fs (mmcblk0p1): Can't find a valid FAT filesystem
[16312.973630] mmc0: card aaaa removed
[16314.429559] mmc0: new high speed SDHC card at address aaaa
[16314.429919] mmcblk0: mmc0:aaaa SS08G 7.40 GiB 
[16314.439371]  mmcblk0: p1

但是我仍然无法安装(同样错误的文件系统错误)。

答案1

mmcblk0     179:0    0   7,4G  0 disk 
├─mmcblk0p1 179:1    0   7,5M  0 part 
└─mmcblk0p2 179:2    0   7,4G  0 part

mmcblk0p1 只有 7.5 MB 大,您可能打算运行

sudo mount -t vfat /dev/mmcblk0p2 /mnt

编辑
请记住,使用 更改分区类型是不够的cfdisk,您还需要格式化分区。

相关内容