Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Quirks in Scandisk, Chkdsk, Fixmbr, Fixboot

70 views
Skip to first unread message

Franc Zabkar

unread,
Mar 13, 2008, 6:06:46 PM3/13/08
to
I recently had to repair file system corruption for two XP users, one
with a FAT32 partition, the other with NTFS. Unfortunately I have
little experience with XP so I struggled quite a bit. Anyway I
discovered that Microsoft's disc repair tools were flawed in several
ways.

Case #1
-------

The PC with the NTFS partition had an inaccessible registry file,
c:\windows\system32\config\system. It couldn't be deleted, copied, or
renamed, so the procedure in this MSKB article could not be applied:

How to recover from a corrupted registry that prevents Windows XP from
starting:
http://support.microsoft.com/kb/307545

I attempted to run CHKDSK from the repair console of a bootable XP CD,
but the file system was deemed to have unrecoverable errors. I then
installed the drive into an external USB enclosure, attached it to a
working XP system, and ran CHKDSK from within a CMD window. CHKDSK
found many problems, including an MFT issue, all of which were fixed.
Prior to running CHKDSK, I tried to repair the drive from within the
GUI via Tools > Properties, but this also produced an "unrecoverable"
message.

Case #2
-------

The PC with the FAT32 partition could not boot. It produced a "missing
NTLDR" error. This suggested that the MBR and boot sector were
probably OK, and that the error was somewhere in the FATs or directory
structure. I booted into the repair console of an XP CD and tried a
DIR command. This produced a "could not be enumerated" error. DISKPART
was able to see the full partition (38GB), so the partition table and
MBR were apparently OK. CHKDSK deemed that the drive was
"unrecoverable". In desperation I tried the FIXBOOT command and that's
when things became extremely bizarre. A DIR command was now able to
see the C: drive, but there were no files! The partition size was
reported as 10MB (or was it 10GB?). I reconfirmed with DISKPART that
the partition table was still intact, but in desperation I now tried
FIXMBR. This command warned me that the MBR contained unknown or
damaged code, so I went ahead and allowed it to refresh the code. It
reported success but when I ran FIXMBR a second time, it still
complained of unknown or damaged code.

Now I'd had enough, so I installed the drive into an external USB
enclosure and attached it to a working XP system. I used DEBUG from
with a CMD window to view the drive's boot sector and was horrified to
see a FAT12 signature. For some inexplicable reason, FIXBOOT had
replaced a FAT32 HD boot sector with a FAT12 floppy boot sector!
CHKDSK was unable to repair this problem, and My Computer showed the
drive as having a capacity of 10MB (or 10GB?). I then used DEBUG to
zero the contents of the boot sector, thinking that now CHKDSK would
have a better chance to repair it, but CHKDSK now complained that it
would not operate on a RAW volume. Attempting to repair the drive from
within the GUI using Tools > Options produced no response.

Now I was getting desperate. I took the USB drive to my Windows 98SE
box and to my surprise Explorer was able to see the entire drive with
all the original files apparently still intact! SCANDISK determined
that the first copy of the FAT was corrupt, but it didn't tell me that
the boot sector was missing. It just used the backup copy of the boot
sector (logical sector 6) and behaved as if all was well. With some
trepidation I allowed Scandisk to repair the FAT, and to fix the
misreported file sizes for SYSTEM.LOG and SOFTWARE.LOG. However,
Scandisk did not replace the damaged boot sector. I had to do this
manually via DEBUG in a DOS box, by copying the contents of sector 6
to sector 0. After doing this, I was able to see the all the files in
a working XP system (in the USB enclosure), and CHKDSK reported that
all was fine. However, I was still unable to boot from the drive when
I reinstalled it in the original XP box.

So what was wrong? I looked closely at the boot sector again and found
that it was a Win9x boot sector, ie there were references to IO.SYS,
MSDOS.SYS and WINBOOT.SYS, but no reference to NTLDR. WTF! I decided
to load XP onto a spare HD that had been FDISKed and FORMATted by
Windows 98SE and sure enough XP replaced the boot sector with its own
FAT32 code, but it did not touch the backup boot sector. So XP had
created a file system that had an XP boot sector and a Win9X backup.

So what to do now? I decided to make a hybrid boot sector by using the
tail end of an XP FAT32 boot sector for the code, and the beginning of
the Win9X boot sector for the data. After restoring this patched boot
sector to sector 0, the drive booted in the original machine and all
was well. BTW, boot sector templates can also be extracted from
AUTOCHK.EXE.

As a final check, I used MBRtool to make a copy of the MBR code. I
then compared this with an MBR template that I found inside
DISKPART.EXE. There was no difference. So why did FIXMBR complain
about unknown or damaged code?

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.

here@hotmail.com MEB

unread,
Mar 14, 2008, 5:35:07 AM3/14/08
to

"Franc Zabkar" <fza...@iinternode.on.net> wrote in message
news:ia9jt35o6fi1rrjkq...@4ax.com...


| I recently had to repair file system corruption for two XP users, one
| with a FAT32 partition, the other with NTFS. Unfortunately I have
| little experience with XP so I struggled quite a bit. Anyway I
| discovered that Microsoft's disc repair tools were flawed in several
| ways.
|
| Case #1
| -------
|
| The PC with the NTFS partition had an inaccessible registry file,
| c:\windows\system32\config\system. It couldn't be deleted, copied, or
| renamed, so the procedure in this MSKB article could not be applied:
|
| How to recover from a corrupted registry that prevents Windows XP from
| starting:
| http://support.microsoft.com/kb/307545
|
| I attempted to run CHKDSK from the repair console of a bootable XP CD,
| but the file system was deemed to have unrecoverable errors. I then
| installed the drive into an external USB enclosure, attached it to a
| working XP system, and ran CHKDSK from within a CMD window. CHKDSK
| found many problems, including an MFT issue, all of which were fixed.
| Prior to running CHKDSK, I tried to repair the drive from within the
| GUI via Tools > Properties, but this also produced an "unrecoverable"
| message.

That error seems to indicate corruption within the streams and other file
handling. Did the computer get rapidly shut off by power disruption, or
perhaps suffered power flucuations?

http://support.microsoft.com/kb/308041
Resources for troubleshooting startup problems in Windows XP
http://support.microsoft.com/kb/307654
How to install and use the Recovery Console in Windows XP
http://www.microsoft.com/technet/prodtechnol/winxppro/reskit/c28621675.mspx
XP Professional Resource Kit - Troubleshooting Disks and File Systems

Excerpt http://support.microsoft.com/kb/314835/en-us:
If you run CHKDSK online, the code that actually performs the verification
resides in utility DLLs, for example Untfs.dll and Ufat.dll. The
verification routines that CHKDSK invokes are the same routines that run
when a volume is verified through the Windows Explorer or Disk Management
graphical user interface.
However, if CHKDSK is scheduled to run when the computer restarts, the
binary module that contains the verification code is Autochk.exe, a native
Windows program. Because Autochk.exe runs early in the computer's startup
sequence, Autochk.exe does not have the benefit of virtual memory or of
other Win32 services.
Autochk.exe generates the same kind of text output that the Chkdsk.exe
utility DLLs generate.

NOTE where the information is obtained from/used.

Microsoft Windows 2000 uses the NTFS file system version 3.0, and Windows
XP uses the NTFS file system version 3.1.
The MBR created by a running Windows 2000 or XP OS (specifically Disk
Management) when used to install a completely blank hard drive on your
system; includes details about the Win 2k/XP *Disk Signature bytes*!
http://thestarman.pcministry.com/asm/mbr/NTFSBR.htm
http://thestarman.pcministry.com/asm/mbr/NTLDR.htm
http://thestarman.pcministry.com/asm/mbr/ntFAT32BR.htm

| Case #2
| -------
|
| The PC with the FAT32 partition could not boot. It produced a "missing
| NTLDR" error. This suggested that the MBR and boot sector were
| probably OK, and that the error was somewhere in the FATs or directory
| structure. I booted into the repair console of an XP CD and tried a
| DIR command. This produced a "could not be enumerated" error. DISKPART
| was able to see the full partition (38GB), so the partition table and
| MBR were apparently OK. CHKDSK deemed that the drive was
| "unrecoverable". In desperation I tried the FIXBOOT command and that's
| when things became extremely bizarre. A DIR command was now able to
| see the C: drive, but there were no files! The partition size was
| reported as 10MB (or was it 10GB?). I reconfirmed with DISKPART that
| the partition table was still intact, but in desperation I now tried
| FIXMBR. This command warned me that the MBR contained unknown or
| damaged code, so I went ahead and allowed it to refresh the code. It
| reported success but when I ran FIXMBR a second time, it still
| complained of unknown or damaged code.

First I would question whether you cold rebooted between the two FIXMBR
[FIXMBR {ugh} which I found to be questionable when using] trys.

Second:
http://support.microsoft.com/kb/300415/ - Diskpart Command-Line Utility

Third, did you use the proper commandline syntax for the tools?

http://support.microsoft.com/kb/247575/EN-US
Chkdsk Does Not Use Backup Boot Sector to Fix Corrupted FAT32 Boot Sector

http://www.microsoft.com/technet/prodtechnol/winxppro/reskit/z03c621675.mspx
XP Professional Resource Kit - Tools for Troubleshooting

|
| Now I'd had enough, so I installed the drive into an external USB
| enclosure and attached it to a working XP system. I used DEBUG from
| with a CMD window to view the drive's boot sector and was horrified to
| see a FAT12 signature. For some inexplicable reason, FIXBOOT had
| replaced a FAT32 HD boot sector with a FAT12 floppy boot sector!
| CHKDSK was unable to repair this problem, and My Computer showed the
| drive as having a capacity of 10MB (or 10GB?). I then used DEBUG to
| zero the contents of the boot sector, thinking that now CHKDSK would
| have a better chance to repair it, but CHKDSK now complained that it
| would not operate on a RAW volume. Attempting to repair the drive from
| within the GUI using Tools > Options produced no response.

Yeah CHKDSK would complain ALOT about that, it had nothing to work with.

AUTOCHK is apparently the proper code to use.

|
| As a final check, I used MBRtool to make a copy of the MBR code. I
| then compared this with an MBR template that I found inside
| DISKPART.EXE. There was no difference. So why did FIXMBR complain
| about unknown or damaged code?
|
| - Franc Zabkar
| --
| Please remove one 'i' from my address when replying by email.

You're dealing with the wonders of Microsoft and NT5.1 there. Another
question would be whether the newest versions of those tools were used.
But I must say that personally, I generally try to use other's tools rather
than Microsoft's..

There are other disk tools which seem to work better/easier with NTFS and
NT5 file systems. Check out Testdisk, HDAT, and MHDD.
http://www.cgsecurity.org/wiki/TestDisk_Download - now at version 6.9
http://hddguru.com/
http://hddguru.com/content/en/software/2005.10.02-MHDD/
http://www.hdat2.com/

BTW Franc, you're part of the reason I posted that link for the non-GUI
Microsoft OS in here. Though you might want to get in on the ground floor of
what will likely translate to the nex-gen/new processor base coding, for
what may be used in the non-legacy Windows. Kinda like the old DOS days and
downloading betas from Microsoft's BBS before it turned into the monster it
is ... (now if only they were paying the beta testers.. hahaha)

--

MEB
http://peoplescounsel.orgfree.com
_________

none

unread,
Mar 14, 2008, 10:04:09 AM3/14/08
to
Franc, although this post is beyond my technical ability it was read
with wonder. Wish I could answer your question !!

Perhaps you can answer mine:
I own an IBM Thinkpad notebook PC. It seems IBM uses an unusual boot
sector. I've read it is a L-O-N-G sector (greater in size than normal?)
It also seems unless IBM's install routine is used to install an OS you
might as well forget booting. For example, if you formated FAT32 for
Win98 and had applied the SYS command (FORMAT C: /s) the PC would just
throw an error (Operating System not found).

If a bootable HD (IBM) was cloned to a new HD and the boot sector was
also cloned you could boot but obviously IBM's BIOS is looking for more
than the standard boot sector. Would you happen to know anything about
these non-conventional boot sectors? Would you know how to save a
non-conventional boot sector's infomation in the event it was needed to
be reinstalled? I've used MBRtool but am not convinced it saved ALL the
information necessary. I'm thinking it just saved a CONVENTIONAL BS
length. Have not tried applying the saved BS information to another
drive to see if it was bootable however.

Thanks for any help!
Vic


Franc Zabkar

unread,
Mar 14, 2008, 10:36:39 PM3/14/08
to
On Fri, 14 Mar 2008 09:04:09 -0500, "none" <nos...@bogusaddress.com>
put finger to keyboard and composed:

>I own an IBM Thinkpad notebook PC. It seems IBM uses an unusual boot
>sector. I've read it is a L-O-N-G sector (greater in size than normal?)
>It also seems unless IBM's install routine is used to install an OS you
>might as well forget booting. For example, if you formated FAT32 for
>Win98 and had applied the SYS command (FORMAT C: /s) the PC would just
>throw an error (Operating System not found).
>
>If a bootable HD (IBM) was cloned to a new HD and the boot sector was
>also cloned you could boot but obviously IBM's BIOS is looking for more
>than the standard boot sector. Would you happen to know anything about
>these non-conventional boot sectors? Would you know how to save a
>non-conventional boot sector's infomation in the event it was needed to
>be reinstalled? I've used MBRtool but am not convinced it saved ALL the
>information necessary. I'm thinking it just saved a CONVENTIONAL BS
>length. Have not tried applying the saved BS information to another
>drive to see if it was bootable however.
>
>Thanks for any help!
>Vic

The following diagram (fixed width font) is my understanding of the
structure of a FAT32 volume. Not all disc tools can see all parts of
the physical disc, so I have attempted to show where they can be used
(AIUI).


mbrtool chkdsk, scandisk, debug, sys, format
| |
| |
| |
|track 0 |
| |-- logical drive C: (FAT32) --------------------------|
physical |
sector 0 |
| |
| | Backup mostly
MBR ----- Boot --- boot -- blank -- FAT#1 - FAT#2 - Root --- File
+ sector sector sectors directory area
Partition 0 6
Table
| |
| |
| sys
| fixboot
| format
fdisk
fixmbr
mbrtool

I have no experience with IBM notebooks, but third party boot managers
usually live in track 0, ie just before the first logical volume. They
can occupy several sectors, not just sector 0. You can use MBRtool to
save track 0 and/or physical sector 0. The latter is where the
partition table and MBR code normally reside, although your boot
manager (or virus) may relocate the partition table to another sector.
If the partition table has been relocated, then that may explain why
the hard drive is invisible after booting from a floppy or CD. In this
case it's only after the non-standard MBR code has been executed
during the course of a normal HD boot that the partition table becomes
visible and logical volumes can be found.

If I were trying to understand your file system, I would first look at
track 0, but I would boot from a floppy or CD to do this, otherwise
you couldn't be sure that the MBR code in the HD wasn't masking the
real track 0.

If you want to see the contents of the boot sector of logical drive
C:, then execute the following at the DOS prompt:

debug
-L 100 2 0 1
-D 100 2ff
-Q

To see the backup boot sector, type ...

debug
-L 100 2 6 1
-D 100 2ff
-Q

... et al.

unread,
Mar 15, 2008, 12:00:48 AM3/15/08
to
Franc Zabkar wrote:

> I recently had to repair file system corruption for two XP users, one
> with a FAT32 partition, the other with NTFS. Unfortunately I have
> little experience with XP so I struggled quite a bit. Anyway I
> discovered that Microsoft's disc repair tools were flawed in several
> ways.
>

> Case #2
> -------
>
> The PC with the FAT32 partition could not boot. It produced a "missing
> NTLDR" error. This suggested that the MBR and boot sector were
> probably OK, and that the error was somewhere in the FATs or directory
> structure. I booted into the repair console of an XP CD and tried a

[snip]

>
> Now I was getting desperate. I took the USB drive to my Windows 98SE
> box and to my surprise Explorer was able to see the entire drive with
> all the original files apparently still intact! SCANDISK determined

Because "I have little experience with XP" .. i don't see that
you mention that the [NTLdr] file ( and the [NTDetect.com] file )
is there or that you tried with a new copy off the WinXP CD in
case of corruption.

[snip]

>
> So what was wrong? I looked closely at the boot sector again and found
> that it was a Win9x boot sector, ie there were references to IO.SYS,
> MSDOS.SYS and WINBOOT.SYS, but no reference to NTLDR. WTF!

Ok, but since i don't know that there normally is, i mentioned
the above just in case.


--
Nah-ah. I'm staying out of this. ... Now, here's my opinion.

Please followup in the newsgroup.
E-mail address is invalid due to spam-control.

Franc Zabkar

unread,
Mar 15, 2008, 10:35:32 PM3/15/08
to
On Sat, 15 Mar 2008 05:00:48 +0100, "... et al."
<lo...@sig.bcause.this.is.invalid> put finger to keyboard and composed:

>Franc Zabkar wrote:
>
>> I recently had to repair file system corruption for two XP users, one
>> with a FAT32 partition, the other with NTFS. Unfortunately I have
>> little experience with XP so I struggled quite a bit. Anyway I
>> discovered that Microsoft's disc repair tools were flawed in several
>> ways.
>>
>
>
>> Case #2
>> -------
>>
>> The PC with the FAT32 partition could not boot. It produced a "missing
>> NTLDR" error. This suggested that the MBR and boot sector were
>> probably OK, and that the error was somewhere in the FATs or directory
>> structure. I booted into the repair console of an XP CD and tried a
>
> [snip]
>
>>
>> Now I was getting desperate. I took the USB drive to my Windows 98SE
>> box and to my surprise Explorer was able to see the entire drive with
>> all the original files apparently still intact! SCANDISK determined
>
>Because "I have little experience with XP" .. i don't see that
>you mention that the [NTLdr] file ( and the [NTDetect.com] file )
>is there or that you tried with a new copy off the WinXP CD in
>case of corruption.

A DIR from within the XP repair console produced some kind of "could
not enumerate" error, so I couldn't see any files at all. CHKDSK was
unable to recover the file system. In desperation I tried a FIXBOOT,
hoping that it would work much like SYS.COM in a Win9x machine. That
is, I was hoping that FIXBOOT would fix the boot files, eg NTLDR and
whatever else was required. Instead, AFAICT, FIXBOOT just trashed the
boot sector. :-(

BTW, I had no software tools with me at this time, only an XP CD.

> [snip]
>
>>
>> So what was wrong? I looked closely at the boot sector again and found
>> that it was a Win9x boot sector, ie there were references to IO.SYS,
>> MSDOS.SYS and WINBOOT.SYS, but no reference to NTLDR. WTF!
>
>Ok, but since i don't know that there normally is, i mentioned
>the above just in case.

AFAICT, the original problem was damage to the first copy of the FAT.
This was repaired by Scandisk. Both NTxxx files were intact. In a
Win98 box I was able to see the NTxxx files as well as autoexec.bat
and config.sys. The last two files had sizes of 0. IIRC io.sys and
msdos.sys were also there, and both also had file sizes of 0.

After I had the drive booting in the original machine, I ran Seagate's
SeaTools for DOS hard disc diagnostic. It found 6 bad sectors which it
was able to repair. A subsequent check with SmartUDM reported 56
reallocated sectors, suggesting that the drive may be on its way out.

See http://www.users.on.net/~fzabkar/SmartUDM/40GB.RPT

Coincidentally, both case #1 and case #2 had problems with bad sectors
on Seagate Barracuda 40GB hard discs.

Franc Zabkar

unread,
Mar 15, 2008, 10:35:32 PM3/15/08
to
On Fri, 14 Mar 2008 05:35:07 -0400, "MEB" <meb@not he...@hotmail.com>

put finger to keyboard and composed:

>"Franc Zabkar" <fza...@iinternode.on.net> wrote in message
>news:ia9jt35o6fi1rrjkq...@4ax.com...

>| Case #1


>| -------
>|
>| The PC with the NTFS partition had an inaccessible registry file,
>| c:\windows\system32\config\system. It couldn't be deleted, copied, or

>| renamed, ...


>|
>| CHKDSK found many problems, including an MFT issue, all of which were fixed.

> That error seems to indicate corruption within the streams and other file


>handling. Did the computer get rapidly shut off by power disruption, or
>perhaps suffered power flucuations?

I believe it just failed to power up one morning. Seagate's SeaTools
for DOS found lots of bad sectors on the HD but managed to repair them
all. I suspect that the drive is on the way out.

>http://support.microsoft.com/kb/308041
>Resources for troubleshooting startup problems in Windows XP
>http://support.microsoft.com/kb/307654
>How to install and use the Recovery Console in Windows XP
>http://www.microsoft.com/technet/prodtechnol/winxppro/reskit/c28621675.mspx
>XP Professional Resource Kit - Troubleshooting Disks and File Systems
>
>Excerpt http://support.microsoft.com/kb/314835/en-us:

> If you run CHKDSK online, the code that actually performs the verification
>resides in utility DLLs, for example Untfs.dll and Ufat.dll. The
>verification routines that CHKDSK invokes are the same routines that run
>when a volume is verified through the Windows Explorer or Disk Management
>graphical user interface.
> However, if CHKDSK is scheduled to run when the computer restarts, the
>binary module that contains the verification code is Autochk.exe, a native
>Windows program. Because Autochk.exe runs early in the computer's startup
>sequence, Autochk.exe does not have the benefit of virtual memory or of
>other Win32 services.
> Autochk.exe generates the same kind of text output that the Chkdsk.exe
>utility DLLs generate.

I notice that the recovery console version of CHKDSK has only two
command line options whereas the "online" version has a lot more.

>NOTE where the information is obtained from/used.
>
> Microsoft Windows 2000 uses the NTFS file system version 3.0, and Windows
>XP uses the NTFS file system version 3.1.
>The MBR created by a running Windows 2000 or XP OS (specifically Disk
>Management) when used to install a completely blank hard drive on your
>system; includes details about the Win 2k/XP *Disk Signature bytes*!

The last article would have been useful for case #2. I discovered the
same information the hard way, by installing XP onto a Win9x FAT32
volume.

>| Case #2
>| -------
>|
>| ... I now tried


>| FIXMBR. This command warned me that the MBR contained unknown or
>| damaged code, so I went ahead and allowed it to refresh the code. It
>| reported success but when I ran FIXMBR a second time, it still
>| complained of unknown or damaged code.
>
> First I would question whether you cold rebooted between the two FIXMBR
>[FIXMBR {ugh} which I found to be questionable when using] trys.

I don't think I did.

>Second:
>http://support.microsoft.com/kb/300415/ - Diskpart Command-Line Utility

IIRC, DISKPART, when executed from the recovery console, only gives
you the option of adding or deleting a partition.

>Third, did you use the proper commandline syntax for the tools?
>
>http://support.microsoft.com/kb/247575/EN-US
>Chkdsk Does Not Use Backup Boot Sector to Fix Corrupted FAT32 Boot Sector

I found this article *after* I had already done what it suggested. In
any case the backup boot sector still had to be patched.

>http://www.microsoft.com/technet/prodtechnol/winxppro/reskit/z03c621675.mspx
>XP Professional Resource Kit - Tools for Troubleshooting

That's a good resource.

> You're dealing with the wonders of Microsoft and NT5.1 there. Another
>question would be whether the newest versions of those tools were used.

I didn't check that.

> But I must say that personally, I generally try to use other's tools rather
>than Microsoft's..

Well, I'd be reluctant to use Fixboot ever again.

> There are other disk tools which seem to work better/easier with NTFS and
>NT5 file systems. Check out Testdisk, HDAT, and MHDD.

I think I downloaded these last time we discussed NTFS in m.p.w.g_d.
In the present case, the only tools that I needed for patching the
FAT32 boot sector were Debug, Copy, and Edit, although I could have
done it all with just Debug. Scandisk fixed the FAT. Wherever possible
I try to get by with the available tools because I never know what the
customer has.

>BTW Franc, you're part of the reason I posted that link for the non-GUI
>Microsoft OS in here. Though you might want to get in on the ground floor of
>what will likely translate to the nex-gen/new processor base coding, for
>what may be used in the non-legacy Windows. Kinda like the old DOS days and
>downloading betas from Microsoft's BBS before it turned into the monster it
>is ... (now if only they were paying the beta testers.. hahaha)

Sorry, I'm going to try Linux instead ... eventually.

here@hotmail.com MEB

unread,
Mar 16, 2008, 2:49:15 AM3/16/08
to

"Franc Zabkar" <fza...@iinternode.on.net> wrote in message

news:fpsot31cqbpk9hqca...@4ax.com...


| On Fri, 14 Mar 2008 05:35:07 -0400, "MEB" <meb@not he...@hotmail.com>
| put finger to keyboard and composed:
|
| >"Franc Zabkar" <fza...@iinternode.on.net> wrote in message
| >news:ia9jt35o6fi1rrjkq...@4ax.com...
|
| >| Case #1
| >| -------
| >|
| >| The PC with the NTFS partition had an inaccessible registry file,
| >| c:\windows\system32\config\system. It couldn't be deleted, copied, or
| >| renamed, ...
| >|
| >| CHKDSK found many problems, including an MFT issue, all of which were
fixed.
|
| > That error seems to indicate corruption within the streams and other
file
| >handling. Did the computer get rapidly shut off by power disruption, or
| >perhaps suffered power flucuations?
|
| I believe it just failed to power up one morning. Seagate's SeaTools
| for DOS found lots of bad sectors on the HD but managed to repair them
| all. I suspect that the drive is on the way out.

Judging by what you posted to ... et al [this date], I would suspect the
same. Seems strange though that two Seagate 40gigs would go out at
approximately the same time on separate computers.

|
| >http://support.microsoft.com/kb/308041
| >Resources for troubleshooting startup problems in Windows XP
| >http://support.microsoft.com/kb/307654
| >How to install and use the Recovery Console in Windows XP
|
>http://www.microsoft.com/technet/prodtechnol/winxppro/reskit/c28621675.mspx
| >XP Professional Resource Kit - Troubleshooting Disks and File Systems
| >
| >Excerpt http://support.microsoft.com/kb/314835/en-us:
|
| > If you run CHKDSK online, the code that actually performs the
verification
| >resides in utility DLLs, for example Untfs.dll and Ufat.dll. The
| >verification routines that CHKDSK invokes are the same routines that run
| >when a volume is verified through the Windows Explorer or Disk Management
| >graphical user interface.
| > However, if CHKDSK is scheduled to run when the computer restarts, the
| >binary module that contains the verification code is Autochk.exe, a
native
| >Windows program. Because Autochk.exe runs early in the computer's startup
| >sequence, Autochk.exe does not have the benefit of virtual memory or of
| >other Win32 services.
| > Autochk.exe generates the same kind of text output that the Chkdsk.exe
| >utility DLLs generate.
|
| I notice that the recovery console version of CHKDSK has only two
| command line options whereas the "online" version has a lot more.

That's always been the complaint, the recovery console is sadly lacking in
good tools and abilities. It can be tweaked a bit, but I still think there
are better ways.

|
| >NOTE where the information is obtained from/used.
| >
| > Microsoft Windows 2000 uses the NTFS file system version 3.0, and
Windows
| >XP uses the NTFS file system version 3.1.
| >The MBR created by a running Windows 2000 or XP OS (specifically Disk
| >Management) when used to install a completely blank hard drive on your
| >system; includes details about the Win 2k/XP *Disk Signature bytes*!
|
| >http://thestarman.pcministry.com/asm/mbr/NTFSBR.htm
| >http://thestarman.pcministry.com/asm/mbr/NTLDR.htm
| >http://thestarman.pcministry.com/asm/mbr/ntFAT32BR.htm
|
| The last article would have been useful for case #2. I discovered the
| same information the hard way, by installing XP onto a Win9x FAT32
| volume.

Well, now you have it, AND have confirmed what needs done.

|
| >| Case #2
| >| -------
| >|
| >| ... I now tried
| >| FIXMBR. This command warned me that the MBR contained unknown or
| >| damaged code, so I went ahead and allowed it to refresh the code. It
| >| reported success but when I ran FIXMBR a second time, it still
| >| complained of unknown or damaged code.
| >
| > First I would question whether you cold rebooted between the two FIXMBR
| >[FIXMBR {ugh} which I found to be questionable when using] trys.
|
| I don't think I did.

Kind of like fdisking a drive, gotta reboot.

|
| >Second:
| >http://support.microsoft.com/kb/300415/ - Diskpart Command-Line Utility
|
| IIRC, DISKPART, when executed from the recovery console, only gives
| you the option of adding or deleting a partition.
|
| >Third, did you use the proper commandline syntax for the tools?
| >
| >http://support.microsoft.com/kb/247575/EN-US
| >Chkdsk Does Not Use Backup Boot Sector to Fix Corrupted FAT32 Boot Sector
|
| I found this article *after* I had already done what it suggested. In
| any case the backup boot sector still had to be patched.

Oh well, now you know.

|
|
>http://www.microsoft.com/technet/prodtechnol/winxppro/reskit/z03c621675.msp


x
| >XP Professional Resource Kit - Tools for Troubleshooting
|
| That's a good resource.
|
| > You're dealing with the wonders of Microsoft and NT5.1 there. Another
| >question would be whether the newest versions of those tools were used.
|
| I didn't check that.

Try on the Reskit area, and TechNet.

|
| > But I must say that personally, I generally try to use other's tools
rather
| >than Microsoft's..
|
| Well, I'd be reluctant to use Fixboot ever again.

Oh, I NEVER will again.

|
| > There are other disk tools which seem to work better/easier with NTFS
and
| >NT5 file systems. Check out Testdisk, HDAT, and MHDD.
|
| >http://www.cgsecurity.org/wiki/TestDisk_Download - now at version 6.9
| >http://hddguru.com/
| >http://hddguru.com/content/en/software/2005.10.02-MHDD/
| >http://www.hdat2.com/
|
| I think I downloaded these last time we discussed NTFS in m.p.w.g_d.
| In the present case, the only tools that I needed for patching the
| FAT32 boot sector were Debug, Copy, and Edit, although I could have
| done it all with just Debug. Scandisk fixed the FAT. Wherever possible
| I try to get by with the available tools because I never know what the
| customer has.

Okay, I carry[ied] three floppy disk cases [test tools, drive tools, and
boot floppies], XP CD, and a Live CD with me when out servicing [also a
floppy drive and CDROM drive and cables].
But your right, keeping the mind fresh with the old tried and true
techniques, gives you the ability to just sit down at the problem computer
and work away.
You're a pretty smart guy. I can't even remember all those techniques
anymore. Heck those links came from mht files I saved locally just so I can
refresh my memory.

|
| >BTW Franc, you're part of the reason I posted that link for the non-GUI
| >Microsoft OS in here. Though you might want to get in on the ground floor
of
| >what will likely translate to the nex-gen/new processor base coding, for
| >what may be used in the non-legacy Windows. Kinda like the old DOS days
and
| >downloading betas from Microsoft's BBS before it turned into the monster
it
| >is ... (now if only they were paying the beta testers.. hahaha)
|
| Sorry, I'm going to try Linux instead ... eventually.

Well, progress has been made, they might surprise you. You'll LOVE the
command line abilities.

|
| - Franc Zabkar
| --
| Please remove one 'i' from my address when replying by email.

MEB
http://peoplescounsel.orgfree.com
--
_________


Franc Zabkar

unread,
Mar 16, 2008, 4:30:23 PM3/16/08
to
On Sun, 16 Mar 2008 02:49:15 -0400, "MEB" <meb@not he...@hotmail.com>

put finger to keyboard and composed:

>"Franc Zabkar" <fza...@iinternode.on.net> wrote in message

>news:fpsot31cqbpk9hqca...@4ax.com...

>| Well, I'd be reluctant to use Fixboot ever again.
>
> Oh, I NEVER will again.

There are quite a few cases of this FIXBOOT/FAT12 problem in the
Google Groups archives.

Franc Zabkar

unread,
Mar 16, 2008, 5:03:40 PM3/16/08
to
On Mon, 17 Mar 2008 07:30:23 +1100, Franc Zabkar
<fza...@iinternode.on.net> put finger to keyboard and composed:

>On Sun, 16 Mar 2008 02:49:15 -0400, "MEB" <meb@not he...@hotmail.com>
>put finger to keyboard and composed:
>
>>"Franc Zabkar" <fza...@iinternode.on.net> wrote in message
>>news:fpsot31cqbpk9hqca...@4ax.com...
>
>>| Well, I'd be reluctant to use Fixboot ever again.
>>
>> Oh, I NEVER will again.
>
>There are quite a few cases of this FIXBOOT/FAT12 problem in the
>Google Groups archives.

BTW, I can't be absolutely certain, but IIRC the FAT12 boot sector,
which was written by FIXBOOT from the recovery console, had an
MSDOS5.0 signature. I don't think this same signature exists in
AUTOCHK.EXE.

sgopus

unread,
Mar 16, 2008, 7:14:02 PM3/16/08
to
Fascinating stuff Frank, I appreciate the detail, not that I actually work in
that area
I used to use an old Radio Shack Model 4 and had some nifty software, that
allowed me to view the floppy disk data track by track, it also allowed me to
alter that data or (correct it), I think it was called superzap or something
along that line, can't find anything like it for todays computers.
Course back then it was using NEWDOS and or LDOS , nothing like windows of
today.

Franc Zabkar

unread,
Mar 16, 2008, 10:46:50 PM3/16/08
to
On Sun, 16 Mar 2008 02:49:15 -0400, "MEB" <meb@not he...@hotmail.com>

put finger to keyboard and composed:

>"Franc Zabkar" <fza...@iinternode.on.net> wrote in message
>news:fpsot31cqbpk9hqca...@4ax.com...

>| On Fri, 14 Mar 2008 05:35:07 -0400, "MEB" <meb@not he...@hotmail.com>
>| put finger to keyboard and composed:
>|
>| >"Franc Zabkar" <fza...@iinternode.on.net> wrote in message
>| >news:ia9jt35o6fi1rrjkq...@4ax.com...

>| >| ... I now tried


>| >| FIXMBR. This command warned me that the MBR contained unknown or
>| >| damaged code, so I went ahead and allowed it to refresh the code. It
>| >| reported success but when I ran FIXMBR a second time, it still
>| >| complained of unknown or damaged code.
>| >
>| > First I would question whether you cold rebooted between the two FIXMBR
>| >[FIXMBR {ugh} which I found to be questionable when using] trys.
>|
>| I don't think I did.
>
> Kind of like fdisking a drive, gotta reboot.

I can see why you would need to reboot before any newly created
partitions and logical drives would be detected, but I can't see why
you would need to do the same after refreshing the code in the MBR.
AFAIK, the MBR code doesn't remain in RAM after booting (it is
overwritten by the active partition's boot sector), so FIXMBR would
always need to look for it on the HD, not in memory.

See http://www.dewassoc.com/kbase/hard_drives/master_boot_record.htm

====================================================================
Once the BIOS identifies its target boot drive, then it looks for boot
information to start the operating system boot process. If it is
searching a hard disk, it looks for a master boot record at cylinder
0, head 0, sector 1, the first sector on the disk.

If a Master Boot Record is found, it is read into memory at location
0000:7c00 and INT 19 jumps to memory location 0000:7c00 ... . At this
point, the BIOS attempts to move control of the computer from the BIOS
to the actual operating system.

Next, the small program in the Master Boot Record will attempt to
locate an active (bootable) partition in the hard drives partition
table. If such a partition is found, the boot sector of that partition
is also read into memory at location 0000:7C00 and then MBR program
itself jumps to memory location 0000:7C00.
====================================================================

here@hotmail.com MEB

unread,
Mar 17, 2008, 1:10:37 AM3/17/08
to

"Franc Zabkar" <fza...@iinternode.on.net> wrote in message
news:p92rt3lvh6600hgkj...@4ax.com...

I sent you, from the master site address, some zipped *readable text* of a
few files from XP PRO which might be of interest you [though you probably
already did]. Look at the command sequences, messages, and other. At
minimum, they give some search strings to work from when playing around in
XP and a hexeditor.

* MEB
http://peoplescounsel.orgfree.com
--

here@hotmail.com MEB

unread,
Mar 17, 2008, 1:26:09 AM3/17/08
to

"Franc Zabkar" <fza...@iinternode.on.net> wrote in message

news:lfmrt31gsn197oq23...@4ax.com...

And how does it do this when it has already been accessed upon bootup, and
found as faulty. The disk couldn't be accessed properly, so how can it now,
when the code and jumps were wrong to start with and have not been refreshed
yet.. You could see it with an editor, but the BIOS has already transferred
activity elsewhere [particularly in NT].

Are you indicating that there were no errors when attempting to access the
hard disk after doing so?
______

----------


Bill in Co.

unread,
Mar 17, 2008, 1:39:30 AM3/17/08
to
One of the worst "quirks" about Scandisk in WinXP is just how limited it is,
both in choices, and in logging capabilities (like in comparison to any
Win9x). It really sucks. No real selection choices, and NO real logs
(except sometimes some stuff can be found in Event Viewer - after you sort
it all out, and AFTER it has replaced whatever it felt like, carte blanche,
no questions asked). SFC in WinXP is a step backwards, in many respects.


here@hotmail.com MEB

unread,
Mar 17, 2008, 1:57:02 AM3/17/08
to

"Bill in Co." <not_rea...@earthlink.net> wrote in message
news:u2NfJF$hIHA...@TK2MSFTNGP02.phx.gbl...

I would tend to agree, but then even in Win9X I preferred to use DiskTune
and DiskMinder [from Nuts and Bolts] or other tools, at least until they
stopped working correctly [the suite of tools; the disk tools still work,
just tried that during the last test period].

I think, though, we tend to forget that XP was created to allow regular
non-techie people to use NT, and was limited to ensure they didn't mess up
to much. Kind of like dumbing down the control, and placing it in
Microsoft's hands... just look at VISTA, even more *out of your hands*
unless you know what to do.

_________

Bill in Co.

unread,
Mar 17, 2008, 3:57:06 AM3/17/08
to
MEB wrote:
> "Bill in Co." <not_rea...@earthlink.net> wrote in message
> news:u2NfJF$hIHA...@TK2MSFTNGP02.phx.gbl...
>> One of the worst "quirks" about Scandisk in WinXP is just how limited it
>> is,
>> both in choices, and in logging capabilities (like in comparison to any
>> Win9x). It really sucks. No real selection choices, and NO real logs
>> (except sometimes some stuff can be found in Event Viewer - after you
>> sort
>> it all out, and AFTER it has replaced whatever it felt like, carte
>> blanche,
>> no questions asked). SFC in WinXP is a step backwards, in many
>> respects.
>
> I would tend to agree, but then even in Win9X I preferred to use DiskTune
> and DiskMinder [from Nuts and Bolts] or other tools, at least until they
> stopped working correctly [the suite of tools; the disk tools still work,
> just tried that during the last test period].
>
> I think, though, we tend to forget that XP was created to allow regular
> non-techie people to use NT, and was limited to ensure they didn't mess up
> too much. Kind of like dumbing down the control, and placing it in

> Microsoft's hands... just look at VISTA, even more *out of your hands*
> unless you know what to do.

Yeah, tell me about it. :-)


... et al.

unread,
Mar 17, 2008, 4:09:47 AM3/17/08
to
Franc Zabkar wrote:

(yes, sorry. I snipped a line to much earlier perhaps.)

> unable to recover the file system. In desperation I tried a FIXBOOT,
> hoping that it would work much like SYS.COM in a Win9x machine. That
> is, I was hoping that FIXBOOT would fix the boot files, eg NTLDR and
> whatever else was required. Instead, AFAICT, FIXBOOT just trashed the
> boot sector. :-(
>
> BTW, I had no software tools with me at this time, only an XP CD.
>
>> [snip]
>>
>>> So what was wrong? I looked closely at the boot sector again and found
>>> that it was a Win9x boot sector, ie there were references to IO.SYS,
>>> MSDOS.SYS and WINBOOT.SYS, but no reference to NTLDR. WTF!
>> Ok, but since i don't know that there normally is, i mentioned
>> the above just in case.
>
> AFAICT, the original problem was damage to the first copy of the FAT.
> This was repaired by Scandisk. Both NTxxx files were intact. In a
> Win98 box I was able to see the NTxxx files as well as autoexec.bat
> and config.sys. The last two files had sizes of 0. IIRC io.sys and
> msdos.sys were also there, and both also had file sizes of 0.
>

I read all the above and don't have anything useful to add. It's
interesting and i learn from reading your procedures and
following the links you and MEB posts (as usual). Thanks.


> After I had the drive booting in the original machine, I ran Seagate's
> SeaTools for DOS hard disc diagnostic. It found 6 bad sectors which it
> was able to repair. A subsequent check with SmartUDM reported 56
> reallocated sectors, suggesting that the drive may be on its way out.
>
> See http://www.users.on.net/~fzabkar/SmartUDM/40GB.RPT
>
> Coincidentally, both case #1 and case #2 had problems with bad sectors
> on Seagate Barracuda 40GB hard discs.
>

Perhaps suggesting, but perhaps not necessarily. I have a 60 GB
Seagate HDD and i checked it with a different SMART viewing
program, DiskCheckup, in October 1996. It had 5 reallocated
sectors then and it still have 5 when i checked it with SMARTUDM
today. And that HDD have been used for several hours almost daily
in the 17 months in between.

BTW, i just downloaded SMARTUDM. It unarchived fine and the
DOS-program runs fine. However, the four text-files in the
archive show mostly as gibberish .. i tried a few different
text-editors, they all show it the same .. is it the same for you?

Bill in Co.

unread,
Mar 17, 2008, 5:55:27 AM3/17/08
to
Ooops, I meant SFC below, sorry about that, and corrected below.

> One of the worst "quirks" about SFC in WinXP is just how limited it is,

Bill in Co.

unread,
Mar 17, 2008, 5:57:13 AM3/17/08
to
Ooops, I meant SFC below, MEB. Sorry about that, and corrected below.

Bill in Co. wrote:
> MEB wrote:
>> "Bill in Co." <not_rea...@earthlink.net> wrote in message
>> news:u2NfJF$hIHA...@TK2MSFTNGP02.phx.gbl...

>>> One of the worst "quirks" about SFC in WinXP is just how limited it is,

Franc Zabkar

unread,
Mar 17, 2008, 3:36:08 PM3/17/08
to
On Mon, 17 Mar 2008 09:09:47 +0100, "... et al."

<lo...@sig.bcause.this.is.invalid> put finger to keyboard and composed:

>Franc Zabkar wrote:

>> After I had the drive booting in the original machine, I ran Seagate's
>> SeaTools for DOS hard disc diagnostic. It found 6 bad sectors which it
>> was able to repair. A subsequent check with SmartUDM reported 56
>> reallocated sectors, suggesting that the drive may be on its way out.
>>
>> See http://www.users.on.net/~fzabkar/SmartUDM/40GB.RPT
>>
>> Coincidentally, both case #1 and case #2 had problems with bad sectors
>> on Seagate Barracuda 40GB hard discs.
>>
>
>Perhaps suggesting, but perhaps not necessarily. I have a 60 GB
>Seagate HDD and i checked it with a different SMART viewing
>program, DiskCheckup, in October 1996. It had 5 reallocated
>sectors then and it still have 5 when i checked it with SMARTUDM
>today. And that HDD have been used for several hours almost daily
>in the 17 months in between.

I had a similar experience with a Seagate 13GB drive. It was carrying
lots of bad sectors for several years until I recently took it out
service after it started to grow new defects on a weekly basis. The
drive had one "pending" sector for its entire life. This sector never
had a chance to be reallocated because a format had marked it as bad
in the FAT and Windows knew not to write to it ever again.

>BTW, i just downloaded SMARTUDM. It unarchived fine and the
>DOS-program runs fine. However, the four text-files in the
>archive show mostly as gibberish .. i tried a few different
>text-editors, they all show it the same .. is it the same for you?

The language is Russian. The text files display correctly in my
browser, Opera, when I select "Cyrillic codepage 866" encoding.

Once I do this, I can cut and paste the text into Google's translator:
http://translate.google.com/translate_t

======================================================================
excerpt from smartfaq.txt
======================================================================
Q1: What is S.M.A.R.T.?
A1: Technology S.M.A.R.T. -- Self-Monitoring, Analysis and Reporting
Technology (from the English. "Technology Samodiagnostiki, Analysis
and Father - ta ") - was designed to improve the reliability and
safety data on hard disks. In most cases, the SMART-compatible
perceptions device to precede the appearance of the most likely
mistakes, thereby allowing the user to backup Data and / or completely
replace its drive to break down.
======================================================================

jamesh...@yahoo.co.uk

unread,
Mar 17, 2008, 4:31:42 PM3/17/08
to
On 14 Mar, 09:35, "MEB" <meb@not h...@hotmail.com> wrote:
<snip>

>  There are other disk tools which seem to work better/easier with NTFS and
> NT5 file systems. Check out Testdisk, HDAT, and MHDD.http://www.cgsecurity.org/wiki/TestDisk_Download- now at version 6.9http://hddguru.com/http://hddguru.com/content/en/software/2005.10.02-MHDD/http://www.hdat2.com/

>
> BTW Franc, you're part of the reason I posted that link for the non-GUI
> Microsoft OS in here.

which link? you mean the links to DOS programs?


Though you might want to get in on the ground floor of
> what will likely translate to the nex-gen/new processor base coding, for
> what may be used in the non-legacy Windows. Kinda like the old DOS days and
> downloading betas from Microsoft's BBS before it turned into the monster it
> is ... (now if only they were paying the beta testers.. hahaha)
>


Just for the hell of it. How do you connect to the microsoft BBS?
I know it involves a prog like hyperterminal, and a telephone number.
But I cannot even find a telephone number.

here@hotmail.com MEB

unread,
Mar 17, 2008, 5:53:33 PM3/17/08
to

<jamesh...@yahoo.co.uk> wrote in message
news:c7900ccd-3502-4876...@u10g2000prn.googlegroups.com...


On 14 Mar, 09:35, "MEB" <meb@not h...@hotmail.com> wrote:
<snip>
> There are other disk tools which seem to work better/easier with NTFS and
> NT5 file systems. Check out Testdisk, HDAT, and
MHDD.http://www.cgsecurity.org/wiki/TestDisk_Download- now at version
6.9http://hddguru.com/http://hddguru.com/content/en/software/2005.10.02-MHDD
/http://www.hdat2.com/
>
> BTW Franc, you're part of the reason I posted that link for the non-GUI
> Microsoft OS in here.

| which link? you mean the links to DOS programs?

PER PRIOR POST:
Re: For the Geeks - Microsoft's non-Windows OS Singularity
Interested in testing Microsoft's new non-Windows OS which uses "completely
new" {non-legacy} code?

RDK 1.1 - version 6709

Singularity
http://www.codeplex.com/singularity
http://research.microsoft.com/os/singularity/
- MEB

| Though you might want to get in on the ground floor of
> what will likely translate to the nex-gen/new processor base coding, for
> what may be used in the non-legacy Windows. Kinda like the old DOS days
and
> downloading betas from Microsoft's BBS before it turned into the monster
it
> is ... (now if only they were paying the beta testers.. hahaha)
>


| Just for the hell of it. How do you connect to the microsoft BBS?
| I know it involves a prog like hyperterminal, and a telephone number.
| But I cannot even find a telephone number.

That was WAY back, before the public Internet.... ARPANET was the ONLY
thing going at that time, except for people {like myself} who ran a BBS
{Bulletin Board System}.
http://www.dei.isep.ipp.pt/docs/arpa.html
http://www.livinginternet.com/i/ii_arpanet.htm

here@hotmail.com MEB

unread,
Mar 17, 2008, 6:29:09 PM3/17/08
to

I got it [though good to correct it so no-one pounces on it]... but yeah
scandisk isn't an option in XP, its handled by AUTOCHK, AUTOFMT, Disk
Management and Disk Defragmenter, and the related HAL and DLLs.

It would [SFC - restore points - system file protection] open a whole
nuther cano'worms...

... et al.

unread,
Mar 18, 2008, 1:13:51 AM3/18/08
to
Franc Zabkar wrote:

> "... et al." put finger to keyboard and composed:
>

>> BTW, i just downloaded SMARTUDM. It unarchived fine and the
>> DOS-program runs fine. However, the four text-files in the
>> archive show mostly as gibberish .. i tried a few different
>> text-editors, they all show it the same .. is it the same for you?
>
> The language is Russian. The text files display correctly in my
> browser, Opera, when I select "Cyrillic codepage 866" encoding.

It was strange that the name of one of the files is
'WHATSNEW.TXT', but that the contents are in Cyrillic letters.
But yes, i can see it in a web-browser here also. Easy way to
test various 'Character Encodings'. Thanks.


>
> Once I do this, I can cut and paste the text into Google's translator:
> http://translate.google.com/translate_t
>
> ======================================================================
> excerpt from smartfaq.txt
> ======================================================================
> Q1: What is S.M.A.R.T.?
> A1: Technology S.M.A.R.T. -- Self-Monitoring, Analysis and Reporting
> Technology (from the English. "Technology Samodiagnostiki, Analysis
> and Father - ta ") - was designed to improve the reliability and
> safety data on hard disks. In most cases, the SMART-compatible
> perceptions device to precede the appearance of the most likely
> mistakes, thereby allowing the user to backup Data and / or completely
> replace its drive to break down.
> ======================================================================
>
> - Franc Zabkar


--
No habla

Franc Zabkar

unread,
Mar 18, 2008, 6:57:44 PM3/18/08
to
On Mon, 17 Mar 2008 01:26:09 -0400, "MEB" <meb@not he...@hotmail.com>

put finger to keyboard and composed:

>"Franc Zabkar" <fza...@iinternode.on.net> wrote in message
>news:lfmrt31gsn197oq23...@4ax.com...
>| On Sun, 16 Mar 2008 02:49:15 -0400, "MEB" <meb@not he...@hotmail.com>
>| put finger to keyboard and composed:
>|
>| >"Franc Zabkar" <fza...@iinternode.on.net> wrote in message
>| >news:fpsot31cqbpk9hqca...@4ax.com...
>|
>| >| On Fri, 14 Mar 2008 05:35:07 -0400, "MEB" <meb@not he...@hotmail.com>
>| >| put finger to keyboard and composed:
>| >|
>| >| >"Franc Zabkar" <fza...@iinternode.on.net> wrote in message
>| >| >news:ia9jt35o6fi1rrjkq...@4ax.com...
>|
>| >| >| ... I now tried
>| >| >| FIXMBR. This command warned me that the MBR contained unknown or
>| >| >| damaged code, so I went ahead and allowed it to refresh the code. It
>| >| >| reported success but when I ran FIXMBR a second time, it still
>| >| >| complained of unknown or damaged code.
>| >| >
>| >| > First I would question whether you cold rebooted between the two
>FIXMBR
>| >| >[FIXMBR {ugh} which I found to be questionable when using] trys.
>| >|
>| >| I don't think I did.
>| >
>| > Kind of like fdisking a drive, gotta reboot.
>|
>| I can see why you would need to reboot before any newly created
>| partitions and logical drives would be detected, but I can't see why
>| you would need to do the same after refreshing the code in the MBR.

>| AFAIK, the MBR code doesn't remain in RAM after booting ...

>| - Franc Zabkar


>
> And how does it do this when it has already been accessed upon bootup, and
>found as faulty. The disk couldn't be accessed properly, so how can it now,
>when the code and jumps were wrong to start with and have not been refreshed
>yet.. You could see it with an editor, but the BIOS has already transferred
>activity elsewhere [particularly in NT].
>
> Are you indicating that there were no errors when attempting to access the
>hard disk after doing so?
>______
>* MEB
>http://peoplescounsel.orgfree.com

I don't think any question regarding the integrity of the code in the
MBR is of any consequence because I booted to the recovery console of
an XP CD. I'm guessing that FIXMBR should work in much the same way as
FDISK /MBR in Win9x/DOS, ie it should refresh the code in the first
physical sector of the HD, regardless of what is already there. FIXMBR
appears to go one step further by warning the user if the MBR code
appears to be foreign or damaged, but that's the only difference,
AFAICT. FDISK and DISKPART appear to perform similar functions when
accessed via their interactive menus. I would think that FDISK,
FIXMBR, and DISKPART would always be aware of any changes they
themselves have made to the MBR and partition table, without the
necessity of a reboot. A reboot would only be necessary to allow the
*operating system* to become aware of the same changes. During a
reboot, the OS would enumerate the logical drives by looking at the
partition table. Thereafter, I can't see that the OS would need to
consult the partition table again. I would think that if you deleted
the partition table while the OS was running, then the OS would
continue to run with the same drive parameters that it had discovered
at bootup ... until the next bootup.

The suggestion that FIXMBR requires a reboot before it becomes aware
of the changes it has made would mean that it would be consulting some
stale memory cache. This makes no sense because the first time you run
FIXMBR there is no MBR code in RAM (it has been flushed early in the
boot process). So if FIXMBR consults the HD the first time it is
executed, then why wouldn't it do the same the second time it is run?

This is what I see when I execute ...

MEM /D /P

... from a DOS prompt in Win98SE:

=====================================================================
Conventional Memory Detail:

Segment Total Name Type
------- ---------------- ----------- --------
00000 1,024 (1K) Interrupt Vector
00040 256 (0K) ROM Communication
Area
00050 512 (1K) DOS Communication
Area
00070 1,424 (1K) IO System Data
CON System Device Driver
AUX System Device Driver
PRN System Device Driver
CLOCK$ System Device Driver
A: - D: System Device Driver

<snip>

=====================================================================

Win9x/DOS has loaded "System Device Drivers" for each of my logical
drives (A: - D:). I suspect that if I were to use FDISK to edit the
partition table, and then re-run the above MEM command without first
rebooting, nothing would change. I'm betting you would still be able
to write new files to the C: drive without loss of data ... provided
that you restored the original partition table prior to rebooting. But
that's only a guess - I don't have a test machine to try this.

here@hotmail.com MEB

unread,
Mar 18, 2008, 10:10:14 PM3/18/08
to

"Franc Zabkar" <fza...@iinternode.on.net> wrote in message

news:53i0u3117q5lkhua2...@4ax.com...

You're running the Recovery Console from NT, NOT from DOS.
NT handles disk access in a different form... a common mistake made by *DOS
users* is to think NT works like DOS does.
I think we already did this before, to a point, in those prior XP and hard
drive discussions.

--

Franc Zabkar

unread,
Mar 18, 2008, 11:20:29 PM3/18/08
to
On Sun, 16 Mar 2008 02:49:15 -0400, "MEB" <meb@not he...@hotmail.com>

put finger to keyboard and composed:

>"Franc Zabkar" <fza...@iinternode.on.net> wrote in message

>news:fpsot31cqbpk9hqca...@4ax.com...

>| >| ... I now tried
>| >| FIXMBR. This command warned me that the MBR contained unknown or
>| >| damaged code, so I went ahead and allowed it to refresh the code. It
>| >| reported success but when I ran FIXMBR a second time, it still
>| >| complained of unknown or damaged code.
>| >
>| > First I would question whether you cold rebooted between the two FIXMBR
>| >[FIXMBR {ugh} which I found to be questionable when using] trys.
>|
>| I don't think I did.
>
> Kind of like fdisking a drive, gotta reboot.

The following MSKB article identifies a FIXMBR bug in the Win2K
recovery console, but I wonder if it applies to WinXP Home as well.

Error Message When You Run fixmbr Command:
http://support.microsoft.com/kb/266745/

SYMPTOMS

When you attempt to run the fixmbr command in the Microsoft Windows
2000 recovery console, your computer system may display the following
error message:

This computer appears to have a non-standard or invalid master boot
record. FIXMBR may damage your partition tables if you proceed. This
could cause all the partitions on the current hard disk to become
inaccessible. If you are not having problems accessing your drive, do
not continue. Are you sure you want to write a new MBR?

RESOLUTION

Ignore the error message described in the "Symptoms" section of this
article. The fixmbr command can safely rewrite the MBR.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft
products that are listed at the beginning of this article.

MORE INFORMATION

The fixmbr command causes this error message to be displayed on your
computer system whenever you run the command, regardless of the state
of the Master Boot Record (MBR).

Franc Zabkar

unread,
Mar 18, 2008, 11:20:29 PM3/18/08
to
On Mon, 17 Mar 2008 01:10:37 -0400, "MEB" <meb@not he...@hotmail.com>

> I sent you, from the master site address, some zipped *readable text* of a
>few files from XP PRO which might be of interest you [though you probably
>already did]. Look at the command sequences, messages, and other. At
>minimum, they give some search strings to work from when playing around in
>XP and a hexeditor.
>
>* MEB
>http://peoplescounsel.orgfree.com

I got it, thanks, although I'm not sure what to do with it because I
no longer have any XP boxes to play with.

FWIW, here are various boot sector templates that I extracted from
Autochk.exe, and the MBR template that I found inside Diskpart.exe:

http://www.users.on.net/~fzabkar/XP_Boot/XP_Boot.zip (11KB)

Message has been deleted
Message has been deleted

Franc Zabkar

unread,
Mar 19, 2008, 4:10:48 PM3/19/08
to
On Wed, 19 Mar 2008 01:15:51 -0400, "MEB" <meb@not he...@hotmail.com>

put finger to keyboard and composed:

>"Franc Zabkar" <fza...@iinternode.on.net> wrote in message

>news:ds01u3pu2iebbaubb...@4ax.com...

>| The following MSKB article identifies a FIXMBR bug in the Win2K
>| recovery console, but I wonder if it applies to WinXP Home as well.
>|
>| Error Message When You Run fixmbr Command:
>| http://support.microsoft.com/kb/266745/
>|
>| SYMPTOMS
>|
>| When you attempt to run the fixmbr command in the Microsoft Windows
>| 2000 recovery console, your computer system may display the following
>| error message:
>|
>| This computer appears to have a non-standard or invalid master boot
>| record.

>| MORE INFORMATION


>|
>| The fixmbr command causes this error message to be displayed on your
>| computer system whenever you run the command, regardless of the state
>| of the Master Boot Record (MBR).
>|
>| - Franc Zabkar
>

> Yeah, I remember that one now, likely part of the reason I asked what
>versions you ran, IIRC, there was an update for XP [or maybe included in SP1
>or the DK] that was supposed to fix some of the old errors... another memory
>sloshing around in the brain..
>--
>MEB
>http://peoplescounsel.orgfree.com

How do you apply a service pack to the recovery console on a pressed
CD? ;-|

here@hotmail.com MEB

unread,
Mar 20, 2008, 12:31:55 AM3/20/08
to

"Franc Zabkar" <fza...@iinternode.on.net> wrote in message

news:fks2u3pfpb5g4n2mt...@4ax.com...

HAHAHA, good one. You don't, but the technique is called slip streaming for
the disk you then create.

http://support.microsoft.com/kb/828930/ - How to integrate software updates
into your Windows Installation source files
http://support.microsoft.com/kb/900910/en-us
.
You can modify the startup disks.

--

0 new messages