John,it is error with me coz it is partition H: not partition D: i
install DOS.Really i install MS-DOS on the second partition of the
hardisk(follow partition magic) but when i settup windows on the first
partition,the DOS installed partition then letter H( i format C then
new install from the begin).So what do i do now?Please help me fix
this soon ya.Thanks!Wait ur reply now.
The picture:
--------------------------------------------------------------------------------------------------
Ok, this should be easy to fix.
Boot to your Windows XP installation and from the command prompt run
the
Debug command to create a boot sector file for the DOS installation
on
the second partition. You can run these 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 XP installation 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, start a command prompt session and navigate to the folder where
the
READ.SCR file is located and issue the following command:
debug <read.scr
This will create a C:\BOOTSECT.DOS file from the boot sector of the
DOS
installation on partition 2. For this file to work Windows XP must
be
installed on the first partition and DOS must be installed on the
second
(D:\) partition of the same disk. Verify in the root folder (C:\)
of
the XP NTFS drive to make sure that the newly created bootsect.dos
file
is present, it will be in the root folder along with the hidden
system
files ntldr, boot.ini and NTDETECT.COM.
Now edit the boot.ini file and under the [operating systems] section
add
an extra line for the DOS installation:
c:\="DOS"
The boot.ini file will now look something like this:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
Professional" /fastdetect
c:\="DOS"
You should now be able to boot the DOS installation on the second
partition. If it doesn't work post again and we can try another
slightly different method of arriving at the same goal.
John