Re: How can i install and boot to MS-DOS



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!

---------------------------------------------------------------------------------------------
On Mar 28, 7:49 pm, John John <audetw...@xxxxxxxxxxx> 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.
---------------------------
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



.



Relevant Pages

  • Re: new from VB6
    ... > with a simple DOS program. ... It means debug is waiting for you to enter a command. ... debug displays the current contents of the CX register above and then ...
    (comp.lang.asm.x86)
  • Re: Simple Fup question
    ... If this program file is named scopy, compile it with the command: ... It drops into debug on any errors. ... record key is part-2. ... select out-file assign newfile ...
    (comp.sys.tandem)
  • gnome-settings-daemon crashed twice
    ... To debug your program, run it with the --sync command line ... backtrace from your debugger if you break on the gdk_x_errorfunction.) ...
    (GNOME)
  • [RFC: 2.6 patch] remove the broken SCSI_SEAGATE driver
    ... But if anyone wants to ever revive this driver, ... * Will activate debug code. ... -static int internal_command (unsigned char target, unsigned char lun, ... -/* If the user specified the controller type from the command line, ...
    (Linux-Kernel)
  • [2.6 patch] remove the broken SCSI_SEAGATE driver
    ... But if anyone wants to ever revive this driver, ... * Will activate debug code. ... -static int internal_command (unsigned char target, unsigned char lun, ... -/* If the user specified the controller type from the command line, ...
    (Linux-Kernel)