做系統鏡像的時候,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下格式化,就能解決的,記錄一下吧。