How can i install and boot to MS-DOS

O

Olicaca

Really i dont understand deeply ur saying.I just mark DOS partition
active,then boot to it,then run ur command (debug <read.scr) but
seemed the command "debug" is not being in MS-DOS then it say bad
command line.
If i mark DOS partition active then setup windows after then i will be
able to do this thing(choose boot to win or to dos) but in that,the
windows partition lettered F:(the end partition) and i don't want this
thing.
Ok John,brother,can u teach me understand the structure of bootsec.dos
file ok? I feel so curious about bootsec.dos ja.Thank John,i hope will
complete my problem soon.


While booted to DOS did you run this from the Debug Prompt?

At the command prompt you have to start Debug first then issue the
commands at the debug prompt.

If this doesn't work our option list is becoming shorter, a bootsect.dos
file must be generated for ntldr to use to boot the DOS installation.
But there are still other options available...

John


Brother,are you still there?
Sorry that these time i didn't online because the IE have
problem,cannot logon(seemed there's a risk in my PC and it shutdown my
IE usually,so save..)
Come back with my MS-DOS problem,i followed ur way,boot to MS-DOS
partition and use that command but cannot run.It say bad command
line.So,can i use MS-DOS beside Windows in these case?Is it able or
not able.....?
Hope you come back and help me soon,thank alot!
---------------------------------------------------------------------------­------------------
Olicaca wrote:
I followed, but it say these:
---------------------------
16 bit MS-DOS Subsystem
---------------------------
C:\WINDOWS\system32\cmd.exe - debug
An application has attempted to directly access the hard disk, which
cannot be supported. This may cause the application to function
incorrectly. Choose 'Close' to terminate the application.
---------------------------
Close  Ignore
---------------------------
Ok, lets make the bootsect.dos file with the MS-DOS installation and see
if we can use it on the NTFS active partition.
Toggle the active partition and boot to your MS-DOS installation and run
these debug commands to create the Bootsect.dos file:
L 100 2 0 1
N C:\BOOTSECT.DOS
R BX
0
R CX
200
W
Q
The file should be created in the C:\ root of the DOS installation.  Use
the debug command to verify that the file you just created is for the
MS-DOS installation:
At the DOS prompt enter the following debug command:
debug c:\bootsect.dos
Then at the debug prompt enter:
d 100 L 100
this will allow you to see the beginning of the bootsect.dos file.  The
first bytes should read MSDOS...
Then at the debug prompt enter:
d 200 L 100
you will now see the second half of the file, the last bytes should read
IO SYSMSDOS SYS.
Now, toggle the active partition again and boot to the Windows XP
installation.  Copy the bootsect.dos file that you created to the root
of the XP inatallation alongside the ntldr, NTDETECT.COM & boot.ini files.
Edit the Boot.ini file and under the [operating systems] section add a
line for the MS-DOS operating system:
c:\bootsect.dos="MS-DOS"
Now, with the Windows XP partition set as active try to boot to the DOS
installation.
If it doesn't work don't despair, we can transfer the XP boot files to
the DOS partiton and change the boot sector to boot the operating
systems from that partition instead of the XP partition.
John- Hide quoted text -

- Show quoted text -
 
J

John John (MVP)

Debug is an ancient command that is included in almost all versions of
MS-DOS, is it part of your DOS installation?

If you can't create the Bootsect.dos file you will have to use a third
party boot manager.

Another way of creating the multi-boot is to start a Windows XP
installation from the up and booted MS-DOS installation and then
aborting the installation before the first reboot. When the computer
reboots after the aborted setup select to boot to the MS-DOS
installation from the boot menu and then clean up the aborted
installation files and add a line to the newly created boot.ini file on
the C: drive to point it to the XP installation on the other drive. To
launch the XP setup from DOS insert the CD in the drive and navigate to
the i386 directory and launch the Winnt command.

John
Really i dont understand deeply ur saying.I just mark DOS partition
active,then boot to it,then run ur command (debug <read.scr) but
seemed the command "debug" is not being in MS-DOS then it say bad
command line.
If i mark DOS partition active then setup windows after then i will be
able to do this thing(choose boot to win or to dos) but in that,the
windows partition lettered F:(the end partition) and i don't want this
thing.
Ok John,brother,can u teach me understand the structure of bootsec.dos
file ok? I feel so curious about bootsec.dos ja.Thank John,i hope will
complete my problem soon.


While booted to DOS did you run this from the Debug Prompt?

At the command prompt you have to start Debug first then issue the
commands at the debug prompt.

If this doesn't work our option list is becoming shorter, a bootsect.dos
file must be generated for ntldr to use to boot the DOS installation.
But there are still other options available...

John


Brother,are you still there?
Sorry that these time i didn't online because the IE have
problem,cannot logon(seemed there's a risk in my PC and it shutdown my
IE usually,so save..)
Come back with my MS-DOS problem,i followed ur way,boot to MS-DOS
partition and use that command but cannot run.It say bad command
line.So,can i use MS-DOS beside Windows in these case?Is it able or
not able.....?
Hope you come back and help me soon,thank alot!
---------------------------------------------------------------------------­------------------
On Mar 28, 7:49 pm, John John <[email protected]> wrote:
Olicaca wrote:
I followed, but it say these:
---------------------------
16 bit MS-DOS Subsystem
---------------------------
C:\WINDOWS\system32\cmd.exe - debug
An application has attempted to directly access the hard disk, which
cannot be supported. This may cause the application to function
incorrectly. Choose 'Close' to terminate the application.
Ok, lets make the bootsect.dos file with the MS-DOS installation and see
if we can use it on the NTFS active partition.
Toggle the active partition and boot to your MS-DOS installation and run
these debug commands to create the Bootsect.dos file:
L 100 2 0 1
N C:\BOOTSECT.DOS
R BX
0
R CX
200
W
Q
The file should be created in the C:\ root of the DOS installation. Use
the debug command to verify that the file you just created is for the
MS-DOS installation:
At the DOS prompt enter the following debug command:
debug c:\bootsect.dos
Then at the debug prompt enter:
d 100 L 100
this will allow you to see the beginning of the bootsect.dos file. The
first bytes should read MSDOS...
Then at the debug prompt enter:
d 200 L 100
you will now see the second half of the file, the last bytes should read
IO SYSMSDOS SYS.
Now, toggle the active partition again and boot to the Windows XP
installation. Copy the bootsect.dos file that you created to the root
of the XP inatallation alongside the ntldr, NTDETECT.COM & boot.ini files.
Edit the Boot.ini file and under the [operating systems] section add a
line for the MS-DOS operating system:
c:\bootsect.dos="MS-DOS"

Now, with the Windows XP partition set as active try to boot to the DOS
installation.
If it doesn't work don't despair, we can transfer the XP boot files to
the DOS partiton and change the boot sector to boot the operating
systems from that partition instead of the XP partition.
John- Hide quoted text -

- Show quoted text -
 
O

Olicaca

Debug is an ancient command that is included in almost all versions of
MS-DOS, is it part of your DOS installation?

If you can't create the Bootsect.dos file you will have to use a third
party boot manager.

Another way of creating the multi-boot is to start a Windows XP
installation from the up and booted MS-DOS installation and then
aborting the installation before the first reboot.  When the computer
reboots after the aborted setup select to boot to the MS-DOS
installation from the boot menu and then clean up the aborted
installation files and add a line to the newly created boot.ini file on
the C: drive to point it to the XP installation on the other drive.  To
launch the XP setup from DOS insert the CD in the drive and navigate to
the i386 directory and launch the Winnt command.

John


Really i dont understand deeply ur saying.I just mark DOS partition
active,then boot to it,then run ur command (debug <read.scr) but
seemed the command "debug" is not being in MS-DOS then it say bad
command line.
If i mark DOS partition active then setup windows after then i will be
able to do this thing(choose boot to win or to dos) but in that,the
windows partition lettered F:(the end partition) and i don't want this
thing.
Ok John,brother,can u teach me understand the structure of bootsec.dos
file ok? I feel so curious about bootsec.dos ja.Thank John,i hope will
complete my problem soon.
While booted to DOS did you run this from the Debug Prompt?
At the command prompt you have to start Debug first then issue the
commands at the debug prompt.
If this doesn't work our option list is becoming shorter, a bootsect.dos
file must be generated for ntldr to use to boot the DOS installation.
But there are still other options available...
John
Olicaca wrote:
Brother,are you still there?
Sorry that these time i didn't online because the IE have
problem,cannot logon(seemed there's a risk in my PC and it shutdown my
IE usually,so save..)
Come back with my MS-DOS problem,i followed ur way,boot to MS-DOS
partition and use that command but cannot run.It say bad command
line.So,can i use MS-DOS beside Windows in these case?Is it able or
not able.....?
Hope you come back and help me soon,thank alot!
------------------------------------------------------------------------­---­------------------
Olicaca wrote:
I followed, but it say these:
---------------------------
16 bit MS-DOS Subsystem
---------------------------
C:\WINDOWS\system32\cmd.exe - debug
An application has attempted to directly access the hard disk, which
cannot be supported. This may cause the application to function
incorrectly. Choose 'Close' to terminate the application.
---------------------------
Close  Ignore
---------------------------
Ok, lets make the bootsect.dos file with the MS-DOS installation and see
if we can use it on the NTFS active partition.
Toggle the active partition and boot to your MS-DOS installation and run
these debug commands to create the Bootsect.dos file:
L 100 2 0 1
N C:\BOOTSECT.DOS
R BX
0
R CX
200
W
Q
The file should be created in the C:\ root of the DOS installation.  Use
the debug command to verify that the file you just created is for the
MS-DOS installation:
At the DOS prompt enter the following debug command:
debug c:\bootsect.dos
Then at the debug prompt enter:
d 100 L 100
this will allow you to see the beginning of the bootsect.dos file.  The
first bytes should read MSDOS...
Then at the debug prompt enter:
d 200 L 100
you will now see the second half of the file, the last bytes should read
IO SYSMSDOS SYS.
Now, toggle the active partition again and boot to the Windows XP
installation.  Copy the bootsect.dos file that you created to the root
of the XP inatallation alongside the ntldr, NTDETECT.COM & boot.ini files.
Edit the Boot.ini file and under the [operating systems] section add a
line for the MS-DOS operating system:
c:\bootsect.dos="MS-DOS"
Now, with the Windows XP partition set as active try to boot to the DOS
installation.
If it doesn't work don't despair, we can transfer the XP boot files to
the DOS partiton and change the boot sector to boot the operating
systems from that partition instead of the XP partition.
John- Hide quoted text -
- Show quoted text -- Hide quoted text -

- Show quoted text -

Ok,thank you!
 
J

John John (MVP)

Olicaca said:
Ok,thank you!

You're welcome.

There is another way that might/should also work.

1- Create a boot floppy for the XP installation:

Boot to the Windows XP installation and format a floppy diskette. The
diskette *must* be formatted with Widnows XP, if it is formatted with
Windows 9x/MS-DOS the boot diskette will fail to boot Windows XP.

After the diskette is formatted copy the file ntldr, NTDETECT.COM &
boot.ini from the root of the XP drive onto the diskette.

2- Try to boot to Windows XP with the diskette. Shutdown the computer,
go in the BIOS and change the boot order so that the diskette is set as
the first boot device. Insert the diskette in the computer and boot to
Windows XP with it.

3- If you can successfully boot to Windows XP with the diskette, shut
down the computer and change the Active partition to the MS-DOS partition.

4- Boot with to Windows XP with the floppy boot diskette. Even if the
MS-DOS partition is the Active partition, (which it must for this
method) you will still be able to boot XP with the floppy diskette.
After the XP installation is booted you can use the Disk Management tool
to verify the active status of the partitions, the MS-DOS must be the
active partition.

5- Install the Recovery Console. While booted to the XP installation
insert your Windows XP cd in the drive and in the Start Menu-> Run box
issue the following command:

d:\i386\winnt32.exe /cmdcons

where d is the drive letter for the CD-ROM drive.

This will launch the install routine for the Recovery Console. When the
installation sees the MS-DOS FAT partition as the Active partition it
will (should) create the necessary bootsect.dos file for the DOS
installation and it should copy the necessary system boot files to the
partition, create a proper boot.ini file for the operating systems and
write the proper boot sector to the partition to allow it to boot the XP
installation.

John
 
O

Olicaca

You're welcome.

There is another way that might/should also work.

1- Create a boot floppy for the XP installation:

Boot to the Windows XP installation and format a floppy diskette. The
diskette *must* be formatted with Widnows XP, if it is formatted with
Windows 9x/MS-DOS the boot diskette will fail to boot Windows XP.

After the diskette is formatted copy the file ntldr, NTDETECT.COM &
boot.ini from the root of the XP drive onto the diskette.

2- Try to boot to Windows XP with the diskette. Shutdown the computer,
go in the BIOS and change the boot order so that the diskette is set as
the first boot device. Insert the diskette in the computer and boot to
Windows XP with it.

3- If you can successfully boot to Windows XP with the diskette, shut
down the computer and change the Active partition to the MS-DOS partition.

4- Boot with to Windows XP with the floppy boot diskette. Even if the
MS-DOS partition is the Active partition, (which it must for this
method) you will still be able to boot XP with the floppy diskette.
After the XP installation is booted you can use the Disk Management tool
to verify the active status of the partitions, the MS-DOS must be the
active partition.

5- Install the Recovery Console. While booted to the XP installation
insert your Windows XP cd in the drive and in the Start Menu-> Run box
issue the following command:

d:\i386\winnt32.exe /cmdcons

where d is the drive letter for the CD-ROM drive.

This will launch the install routine for the Recovery Console. When the
installation sees the MS-DOS FAT partition as the Active partition it
will (should) create the necessary bootsect.dos file for the DOS
installation and it should copy the necessary system boot files to the
partition, create a proper boot.ini file for the operating systems and
write the proper boot sector to the partition to allow it to boot the XP
installation.

John

Hmm,sorry John because i not have enought the time to go far to buy a
floppy disk,so i will use my USB,my mainboard allow me boot from USB.I
will tell you tomorrow.Now i go to bed and take a sleep.So sleep and
felt Thank you.God bless you!
 
O

Olicaca

Hmm,sorry John because i not have enought the time to go far to buy a
floppy disk,so i will use my USB,my mainboard allow me boot from USB.I
will tell you tomorrow.Now i go to bed and take a sleep.So sleep and
felt Thank you.God bless you!- Hide quoted text -

- Show quoted text -

Sorry brother,today so many work then i till haven't try your
instructions yet.Maybe when i complete i will tell you.Hope you still
care.Thanks.
 
J

John John (MVP)

Olicaca said:
Sorry brother,today so many work then i till haven't try your
instructions yet.Maybe when i complete i will tell you.Hope you still
care.Thanks.

Keep me posted, I'm interested to know how you make out with this.

John
 
J

John John (MVP)

Olicaca said:
Thanks John.Everything ok now.Thank alot for your support.God bless
you!

You're welcome Olicaca, thanks for letting me know the outcome of your
efforts!

John
 
Joined
Jul 6, 2005
Messages
2
Reaction score
0
Hello,

I have read your duscussion about how to make a dual boot system with Windows XP an DOS.

I am looking for a way to create a dual boot system for restoring an image file by using the boot menu from windows xp.

I have tried a lot of stuff you where discussing in this thread but i'm not able to make it work on my computers.

I hope you are willing to help with this.

Thanks in advance

Ralph
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top