Steven Mocking
2006-05-21 13:31:33 UTC
When I tried to boot into my wintendo for a little gaming this morning,
chkdsk locked up the box while checking the first percent of the disk.
Fscking it from linux _looked_ like a good idea.
This is the transcript:
roestbak:~# fsck.vfat /dev/hda1
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
There are differences between boot sector and its backup.
Differences: (offset:original/backup)
65:03/00
1) Copy original to backup
2) Copy backup to original
3) No action
? 3
FATs differ but appear to be intact. Use which FAT ?
1) Use first FAT
2) Use second FAT
? 1
malloc:Cannot allocate memory
roestbak:~# free
total used free shared buffers cached
Mem: 515364 489292 26072 0 3556 349524
-/+ buffers/cache: 136212 379152
Swap: 497972 248664 249308
roestbak:~#
The boot sector difference is a non-issue. LILO doesn't overwrite the
backup, which is a sensible thing. The FAT difference is normal for a
disk which has been hit with a hamme^W^W^W^W^W spontaneously failed.
The data on that disk is safely backed up and rather useless anyway, so
reviving it won't be really necessary, but is that a memory leak in
fsck.vfat? Top shows it does indeed allocate all remaining memory. Can't
get a backtrace from it with gdb though.
Steven.
chkdsk locked up the box while checking the first percent of the disk.
Fscking it from linux _looked_ like a good idea.
This is the transcript:
roestbak:~# fsck.vfat /dev/hda1
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
There are differences between boot sector and its backup.
Differences: (offset:original/backup)
65:03/00
1) Copy original to backup
2) Copy backup to original
3) No action
? 3
FATs differ but appear to be intact. Use which FAT ?
1) Use first FAT
2) Use second FAT
? 1
malloc:Cannot allocate memory
roestbak:~# free
total used free shared buffers cached
Mem: 515364 489292 26072 0 3556 349524
-/+ buffers/cache: 136212 379152
Swap: 497972 248664 249308
roestbak:~#
The boot sector difference is a non-issue. LILO doesn't overwrite the
backup, which is a sensible thing. The FAT difference is normal for a
disk which has been hit with a hamme^W^W^W^W^W spontaneously failed.
The data on that disk is safely backed up and rather useless anyway, so
reviving it won't be really necessary, but is that a memory leak in
fsck.vfat? Top shows it does indeed allocate all remaining memory. Can't
get a backtrace from it with gdb though.
Steven.