u盘损坏 Can't Read Superblock

编程知识 更新时间:2023-04-30 09:19:58

做系统镜像的时候,u盘突然就识别不了了,果断切到ubuntu,但是

$ sudo fsck /dev/sdc
fsck from util-linux 2.20.1
dosfsck 3.0.13, 30 Jun 2012, FAT32, LFN
There are differences between boot sector and its backup.
Differences: (offset [Click and drag to move] riginal/backup)
65:01/00
1) Copy original to backup
2) Copy backup to original
3) No action
? 2
Both FATs appear to be corrupt. Giving up.

果然,大多数人能解决问题的命令,在这里解决不了
还让我放弃

Then I tried :

$sudo dumpe2fs /dev/sdc | grep superblock
dumpe2fs 1.42.5 (29-Jul-2012)
dumpe2fs: Bad magic number in super-block while trying to open /dev/sdc
Couldn't find valid filesystem superblock.

依旧没解决

 终于找到了:

I did it but not matter.

It is a little odd for me. I reformat it to "Ext3" and I guess problem Solved


$sudo mkfs.ext3 /dev/sdc
[sudo] password for jason:
mke2fs 1.42.5 (29-Jul-2012)
/dev/sdc is entire device, not just one partition!
Proceed anyway? (y,n) y
warning: 512 blocks unused.

Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
984960 inodes, 3932160 blocks
196633 blocks (5.00) reserved for the super user
First data block=0
Maximum filesystem blocks=4026531840
120 block groups
32768 blocks per group, 32768 fragments per group
8208 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

 解决了

至于为什么发生这种情况,没想明白,可能是UltralISO的原因吧,出现在写入镜像的时候

一直听说,u盘病毒什么的都是针对windows的,之前也遇到过一个把所有文件都变成快捷方式的病毒,也是放在ubuntu下格式化,就能解决的,记录一下吧。

更多推荐

u盘损坏 Can't Read Superblock

本文发布于:2023-04-22 14:06:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/51ab4bbf7b4b2fca7510424e0263ad24.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Read   Superblock

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!

  • 96250文章数
  • 24394阅读数
  • 0评论数