中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 23:12
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » [Help] About dual boot
Printable Version  951 / 12
Floor1 眼泪哭了 Posted 2003-08-19 00:00
初级用户 Posts 8 Credits 138
I already followed the article “How to boot pure DOS under WinNT/2K/XP ” and set up the DOS and XP boot menu, and I can also enter DOS, but I put all the DOS files on drive C. I want to create a folder on C, like MSDOS, then put all the DOS files into it, modify BOOT.INI and the files that need to be modified, and still have dual boot work. I don't know if everyone understands what I mean, what should I do?
Floor2 cyy1630 Posted 2003-08-19 00:00
初级用户 Posts 23 Credits 184
Put io.sys and those into a folder too? That doesn't seem to work. Maybe some third-party software can do this, but I haven't seen it.
Putting everything on another primary partition should work, though.
Floor3 cn_archer Posted 2003-08-19 00:00
元老会员 Posts 991 Credits 2,903 From 福建省
System files like IO.SYS must be placed in the root directory... DOS and the Windows series are not the same D
Floor4 眼泪哭了 Posted 2003-08-19 00:00
初级用户 Posts 8 Credits 138
Alright then, those few important ones can be put in C:\,but how can the others be put in C:\DOS?
Floor5 LanE Posted 2003-08-19 00:00
银牌会员 Posts 648 Credits 1,835
You just need to change the driver paths in config.sys, then change the PATH environment variable, and if needed, modify autoexec.bat too, and it'll be OK (if PATH is set correctly, you can use external commands directly, otherwise you'll have to add the path)
Floor6 lin1 Posted 2003-08-19 00:00
初级用户 Posts 29 Credits 183
Except for the two files io.sys and msdos.sys, which must be in "C:\", all the other files, including command.com, can be put elsewhere! The method is as stated by the poster above; the location of command.com can be specified in the comspec environment variable
Floor7 眼泪哭了 Posted 2003-08-19 00:00
初级用户 Posts 8 Credits 138
But exactly how should I change it?
Floor8 LanE Posted 2003-08-19 00:00
银牌会员 Posts 648 Credits 1,835
Post the contents of your config.sys and autoexec.bat, and then say where exactly you want to put the other files, for example c:\dos
Floor9 眼泪哭了 Posted 2003-08-19 00:00
初级用户 Posts 8 Credits 138
The following is quoted from LanE at 2003-8-19 18:31:55:
Post the contents of your config.sys and autoexec.bat, and then say where exactly you want to put the other files, for example c:\dos

Just put them in c:\dos
autoexec.bat is empty

config.sys:

numlock=on
files=10
buffers=10
dos=high,umb
stacks=12,256
lastdrive=z
device=himem.sys /textmemff
device=emm386.exe ON 8192
device=ramdrive.sys 4096 /E



Floor10 LanE Posted 2003-08-19 00:00
银牌会员 Posts 648 Credits 1,835
Change
device=himem.sys /textmemff
device=emm386.exe ON 8192
device=ramdrive.sys 4096 /E
these three lines to
device=c:\dos\himem.sys /textmemff
device=c:\dos\emm386.exe ON 8192
device=c:\dos\ramdrive.sys 4096 /E
Floor11 眼泪哭了 Posted 2003-08-19 00:00
初级用户 Posts 8 Credits 138
autoexec.bat doesn't need changing?
Floor12 LanE Posted 2003-08-19 00:00
银牌会员 Posts 648 Credits 1,835
If it's empty, then it doesn't need to be changed
But I forgot one thing just now: you also need to set the PATH environment variable. The specific method is to add a line set path=c:\dos in config.sys, or add a line path=c:\dos in autoexec.bat
Of course, you can also set some other paths as well
Floor13 zl7322 Posted 2003-08-19 00:00
高级用户 Posts 269 Credits 871
Add a line set path=c:\dos in config.sys
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023