admin管理员组

文章数量:1650768

做系统镜像的时候,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下格式化,就能解决的,记录一下吧。

本文标签: readSuperblock