重新格式化损坏的SD卡会修复吗?

我今天尝试在新的SD卡上创建Ubuntu Mate安装。 Raspberry Pi无法启动(只有红色LED亮起)所以我检查了SD卡:

ole:$ sudo fsck -y -b 163840 -B 4096 /dev/mmcblk0p1 fsck from util-linux 2.29 e2fsck 1.43.4 (21-Nov-2017) fsck.ext2: Bad magic number in super-block while trying to open /dev/mmcblk0p1 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  

我也尝试使用备用超级块运行e2fsck,但似乎它们都很糟糕。 但是,运行badblocks并未报告任何错误。

 ole@mki:~/Downloads$ sudo badblocks -o ./badblocks.list -w -s -v -b 4096 -c 16 /dev/mmcblk0p1 Checking for bad blocks in read-write mode From block 0 to 7817983 Testing with pattern 0xaa: done Reading and comparing: done Testing with pattern 0x55: done Reading and comparing: done Testing with pattern 0xff: done Reading and comparing: done Testing with pattern 0x00: done Reading and comparing: done Pass completed, 0 bad blocks found. (0/0/0 errors) 

可以重新格式化卡片来修复错误吗? 我尝试将图像重新安装到卡上3次,但这没有帮助,所以只是好奇它是否可能只是一个格式问题?

更新

我使用ubuntu磁盘实用程序重新格式化了整个事情,现在它似乎没问题:

 ole:$ sudo fsck /dev/mmcblk0p1 fsck from util-linux 2.29 fsck.fat 4.0 (2016-05-06) /dev/mmcblk0p1: 1 files, 1/1953541 clusters 

我将尝试再次编写Ubuntu Mate映像,看看Raspberry Pi是否会启动它。

另一个更新

尝试将Ubuntu Mate刻录到它上面,在我完成它之后,该卡将无法在Nautilus中安装,它仍然无法启动Raspberry Pi:

 ole@$ sudo ddrescue -D --force ubuntu-mate-16.04.2-desktop-armhf-raspberry-pi.img /dev/mmcblk0p1 GNU ddrescue 1.21 Press Ctrl-C to interrupt ipos: 4999 MB, non-trimmed: 0 B, current rate: 6550 kB/s opos: 4999 MB, non-scraped: 0 B, average rate: 13192 kB/s 

未尝试:0 B,errsize:0 B,运行时间:6m 19s救出:5000 MB,错误:0,剩余时间:n / a获救百分比:自上次成功读取后100.00%时间:0s已完成

简短的回答是肯定的。 在这种情况下,重新格式化磁盘。 为了正式测试它,我安装了Raspbian而不是Ubuntu Mate,现在它工作正常。

这是关于安装Ubuntu Mate时发生的损坏的后续问题 。