|
chujiafu
银牌会员
    
积分 1337
发帖 594
注册 2004-5-26 来自 安徽 宿州
状态 离线
|
『楼 主』:
[分享]如何给 WinXP 补加纯 DOS
使用 LLM 解释/回答一下
请注意:此方法不适用于NTFS文件系统。
同时适用于NTFS和FAT32文件系统的方法见第28页的第409~419楼。
现在很多朋友都装了WinXP,它确实既快又稳定,但也带来不便,比如你想用Ghost进行克隆时,却不行,因为Ghost要求在纯DOS下才能运行。怎么办呢?有的朋友想到了Vfloppy,但它毕竟是虚拟的,不是纯DOS,而且在你用Ghost恢复之后,还得重装Vfloppy,不方便。试试:
1.如果你在装WinXP之前,用Format c:/s这个命令来格式化C:盘的,那么你在安装完WinXP之后,按F8是可以进入纯DOS的;
2.你如果在安装WinXP/Win2003前没有用Format c:/s这个命令来把C:盘格成系统盘的话,还有一种补救的方法。
所需命令:
Sys;srcboot;bootpart;attrib
具体步骤是:
1.用光盘或软盘启动DOS;
2.Sys a: c:(使得现有的C:盘能够启动);
3.Srcboot c: c:\bootsect.dos /s (把当前的Dos启动信息保存下来)
4.Echo y|Bootpart winnt boot:c: (这一步是重新恢复Nt的启动内核,因为你用Sys a: c:把C: 盘原先的Nt的启动信息覆盖了,如果不进行这一步的话,从硬盘启动就变成纯Dos了。)
5.Attrib -h -s -r C:\boot.ini(这一步是去掉Boot.ini的的隐藏、系统、只读属性。)
6.Echo c:\="MS-DOS">>c:\boot.ini(在Boot.ini添加进入DOS的选项。)
7.Attrib +h +s +r C:\boot.ini(恢复Boot.ini的隐藏、系统、只读属性。)
8.重新启动电脑,按F8,选择最后一项“返回操作系统选择菜单”,选“MS-DOS”一项,就可以进行纯DOS了。
当然你可以用一个批处理来进行自动处理。 我做了一个批处理,经多次使用成功。下载之后,把它解压到一个目录里(你要记住这个目录,因为后面要进入这个目录,并且这个目录的父目录最好不要超过8个字符,也不要是中文目录)。然后,从启动盘(光盘或软盘)启动电脑,进入你刚才释放的Ebd目录,打入Xpdos(这是个批处理)就大功告成了。
补记:
该方法经本人多次使用成功。但在一次长城电脑上使用時,却费了九牛二虎之力。经过:连装3次都没有成功,反思一下,为什么其它机器都能一次成功,为何这台机子却不成功呢?是不是还原大师的问题呢(因为是为学生准备的,都用了还原大师),其它机器的还原大师都被缷掉了,所以一次成功。而这台机子的还原大师没有缷掉。是不是因为它呢?试试看。重启按F10,进入还原大师,其中的第三项是关于分区设置的,看了一下,其中C:盘的属性是A,也就是开机立即还原,把它改为C,也就是不还原。保存重启,再运行批处理,大功告成!
结论:当遇到问题时,需要冷静分析原因,才能找出对策。
这是批处理文件
Please note: This method is not applicable to the NTFS file system.
The method applicable to both NTFS and FAT32 file systems can be found on page 28, posts 409-419.
Now many friends have installed WinXP, which is indeed fast and stable, but it also brings inconvenience. For example, when you want to use Ghost for cloning, it doesn't work because Ghost requires running in pure DOS. What to do? Some friends think of Vfloppy, but it is after all virtual, not pure DOS, and after you use Ghost to restore, you have to reinstall Vfloppy, which is inconvenient. Try:
1. If you formatted the C: drive with the command Format c:/s before installing WinXP, then after installing WinXP, you can enter pure DOS by pressing F8;
2. If you didn't use the command Format c:/s to format the C: drive as a system drive before installing WinXP/Win2003, there is another remedy method.
Required commands:
Sys; srcboot; bootpart; attrib
Specific steps:
1. Boot the DOS from a CD or floppy disk;
2. Sys a: c: (so that the existing C: drive can boot);
3. Srcboot c: c:\bootsect.dos /s (save the current Dos boot information);
4. Echo y|Bootpart winnt boot:c: (This step is to re - restore the Nt boot kernel, because you used Sys a: c: to overwrite the original Nt boot information of the C: drive. If this step is not carried out, booting from the hard disk will become pure DOS.);
5. Attrib -h -s -r C:\boot.ini (This step is to remove the hidden, system, and read - only attributes of Boot.ini.);
6. Echo c:\="MS-DOS">>c:\boot.ini (Add the option to enter DOS in Boot.ini.);
7. Attrib +h +s +r C:\boot.ini (Restore the hidden, system, and read - only attributes of Boot.ini.);
8. Restart the computer, press F8, select the last item "Return to the operating system selection menu", and select the "MS-DOS" item to be able to enter pure DOS.
Of course, you can use a batch processing to carry out automatic processing. I made a batch processing, which has been successfully used many times. After downloading, extract it to a directory (you need to remember this directory, because you will enter this directory later, and the parent directory of this directory is best not to exceed 8 characters, and it should not be a Chinese directory). Then, boot the computer from the boot disk (CD or floppy disk), enter the Ebd directory you just released, and type in Xpdos (this is a batch processing), and it will be done.
Supplementary note:
This method has been successfully used many times by me. But when it was used on a Great Wall computer, it took great efforts. The process: it was not successful after installing 3 times. Reflecting, why did it be successful at one time on other machines, but not on this machine? Is it the problem of the restoration master (because it is for students, and the restoration master has been used), the restoration masters of other machines have been uninstalled, so it is successful at one time. But the restoration master of this machine was not uninstalled. Is it because of it? Let's try. Restart and press F10, enter the restoration master, among which the third item is about partition settings. Look at it, among which the attribute of the C: drive is A, that is, it is restored immediately when booting, change it to C, that is, not restored. Save and restart, then run the batch processing, and it is successful!
Conclusion: When encountering problems, it is necessary to analyze the reasons calmly to find the countermeasures.
This is the batch processing file
此帖被 +2 点积分 点击查看详情 评分人:【 s1fmark 】 | 分数: +1 | 时间:2008-11-5 12:10 | 评分人:【 foces 】 | 分数: +1 | 时间:2010-12-12 21:37 |
|
附件
1: ebd.zip (2005-8-30 18:30, 231.08 KiB, 下载附件所需积分 1 点
,下载次数: 4370)
|
|
2005-8-30 18:30 |
|
|
CYMVPN1
初级用户
 
积分 41
发帖 18
注册 2005-8-30
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
用启动盘启动是可以运行GHOST的,不用纯DOS,不过先装XP后装DOS是得学学,呵呵
Booting with a bootable disk can run GHOST, no need for pure DOS. But if you install XP first and then DOS, you need to learn it, heh heh
|
|
2005-8-30 18:37 |
|
|
JonePeng
金牌会员
      D◎$ Fαп
积分 4562
发帖 1883
注册 2004-1-19 来自 广东广州
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
不错!我来顶。
Good! I'll give it a thumbs up.
|

----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
|
|
2005-8-30 21:04 |
|
|
253535987
新手上路

积分 1
发帖 1
注册 2005-8-31
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
谢谢,我用的就是XP系统。
以后多多发这样的帖子。
我是一新手,中学都没毕业,以后多多关照。
Thanks, I'm using the XP system.
Please post more such threads in the future.
I'm a newbie, didn't even finish middle school, please take care of me in the future.
|
|
2005-8-31 04:10 |
|
|
chujiafu
银牌会员
    
积分 1337
发帖 594
注册 2004-5-26 来自 安徽 宿州
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
是得多学习,电脑知识太广了,我也是一步一步自学的。你学得再多也只是大海中的一滴水。
Last edited by chujiafu on 2005-9-3 at 11:18 ]
One really needs to study more. Computer knowledge is too extensive. I also learned step by step. No matter how much you learn, it's just a drop in the ocean.
Last edited by chujiafu on 2005-9-3 at 11:18 ]
|
|
2005-9-3 09:59 |
|
|
chujiafu
银牌会员
    
积分 1337
发帖 594
注册 2004-5-26 来自 安徽 宿州
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
怎样在安装完WinXP后再进入纯Dos,这是困扰本人很长时间的一个问题,现在终于解决了,现与大家分享。
How to enter pure DOS after installing WinXP is a problem that has troubled me for a long time. Now I have finally solved it and I want to share it with you.
|
|
2005-9-3 11:21 |
|
|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
Re chujiafu:
感谢你所做的工作!
我想这个问题还有很多值得讨论的地方,比如是否可以将软盘或虚拟软盘中的DBR直接保存为bootsect.dos,然后将其中的IO.SYS直接拷贝到C:,从而将2、3、4部省略;又比如是否可以修改bootsect.dos将io.sys定位到其他的Fat32分区或者直接定位到新的bootsect.dos中,从而实现DOS非主分区启动;另外,对于bootsect.dos在启动过程中如何载入,它是被真实地写入到了DBR中,还是仅仅被nt loader顺序执行了一下?另外,如Climbing兄所言,如何在NTFS主分区应用它也还是个问题。
Re chujiafu:
Thanks for the work you've done!
I think there are still many aspects worth discussing about this issue, such as whether we can directly save the DBR in the floppy disk or virtual floppy disk as bootsect.dos, and then directly copy the IO.SYS in it to C:, thus omitting steps 2, 3, and 4; for another example, whether we can modify bootsect.dos to locate io.sys to other Fat32 partitions or directly locate it in the new bootsect.dos, so as to realize the non-primary partition booting of DOS; in addition, how bootsect.dos is loaded during the booting process, is it actually written into the DBR, or is it only executed sequentially by the NT loader? Also, as Brother Climbing said, how to apply it in the NTFS primary partition is still a problem.
|

※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得! |
|
2005-9-4 22:16 |
|
|
lin518
新手上路

积分 5
发帖 1
注册 2005-9-4
状态 离线
|
|
2005-9-4 22:46 |
|
|
lpclimber
初级用户
 
积分 168
发帖 85
注册 2005-8-26
状态 离线
|
|
2005-9-6 08:44 |
|
|
jscai
新手上路

积分 2
发帖 2
注册 2005-9-6
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
不错,不错,DOS还是很有用的
Not bad, not bad, DOS is still very useful
|
|
2005-9-6 12:12 |
|
|
terse
银牌会员
    
积分 2404
发帖 946
注册 2005-9-8
状态 离线
|
|
2005-9-8 14:05 |
|
|
koomyoung
新手上路

积分 4
发帖 1
注册 2005-9-7
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
如果是 NTFS 为 主分区呢?
What if NTFS is the primary partition?
|
|
2005-9-8 15:30 |
|
|
chujiafu
银牌会员
    
积分 1337
发帖 594
注册 2004-5-26 来自 安徽 宿州
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
如果是Ntfs可能不能用。抱歉。
If it's Ntfs, it might not work. Sorry.
|
|
2005-9-10 06:27 |
|
|
人类
中级用户
  
积分 306
发帖 81
注册 2003-5-10
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
你只想ghost,虚拟的dos也好用啊,而且支持ntfs
除了vfloppy,MaxDos也不错,他集成了网卡驱动,可联网ghost,对于大批机器维护很方便。
vfloppy,MaxDos各有特点
vfloppy安装后,因为记录的是扇区位置而不是文件名,所以整理磁盘的操作(包括用ghost恢复)会破坏它。Maxdos记录的是文件名,就不怕整理硬盘。
vfloppy只修改了分区主引导;MaxDos还修改了主引导扇区,所以在某些场合不适用。
You just want to ghost, the virtual DOS is also easy to use, and it supports NTFS.
In addition to vfloppy, MaxDos is also good. It integrates network card drivers and can be used for network ghosting, which is very convenient for maintaining a large number of machines.
vfloppy and MaxDos each have their own characteristics.
After vfloppy is installed, because it records sector positions instead of file names, operations such as disk defragmentation (including ghost recovery) will damage it. MaxDos records file names, so it is not afraid of disk defragmentation.
vfloppy only modifies the partition master boot; MaxDos also modifies the master boot sector, so it is not applicable in some occasions.
|

玩DOS,还是我76年出生的人熟... |
|
2005-9-19 02:08 |
|
|
chujiafu
银牌会员
    
积分 1337
发帖 594
注册 2004-5-26 来自 安徽 宿州
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
Originally posted by 人类 at 2005-9-19 02:08 AM:
你只想ghost,虚拟的dos也好用啊,而且支持ntfs
除了vfloppy,MaxDos也不错,他集成了网卡驱动,可联网ghost,对于大批机器维护很方便。
vfloppy,MaxDos各栮..
正如你所言,还是给WinXP补加纯Dos吧,这是真正的Dos,不是虚拟的,也没有MaxDos的缺点。在做镜像之前,给XP系统补加一个纯Dos,以后每次想恢复时也不必插启动盘了。
Originally posted by Human at 2005-9-19 02:08 AM:
You just want to ghost, the virtual DOS is also easy to use, and it supports NTFS
In addition to vfloppy, MaxDos is also good. It integrates network card drivers and can network ghost, which is very convenient for maintaining a large number of machines.
vfloppy, MaxDos each have their own...
As you said, it's still better to add pure DOS to WinXP. This is the real DOS, not virtual, and there are no disadvantages of MaxDos. Before making an image, add a pure DOS to the XP system, and then you don't need to insert a boot disk every time you want to restore it.
|
|
2005-9-19 07:47 |
|