China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 21:52
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » [Help] Help~~ can't get back into XP View 1,122 Replies 13
Original Poster Posted 2003-05-06 00:00 ·  中国 内蒙古 呼和浩特 联通
初级用户
Credits 141
Posts 13
Joined 2003-05-06 00:00
23-year member
UID 1887
Gender Male
Status Offline
I used the boot disk made by wengier. After booting,
I used these commands~
SYS A: C:
SRCBOOT C: C:\BOOTSECT.DOS /S
BOOTPART WINXP BOOT:C:
Then after booting it went straight into DOS~
I can't get back into~~XP
Floor 2 Posted 2003-05-06 00:00 ·  中国 湖北 武汉 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
Oh, are you trying to set up XP and DOS dual boot?
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 3 Posted 2003-05-06 00:00 ·  中国 内蒙古 呼和浩特 联通
初级用户
Credits 141
Posts 13
Joined 2003-05-06 00:00
23-year member
UID 1887
Gender Male
Status Offline
Yeah, that's right.
Floor 4 Posted 2003-05-06 00:00 ·  中国 湖北 武汉 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
Could you explain the exact steps and your system situation?
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 5 Posted 2003-05-06 00:00 ·  中国 内蒙古 呼和浩特 联通
初级用户
Credits 141
Posts 13
Joined 2003-05-06 00:00
23-year member
UID 1887
Gender Male
Status Offline
My system only has WinXP... no other system has ever been installed.
I followed wengier's simplest method for making a dual-boot system~
but in the end I can't get into XP.
Floor 6 Posted 2003-05-06 00:00 ·  中国 内蒙古 呼和浩特 联通
初级用户
Credits 141
Posts 13
Joined 2003-05-06 00:00
23-year member
UID 1887
Gender Male
Status Offline
How to boot pure DOS under WinNT/2K/XP
Now some net friends have started installing WinNT/2K and even XP. But after they boot these operating systems, they find that many DOS programs can no longer run, and pure DOS can no longer be booted either. What's going on here?

As everyone knows, WinNT/2K/XP has something called the "command prompt." On the surface it looks similar to the MS-DOS box in Win3.x/9x. However, they are completely different. Win3.x/9x are large protected-mode interface enhancement programs running under MS-DOS, while WinNT/2K/XP are independent operating systems based on OS/2 and NT components, so there is an essential difference between them. By the same token, the MS-DOS provided in Win3.x/9x is real DOS, while the "command prompt" in WinNT/2K/XP is merely a "DOS virtual machine." Since it is virtual, the effect is naturally not as good as the real thing. Therefore, when this "virtual DOS" cannot run DOS programs properly, the only way is to use real DOS (including the MS-DOS 7.x that comes with Win9x) to run them.

Since WinNT/2K/XP do not come with DOS, if you want to boot from the hard disk into pure DOS after installing these operating systems, you can only use dual boot. Many users know that when WinNT/2K/XP start up, a menu often appears from which you can choose which operating system to boot. However, sometimes there is no "DOS" option in this menu, and sometimes this boot menu does not appear at all when booting (if you choose to keep the original operating system when installing WinNT/2K/XP, then the boot menu of WinNT/2K/XP will include the original operating system as an option). So what should be done? Below is an introduction to the method of installing DOS after WinNT/2K/XP have already been installed.

Booting DOS requires the DOS system boot sector and startup files. And the key to installing DOS after WinNT/2K/XP have been installed is to create them. Some of you may ask: after WinNT/2K/XP are installed, hasn't the content in the master boot sector already been replaced with non-DOS code? Why can DOS still be started through the boot menu mentioned above? This is because if DOS (including the MS-DOS 7.x that comes with Win9x) was once installed on the system, WinNT/2K/XP will automatically create a BOOTSECT.DOS file in the primary boot partition (usually drive C), and this file preserves the DOS boot information. After choosing to boot DOS in the boot menu, WinNT/2K/XP use this file to make DOS start. Therefore, if the BOOTSECT.DOS file already exists in C:\( (that is, the primary boot partition), there is no need to create it manually. You can directly copy DOS files such as IO.SYS, MSDOS.SYS, and COMMAND.COM (for example from MS-DOS 7.10) to C:\ (it is best not to transfer the system with the SYS command; see the next paragraph for details), and then modify the BOOT.INI file as described below.

As for DOS system startup files, everyone knows that the SYS command that comes with DOS can be used to transfer them. However, if you do this directly, then only DOS will boot, and the boot information of WinNT/2K/XP will be overwritten, making them unable to boot. In order to make both DOS and WinNT/2K/XP boot, there are several methods. You can use a very practical tool called BOOTPART, which can be found in this site's "system tools." Its functions are very powerful; for example, it can write information for a specified system into the boot sector, including DOS6, DOS7 (Win9x), and WinNT (/2K/XP). For example, if you want to write the boot information of MS-DOS 7.10 (Win98) into drive C, you can use the command BOOTPART WIN98 BOOT:C:. Therefore, the specific method is: first use the SYS command (such as SYS C to transfer the DOS system files to drive C, then save the information in the primary boot sector at that time (that is, the DOS boot information) into the file C:\BOOTSECT.DOS. This can easily be done with a small tool called SRC Tools in this site's "disk tools." SRCBOOT, SRCMBR, and SRCFAT are commands for saving, backing up, and comparing the BOOT, MBR, and FAT respectively. The specific usage of the SRCTools collection can be seen in a special article under the "DOS articles" section. For example, SRCBOOT C: C:\BOOTSECT.DOS /S can save the boot sector of drive C into the file C:\BOOTSECT.DOS. At this point the BOOTSECT.DOS file has been successfully created. Next is restoring the boot information of WinNT/2K/XP, which can be done with the BOOTPART tool mentioned above, such as BOOTPART WINNT BOOT:C:. After that, just perform the BOOT.INI modification described below.

Another method is to first save the boot information of WinNT/2K/XP into a file, then create the DOS system startup files and boot information separately, then use the SRC Tools mentioned above to save the DOS boot information into the file C:\BOOTSECT.DOS, and finally restore the WinNT/2K/XP boot information saved in the file back into the boot sector. The specific process for creating the DOS system startup files and boot information can be seen in the method above, while saving and restoring the WinNT/2K/XP boot sector can both be done with SRC Tools commands. For example, you can execute SRCBOOT C: C:\NTBOOT.DAT /S and SRCBOOT C: C:\NTBOOT.DAT /R respectively to complete it (/S means save, /R means restore, and NTBOOT.DAT is only a temporary file used when saving and restoring the WinNT/2K/XP boot information, and can be deleted after completion), and then carry out the operation below.

Finally, you can start making the dual-boot menu. The boot menu of WinNT/2K/XP is stored in the BOOT.INI file under the root folder of the primary boot partition (usually C:\BOOT.INI). The method is to first remove the read-only, hidden, and system attributes of the C:\BOOT.INI file (for example with the ATTRIB command that comes with DOS, or an enhanced ATTRIB command, etc.), then open the C:\BOOT.INI file with a text editor (such as the EDIT that comes with DOS), and under the entry in the file add a line: C:\="MS-DOS". After finishing, save the file and restore its various attributes, then restart the system,

it should: show a boot menu, with an "MS-DOS" item in it.
Result.......... mine is C:\
Floor 7 Posted 2003-05-06 00:00 ·  中国 湖北 武汉 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
Did you edit the boot、ini file?
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 8 Posted 2003-05-06 00:00 ·  中国 内蒙古 呼和浩特 联通
初级用户
Credits 141
Posts 13
Joined 2003-05-06 00:00
23-year member
UID 1887
Gender Male
Status Offline
Yeah
I edited it.
Floor 9 Posted 2003-05-06 00:00 ·  中国 湖北 武汉 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
Then try using bootcfg in XP's Recovery Console to repair it.


弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 10 Posted 2003-05-06 00:00 ·  中国 内蒙古 呼和浩特 联通
初级用户
Credits 141
Posts 13
Joined 2003-05-06 00:00
23-year member
UID 1887
Gender Male
Status Offline
Use bootcfg in XP's Recovery Console to repair it...... how?
.......Sorry to trouble you~
Floor 11 Posted 2003-05-06 00:00 ·  中国 湖北 武汉 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
If the Recovery Console is installed, choose that option to enter it and just execute it directly. If not, please run the XP installation disc, and when you get to the corresponding screen, press the R key, and that will start the Recovery Console. It's in Chinese, very simple... If anything is unclear, just type bootcfg /? to view the help for that command...
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 12 Posted 2003-05-06 00:00 ·  中国 内蒙古 呼和浩特 联通
初级用户
Credits 141
Posts 13
Joined 2003-05-06 00:00
23-year member
UID 1887
Gender Male
Status Offline
o
I'll give it a try then

Floor 13 Posted 2003-05-06 00:00 ·  中国 湖北 武汉 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
There's another question too; I mentioned it in the beginner section, go take a look....
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 14 Posted 2003-05-27 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
Why does nobody use that simple and effective method of mine?
It doesn't require you to use the console, and it doesn't require you to use any sector editing software either. You just need to do a "fake install" of winxp, and it takes less than half a minute...
http://www2.zzu.edu.cn/ie/newdos/dispbbs.asp?boardID=12&replyID=119&ID=46&skin=1

This is painful. Before asking questions, can't you use the search function first???
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Forum Jump: