Alas, now I have another question. This has bothered me for many
years, but now it becomes very important.
http://www.easydos.com/sys.html
http://www.computerhope.com/syshlp.htm
Sys copies:
command.com
io.sys
msdos.sys
drvspace.bin (which I never have)
What happens if I copy in another version?
For example, the command.com there now is 700K, but in most of my boot
disks I see that it is about 300K or as little as 94K! Even the one
where it is the closest, around 700K, the length is 10 bytes
different, longer.
And the other two files might be different. For example, in the
floppy that has the 700K command.com (which I dl'd from bootdisk.com
and which I think shows with ver that it is the ME version of DOS,
which is a later version than win98 had!), msdos.sys is only 6 bytes
long**, eeeeven though comments inside longer versions of msdos.sys
say it has to be has to be at least 1024 bytes long! "for
compatibility with other programs."*** And the one there now is 1756
bytes! And even though there are important entries in a full length
msdos.sys, like Paths and Options, default boot option, boot menu
delay, nogui or not. That aren't in a 6 byte version, which only has
";sys ", which is the first line of the longer versions.
***Maybe those other programs don't exist anymore, especially in the
WinMe world
but I still want to retain the Paths and Options.
It seems to me what I have to do is take the emergency boot floppy and
copy over to it the current values for those 3 files to the floppy, so
that the sys command doens't change them.
Or is that like copying back bootsect.dos? And I'll undo whatever
good I would have done.
And this finally reminds me, What does any of this have to do with the
boot sector? I'm reading again the descriptions of the sys command
and none of the sources say anything except about the 4 files listed.
Thanks again for all your help.
Mike
**This is discussed at
http://support.microsoft.com/kb/149110 A bit
complicated of course: "If the SYS command (Sys.com) included with
Windows 95 determines that the existing Msdos.sys file is from MS-DOS
version 6.22 or earlier, it replaces the existing Msdos.sys file with
an incomplete Msdos.sys file that contains only the text ";SYS." If
the SYS command is unable to determine that the existing Msdos.sys
file is from MS-DOS version 6.22 or earlier, it assumes that the file
is a valid Windows 95 Msdos.sys file and does not replace it. " Where
I got this 6 byte version I'm not 100% sure. I think I dl'd it
yesterday from bootdisk.com, and was a combo win98/ME version, which
apparently are not the same in form, even if maybe they work the same.
You know, it did sort of bother me that I was using a winXP "solution"
for a 98 partition, but I told myself there were partitions before
there was win98, so it should work. I can well believe that instead,
this will work, but will know for sure later today. I'll let you
know.
The Sys command will restore the Windows 98 boot sector and you will be
able to boot to Windows 98 but you will no longer be able to boot to
Windows XP, that is no big deal, the Fixboot command will restore the NT
boot sector and allow you to boot Windows XP again. After you boot to
the Windows 98 installation you can use the ancient debug command to
recreate the BOOTSECT.DOS file then you can use the Fixboot command to
rewrite the NT boot sector and return the boot process to ntldr.
To use the DEBUG command to create the bootsect.dos file, from Windows
98 start an MS-DOS Prompt and navigate to the root of the System drive.
To start the Debug console type debug and press <Enter> then enter
the following commands, (pressing <Enter> after each):
L 100 2 0 1
N C:\BOOTSECT.DOS
R BX
0
R CX
200
W
Q
If you want you can copy and paste the above commands to a Notepad file
then save the file as READ.SCR in the root folder, then once in the
debug console you can just type READ.SCR and press <Enter> to run the
commands automatically. Remember to navigate to the root folder (cd\)
before you launch Debug.
Note that the second number in the in the L line (L 100 # 0 1) indicates
the drive letter of the Windows 98 partition (2 = C, 3 = D, 4 = E, and
so on).
L 100 2 0 1
assumes that Windows 98 is on C:.
After you create the Bootsect.DOS file use the Recovery Console's
Fixboot command to rewrite the NT boot sector to the partition and
return the boot to the NT boot manager (ntldr), you should then be able
to boot both operating systems. The boot.ini file contains the entries
for both operating systems, typically:
[boot loader]
timeout=15
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Windows XP" /fastdetect
C:\="Microsoft Windows 98"
John