Linux

無法掛載 SD 卡 - 錯誤的文件系統

  • October 7, 2014

剛買了一張 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

但是我仍然無法掛載(同樣的錯誤文件系統錯誤)。

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,您還需要格式化分區。

引用自:https://unix.stackexchange.com/questions/159853