[vox-tech] rescuing winxp?

Peter Jay Salzman p at dirac.org
Fri Sep 24 12:48:53 PDT 2004


On Fri 24 Sep 04, 12:21 PM, Mark K. Kim <lugod at cbreak.org> said:
> On Fri, 24 Sep 2004, Rick Moen wrote:
> 
> > That is correct.  SYS.COM copies several files (io.sys, command.com,
> > msdos.sys, and at least one other that I've mercifully forgotten about)
> > with the read-only, hidden, and system flags set, to the indicated FAT
> > filesystem.  One of those gets written to a specific physical location
> > so as to be findable by the Int13h boot service, early in the boot
> > process
> [snip]
> 
> Starting at some DOS version, the physical location thing became no longer
> necessary.  I'm not sure which version but somewhere around DOS 4-ish.
> Apparently the DOS bootstrap code became smarter and figured out ways to
> search for those files in the FS.  As a consequence, the "system" flag on
> those system files (which tells the OS and utility tools like Norton and
> PC Tools not to move those files from their physical location) no longer
> became necessary as they were before.
> 
> To re-install the MBR, another important component for booting DOS and
> Windows, uses FDISK's *undocumented* flag:
> 
>   FDISK /MBR
> 
> Once I told someone to do that over the phone and he freaked out (because
> "FDISK is dangerous!")  I'm not sure if he had the guts to go through with
> it...
> 
> -Mark

>From Rick's earlier posts, it sounds like all the nameless MS 0th order
bootloader does is pass control to the zeroth sector of the bootable
partition.

Does that mean that XP has the same MBR as Win95?

What I'm getting at is, can I use an old DOS fdisk to rewrite a MBR on a Win
XP machine?

Pete

-- 
Make everything as simple as possible, but no simpler. -- Albert Einstein
GPG Instructions: http://www.dirac.org/linux/gpg
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D


More information about the vox-tech mailing list