Dennis said:
Dennis said:
Thanks for the reply.
EASEUS Partition Master does not list Win98. Can it still be used to
make C: smaller if C: is a Win98 partition?
Gilgamesh wrote:
I have a drive partitioned into C: and D:. I need to make D: larger
and,
of course, C: smaller. What is the easiest way to do this. This is a
dual boot system with Windows XP Pro on D: and Windows 98SE on C:.
I'd use EASEUS Partition Master (
http://www.partition-tool.com/)]
The Home edition is free
I used EASEUS Partition Master to resize my C: partition smaller so
that I can make D: larger. Now Windows 98SE no longer will boot up
on C:. Any ideas?
You have to rebuild the Bootsect.dos file. This file contains
information about the partition size and its starting and ending
locations, when you resized the partition the information in the file
became invalid.
To rebuild the file you have to write a Windows 9x boot sector to the
partition and return the boot mechanism to the Windows 98 IO.sys file.
You can write the boot sector with a Windows 98 startup floppy and the
sys c: command.
After you write the Windows 9x boot sector to the partition you can boot
into the Windows 98 installation and rebuild the bootsect.dos file with
the ancient Debug command:
From Windows 98 start an MS-DOS Prompt and navigate to the root of the
System drive (C:\) and issue the following commands, pressing enter
after each:
debug
L 100 2 0 1
N C:\BOOTSECT.DOS
R BX
0
R CX
200
W
Q
You can run the above commands at the debug screen, but an even easier
way is to just copy them to a file and have debug run them
automatically. Copy the stuff *between* the === lines and save it in a
notepad file as READ.SCR, save the file in an easy to find and navigate
to directory, the root folder of the drive (C:\) is as good a place as
any other:
READ.SCR
============================================
L 100 3 0 1
N C:\BOOTSECT.DOS
R BX
0
R CX
200
W
Q
============================================
Now, from the Windows 98 inatallation start a command prompt session
and navigate to the folder where the READ.SCR file is located (C:\) and
issue the following command:
debug <read.scr
This will create a C:\BOOTSECT.DOS file from the boot sector of the
Windows 98 installation on partition. Now you have to return the boot
mechanism back to ntldr, you have to write the NT boot sector to the
partition.
Exit the Windows 98 installation and using your Windows XP CD boot to
the Recovery Console and issue the FIXBOOT command on the active
partition (the drive hosting the Windows 98 installation, C:\), that
will write an NT boot sector to the partition and you should now be able
to boot to either of your operating systems when you boot the computer
from the hard drive. If you find that it doesn't boot then boot to the
Recovery Console again and issue FIXMBR and FIXBOOT. If needed you
may also find the BOOTCFG command to be useful, but bear in mind that
the BOOTCFG command cannot find and add Windows 9x installations to the
boot.ini file.
Of course if all of the above is a bit too complicated you can always
try the easy way, use a third party utility to automate the task!
http://thpc.info/dual/bootsectdos.html
John