How does scaning work?
This is from
http://ubuntuforums.org/showthread.php?t=1006328 I am still not familiar how the whole terminal thing goes for this. I don't know much on this. Quote:
I don't know where to start when I am very clueless on command line; only know very basic. |
open a terminal, login as root and type
Code:
tail -f /var/log/syslog So you can follow the logfile live. Quote:
Code:
badblocks -v /dev/hdx |
Quote:
Code:
badblocks: No such file or directory while trying to determine device size |
You need to know the partition you want to scan
As root Code:
fdsik -l Code:
badblocks -v /dev/xxxx |
Quote:
Edit: Wait, I got it. fdisk |
In a terminal type
Code:
tail -f /var/log/syslog It should read something like: Quote:
Quote:
|
Mine says:
Jul 5 06:42:13 ??? kernel: [ 4230.597654] FAT: Filesystem panic (dev sdb1) Jul 5 06:42:13 ??? kernel: [ 4230.597658] fat_get_cluster: invalid cluster chain (i_pos 116569480) Jul 5 06:42:13 ??? kernel: [ 4230.597667] FAT: Filesystem panic (dev sdb1) Jul 5 06:42:13 ??? kernel: [ 4230.597670] fat_get_cluster: invalid cluster chain (i_pos 116569480) Jul 5 06:42:13 ??? kernel: [ 4230.597677] FAT: Filesystem panic (dev sdb1) Jul 5 06:42:13 ??? kernel: [ 4230.597682] fat_get_cluster: invalid cluster chain (i_pos 116569480) Jul 5 06:42:13 ??? kernel: [ 4230.597689] FAT: Filesystem panic (dev sdb1) Jul 5 06:42:13 ??? kernel: [ 4230.597693] fat_get_cluster: invalid cluster chain (i_pos 116569480) Jul 5 06:42:13 ??? kernel: [ 4230.597701] FAT: Filesystem panic (dev sdb1) Jul 5 06:42:13 ??? kernel: [ 4230.597705] fat_get_cluster: invalid cluster chain (i_pos 116569480) Edit: I believe something's wrong with my computer reading FAT. |
Seems to me the usb has problems :-)
try Code:
badblocks -v /dev/sdb1 |
Quote:
My USB's file system: W95 FAT32 Result from badblocks: Code:
Checking blocks 0 to 3915203 |
fat32 on usb is no problem.
You could try to reformat the drive, unless you need to recover the data on the usb Can you read the usb in windows ? |
Quote:
I don't have Windows. Is there a way to fix the corrupted FAT system in the USB drive? |
Take a look at testdisk
http://www.cgsecurity.org/wiki/Main_Page |
Quote:
|
Perhaps you should first focus on accessing the drive.
From the site: Quote:
|
Sorry about that. I'm just paranoid of the fear that I will lose my crucial files related to my university.
|
All times are GMT -5. The time now is 07:25 AM. |