|
ko20010214
版主
       
积分 7294
发帖 1628
注册 2002-10-16
状态 离线
|
『楼 主』:
DOS应用小技巧--快速恢复Win2k(或XP)引导启动
使用 LLM 解释/回答一下
学DOS没用???你错了,DOS是计算机的基础。有些时候,不懂DOS碰到一些问题就会束手无策。如果你懂一点DOS,那下面这个问题就好办了。
Windows发展到现在,好像逐渐脱离了DOS,winme就没有DOS方式了,win2000,winnt,winxp就更不要说了,但实际上,他们还是在DOS这条路走过来的。
winme可以打个补丁,找回被“比尔.该死”隐藏的DOS方式。
win2000等系统至少安装时要用到DOS吧?!(有人说,可以在win98等windows系统下安装啊?)啊,那他的win98又是在哪个系统下安装的?还不是DOS??
而且,下面这个问题,就是在DOS下完美解决的。所以说,DOS很重要。
问题:如何快速恢复win2000(或XP)引导启动?
很多人喜欢装双系统,win98(C盘)+win2000(D盘),当重装win98(指格式化C盘后完全重装这种方式)后,没法再回到win2000的启动菜单了。难道又重新装win2000?或者有些文章上说可以不完全重装win2000也可以让你找回到win2000的启动菜单。但不完全重装也要费很长时间的。(这种方法我不采用,故不多说明。有兴趣可以自己去找相关资料看看就知道为什么我会这么说了)
解决方案:
用我在Dos下做的这个小小的批处理文件,几秒钟就可以搞定!具体操作如下:
1.进入w2k目录(你可以直接在光盘上运行也可以拷贝到你硬盘上运行),运行setup.bat
2.如果提示没有装载smartdrv.exe,问你是否继续时,按回车,选继续!(不用理它,我们又不准备装win2000,不需要拷贝什么太大的文件,不装它也无妨。不过如果你要装win2000时可一定要先装载smartdrv.exe,要不然安装时间会漫长得让你想哭都哭不出来!!!)
3.如果提示找不到什么disk1之类的,也不用理它,按回车,还不行?按两次F3退出。(失败了?没有,好得很,我们又不要拷贝那个文件。事实上,我们要它做的事它已经做好了。没它的事了。不退出还留在里面干什么呢?)
4.退出后它会重启计算机。
5.你看看,win2000的引导启动菜单是不是回来了?
6.由于我用的是英文版的win2000,所以那个winnt.exe是英文界面,你可以自己找到中文版的winnt.exe, ntldr, ntdetect.com这三个文件来替换它,再加上bootfont.bin这个文件,就是中文界面了。
7.我在里面用的boot.ini文件适用于win98(C盘)+win2000(D盘)的情况。
如果你的win2000是装在E盘或F盘请自己改一下:
装在E盘就把boot.ini里的partition(2)全改成partition(3)
装在F盘就把boot.ini里的partition(2)全改成partition(4)
如果你的win2000是装在第二块硬盘的C盘或D盘请自己改一下:
装在第二块硬盘的C盘就把rdisk(0)partition(2)全改成rdisk(1)partition(1)
装在第二块硬盘的D盘就把rdisk(0)partition(2)全改成rdisk(1)partition(2)
以此类推...注意的是应该把RDISK后面的数字改掉而不是把DISK后面的数字改掉!别改错了!!!
8.如果是winxp,就把winxp底下的ntldr, ntdetect.com拷过来,并修改boot.ini就可以了,不要用winxp底下的winnt.exe啊,要不然它不会安装下去的。
由此可见,即便是windows的最新的版本XP也和DOS脱不了关系啊。。。
如果不懂DOS,那你就去痛苦吧!呵呵。。。
附1:文件列表
ATTRIB.COM --修改文件属性的工具
BOOT.INI --启动菜单
DOSNET.INF --win2k安装所需的一个文件
NTDETECT.COM --win2k启动所需的一个文件
NTLDR --win2k启动所需的一个文件
SETUP.BAT --我做的批处理文件
SHUTDOWN.COM --软关机工具
TDEL.EXE --增强的DEL命令
WINNT.EXE --win2k安装程序
注:这里用到的几个DOS增强工具,都可以在我的FTP里找到,也可以到新DOS乐园(美好的新DOS时代)( http://www.cn-dos.net/newdos/dosmain.html或 http://wendos.my163.com/)里找到。
附2:boot.ini文件内容:
Timeout=3
Default=multi(0)disk(0)rdisk(0)partition(2)\WINNT
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows 2000 Server"
C:\="Microsoft Windows"
附3:setup.bat文件内容
@echo off
copy ntldr c:\>NUL
copy ntdetect.com c:\>NUL
winnt
attrib -h -s -r -a c:\boot.ini>NUL
tdel c:\$win_nt$.~bt/s/y/q
tdel c:\inf000.swp/y/q
copy boot.ini c:\>NUL
shutdown -r
Learning DOS is useless??? You're wrong. DOS is the foundation of computers. Sometimes, if you don't understand DOS, you'll be at a loss when encountering some problems. If you know a little about DOS, then the following problem will be easy to handle.
Windows has developed to the present, and it seems to gradually get away from DOS. Windows ME has no DOS mode, and Windows 2000, Windows NT, Windows XP are even more so. But actually, they still came along the path of DOS.
Windows ME can be patched to retrieve the DOS mode hidden by "Bill the B@stard".
For systems like Windows 2000, at least the installation requires using DOS, right?! (Some people say that it can be installed under Windows systems like Windows 98?!) Oh, then where was its Windows 98 installed? It was still DOS!
Moreover, the following problem was perfectly solved under DOS. So, DOS is very important.
Problem: How to quickly restore the Windows 2000 (or XP) boot menu?
Many people like to install dual systems, Windows 98 (C drive) + Windows 2000 (D drive). When reinstalling Windows 98 (referring to the complete reinstallation method of formatting the C drive), you can't return to the boot menu of Windows 2000.难道 reinstall Windows 2000 again? Or some articles say that you can also find back the boot menu of Windows 2000 without completely reinstalling Windows 2000. But the incomplete reinstallation also takes a long time. (I don't adopt this method, so I won't explain it much. If you are interested, you can find relevant information by yourself to know why I say so.)
Solution:
Use this small batch file I made under DOS, which can be done in a few seconds! The specific operations are as follows:
1. Enter the w2k directory (you can run it directly on the CD or copy it to your hard drive and run it), and run setup.bat
2. If it prompts that smartdrv.exe is not loaded and asks if you want to continue, press Enter and select continue! (Don't pay attention to it. We don't plan to install Windows 2000 and don't need to copy too large files. It's okay not to install it. But if you want to install Windows 2000, you must load smartdrv.exe first, otherwise the installation time will be so long that you'll want to cry!!!)
3. If it prompts that disk1 or something is not found, also don't pay attention to it, press Enter. Still not working? Press F3 twice to exit. (Failed? No, it's fine. What we want it to do, it has already done. It has nothing to do with it anymore. Why stay in it if you don't exit?)
4. After exiting, it will restart the computer.
5. You see, the boot menu of Windows 2000 is back, right?
6. Since I'm using the English version of Windows 2000, so that winnt.exe is in English interface. You can find the Chinese version of winnt.exe, ntldr, ntdetect.com to replace it by yourself, and add the bootfont.bin file, and it will be in Chinese interface.
7. The boot.ini file I used is applicable to the situation of Windows 98 (C drive) + Windows 2000 (D drive).
If your Windows 2000 is installed in drive E or F, please change it yourself:
If installed in drive E, change all partition(2) in boot.ini to partition(3)
If installed in drive F, change all partition(2) in boot.ini to partition(4)
If your Windows 2000 is installed in drive C or D of the second hard drive, please change it yourself:
If installed in drive C of the second hard drive, change rdisk(0)partition(2) all to rdisk(1)partition(1)
If installed in drive D of the second hard drive, change rdisk(0)partition(2) all to rdisk(1)partition(2)
And so on... Note that you should change the number after RDISK, not the number after DISK! Don't change it wrong!!!
8. If it's Windows XP, just copy ntldr and ntdetect.com under Windows XP over and modify boot.ini, don't use winnt.exe under Windows XP, otherwise it won't install.
Thus, even the latest version of Windows, XP, is also inseparable from DOS...
If you don't understand DOS, then you'll go to pain! Hehe...
Attachment 1: File list
ATTRIB.COM --Tool to modify file attributes
BOOT.INI --Boot menu
DOSNET.INF --A file required for Windows 2000 installation
NTDETECT.COM --A file required for Windows 2000 startup
NTLDR --A file required for Windows 2000 startup
SETUP.BAT --The batch file I made
SHUTDOWN.COM --Soft shutdown tool
TDEL.EXE --Enhanced DEL command
WINNT.EXE --Windows 2000 installation program
Note: The several DOS enhanced tools used here can be found in my FTP, or in the New DOS Paradise (a beautiful new DOS era) ( http://www.cn-dos.net/newdos/dosmain.html or http://wendos.my163.com/).
Attachment 2: Content of boot.ini file:
Timeout=3
Default=multi(0)disk(0)rdisk(0)partition(2)\WINNT
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows 2000 Server"
C:\="Microsoft Windows"
Attachment 3: Content of setup.bat file
@echo off
copy ntldr c:\>NUL
copy ntdetect.com c:\>NUL
winnt
attrib -h -s -r -a c:\boot.ini>NUL
tdel c:\$win_nt$.~bt/s/y/q
tdel c:\inf000.swp/y/q
copy boot.ini c:\>NUL
shutdown -r
|

ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
|
|
2002-10-21 00:00 |
|
|
ko20010214
版主
       
积分 7294
发帖 1628
注册 2002-10-16
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
2002-07-14 02:37
--------------------------------------------------------------------------------
http://www.3382.net/cgi-bin/topic_show.cgi?id=95828&h=1&bpg=1&age=0
bootsect.dos误删除怎么办?进不去98了。。。
BTW: 原文好像有点错误,作者把 bootsect.dos 不小心错写成
bootselt.dos 了。刚才我无意中看了一眼,几乎看不懂,哈哈。
//---------------------------------------------------------------
主题: 关于恢复(或者全新安装)WinXp OS Loader 的方法。
BY: Wwashington@COC, Board: 软件使用交流。2002/07/14。
//---------------------------------------------------------------
起源: bootsect.dos误删除怎么办?进不去98了。。。
//---------------------------------------------------------------
gaochen wrote: ==>
> 严格的说应该是BOOTSECT.DOS.恢复方法如下:
> 1.用win98启动软盘启动计算机,在命令提示符下输入A:\sys c:
> 2.取出软盘,重启计算机,看98是否能够正常启动。确认之后,使用
> winxp的CD-ROM,启动winxp。
> 3.winxp安装程序被启动后,按R键选择修复即有的安装,接着选择M键
> 手动修复。
> 4.在修复选项里只选择BOOTSECT的检查一项,其他的可以不选。
> 5.中途可能要求您插入修复盘,如没有按L键,安装程序会自动搜索。
> 6.修复MBR完成后,重启计算机。应该是没问题的了。
>(由于全凭记忆,具体名称,键符如有不对之处,请按照安装程序指示
> 的做。)
//---------------------------------------------------------------
呵呵,gaochen 说的方法是正确的。但在实际应用中,其实不用找光盘
那么麻烦的,我自己就经常不知道光盘扔在哪里,西西。这个故障本质
上就是恢复启动区,等于不安装 Xp 而只安装引导纪录。我的步骤如下:
1) 首先把这个压缩包展开,并把可执行文件放到 c:\winnt\ldr\w2k
2) Win98 SE 软盘引导,先运行 fdisk /mbr,然后再 sys a: c:
3) cd c:\winnt\ldr\w2k
4) winnt {会提示你找不到安装文件,没关系,F3 退出,并且重启动}
5) 现在启动菜单又回来了,呵呵。进入原有系统,然后编辑 boot.ini。
6) 小结:win2k 和 winnt 里的 winnt.exe 都有一个写入引导纪录以及
boot.ini (增加一行:升级/安装 WinXX...)的功能。这两个文件个头
非常小,就算不压缩也只有 200K。
7) 注意:我用 nt4 和 win2k 的安装文件已经成功的增加了 os loader
(for all ms os),但是 winxp 里的文件似乎改了,不能生效。建议
用 win2k 的,它能为 winnt/win2k/winxp 增加正确的 boot record,
前提是你的根目录必须有相关的启动文件。至于启动文件,目前最好
用 xp 的,因为低版本的 ntldr 和 ntdetect.com 不认识后来的 xp。
8) 严格的说,上面说的都是废话,你只要记住这段话就足够了。
引导纪录:用 win2k 的 winnt.exe + dosnet.inf 来添加。
引导文件:用 winxp 的 ntdetct.com + ntldr + bootfont.bin。
9) 明白上面的道理,你就不用随时带着光盘了。而且也可以用于更高级
的用法(我在清华发表的旧作,呵呵),那就是:关于不装 nt/2k/xp,
只装 os loader 的技巧。多年前的古董了,懒得重写,道理一样的。
A) 为了方便大家阅读,我把以前的文章放到 Txt 目录了,只有你确实
喜欢钻研 Tech,而且不怕枯燥的文档,才进去看吧,否则会头痛的。
//---------------------------------------------------------------
wwashington 编辑于 2002-07-14 03:43
=====================
KO的话:原来在浮云论坛里就有这样类似的文章啊。。
2002-07-14 02:37
--------------------------------------------------------------------------------
http://www.3382.net/cgi-bin/topic_show.cgi?id=95828&h=1&bpg=1&age=0
What to do if bootsect.dos is accidentally deleted? Can't boot into 98...
BTW: The original text seems to have an error. The author mistakenly wrote "bootselt.dos" instead of "bootsect.dos". I accidentally took a glance just now, and it was almost incomprehensible, haha.
//---------------------------------------------------------------
Subject: About methods to restore (or perform a clean install of) the WinXp OS Loader.
BY: Wwashington@COC, Board: Software Usage Exchange. 2002/07/14.
//---------------------------------------------------------------
Origin: What to do if bootsect.dos is accidentally deleted? Can't boot into 98...
//---------------------------------------------------------------
gaochen wrote: ==>
> Strictly speaking, it should be BOOTSECT.DOS. The recovery method is as follows:
> 1. Boot the computer with a Win98 boot floppy, and at the command prompt, enter A:\sys c:
> 2. Remove the floppy, restart the computer, and check if 98 can boot normally. After confirmation, use
> the WinXP CD-ROM, and boot into WinXP.
> 3. After the WinXP installation program is started, press the R key to select repairing the existing installation, then select the M key
> to manually repair.
> 4. In the repair options, only select the check item for BOOTSECT, and the others can be not selected.
> 5. It may require you to insert the repair disk in the middle. If not, press the L key, and the installation program will automatically search.
> 6. After repairing the MBR, restart the computer. It should be okay.
> (Since it's all from memory, if there are any errors in specific names or key symbols, follow the instructions of the installation program
> to do.)
//---------------------------------------------------------------
Hehe, the method gaochen said is correct. But in practical application, there's no need to be so troublesome looking for the CD. I often don't know where the CD is thrown, hehe. This fault essentially is restoring the boot sector, which is equivalent to not installing Xp but only installing the boot record. My steps are as follows:
1) First, expand this compressed package and put the executable file into c:\winnt\ldr\w2k
2) Boot with a Win98 SE floppy, first run fdisk /mbr, then sys a: c:
3) cd c:\winnt\ldr\w2k
4) winnt {It will prompt that the installation file is not found, it's okay, press F3 to exit and restart}
5) Now the boot menu is back, hehe. Enter the original system, then edit boot.ini.
6) Summary: The winnt.exe in Win2k and Winnt both have the function of writing the boot record and boot.ini (adding a line: Upgrade/Install WinXX...). These two files are very small, even without compression, they are only 200K.
7) Note: I have successfully added the os loader (for all ms os) using the installation files of nt4 and win2k, but the files in WinXP seem to have been changed and can't take effect. It is recommended to use Win2k's, it can add the correct boot record for Winnt/Win2k/WinXP, provided that the relevant boot files are in your root directory. As for the boot files, it's best to use XP's currently, because the low-version ntldr and ntdetect.com don't recognize later XP.
8) Strictly speaking, the above are all nonsense, you just need to remember this passage.
Boot record: Use Win2k's winnt.exe + dosnet.inf to add.
Boot file: Use WinXP's ntdetct.com + ntldr + bootfont.bin.
9) Understand the above principles, and you don't need to carry the CD with you all the time. And it can also be used for more advanced uses (my old work published in Tsinghua, hehe), that is: About the skills of not installing nt/2k/xp, only installing the os loader. It's an antique from many years ago, too lazy to rewrite, the principle is the same.
A) To facilitate everyone's reading, I put the previous article in the Txt directory. Only if you really like to study Tech and are not afraid of boring documents, then go in and have a look, otherwise you will get a headache.
//---------------------------------------------------------------
wwashington edited on 2002-07-14 03:43
=====================
KO's words: There was a similar article in the Fuyun forum originally...
|

ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
|
|
2003-6-12 00:00 |
|
|
ko20010214
版主
       
积分 7294
发帖 1628
注册 2002-10-16
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
看了第一遍,感觉明白了,看了第二遍,感觉胡涂了,我回去看看可不可以,我看第三遍,只有一个问题,如此操作,WINXP+WIN98的应该一样恢复吧?
==================
KO的话:的确如此。在WINXP+WIN98的应该一样能恢复!
这里再贴一个不需要上面的种种“麻烦”事,只需要win2000的安装光盘就可以实现快速恢复双系统启动菜单的!
Windows 98最吸引人的地方莫过于其完善的PnP和精彩纷呈的多媒体功能,而 Windows 2000 最吸引人的地方则是其较强的安全性、极佳的稳定性和强大的网络功能。因此很多用户在自己的硬盘上建立了双重启动系统,并且通过修改 boot.ini 文件还可以改变双启动的顺序。但重装 Windows 98 后您会发现原有的双重启动菜单不见了,无法进入 Windows 2000,即使修改 boot.ini 文件也没用。那么此时应该如何恢复 Windows98 和 Windows 2000 的双启动配置呢?
我们来分析一下双重启动的原理。磁盘引导扇区的内容决定了系统启动的方式,但是在双重引导的情况下,引导扇区的内容又取决于各操作系统安装的顺序。比如,如果首先安装的是 Windows 98,那么引导扇区就是 Windows 98 的引导扇区,它运行时将载入 io.sys,完成正常的启动工作。如果在安装 Windows 98 后又安装了 Windows 2000,那么原来的引导扇区将被 Windows 2000 的引导扇区覆盖,但是为了实现与 Windows 98 的双重引导,Windows 2000 并未将 Windows 98 引导扇区的内容删除,而是保存在一个名为 bootsect.dos 的文件中。而且,Windows 2000 引导扇区运行时不再装入 io.sys,而是装入 ntldr(位于硬盘根目录的一个隐含文件),然后 ntldr 读取同样位于硬盘根目录上的 boot.ini 文件,以检查是否还有其他操作系统存在,若有则显示一个启动菜单,提示您选择启动 Windows 2000 还是启动 Windows 98。如果选择了启动 Windows 98,那么 ntldr 将运行文件 bootsect.dos,也就是已保存的 Windows 98 的引导扇区,以执行正常的 Windows 98 启动工作。但如果此时因 Windows 98 崩溃等原因而重新安装了Windows 98,Windows 2000 的引导扇区又将被 Windows 98 的引导扇区所覆盖,这样它将不再装入 ntldr 以及 boot.ini,当然也就无法实现双重引导了。
根据以上分析,我们可以看出,硬盘引导扇区的内容是最为关键的因素,它决定了是否可以实现双重引导。如果把它恢复了,那么双重引导也就恢复了。虽然有些系统文件可以用拷贝的方法进行恢复,但引导扇区却必须由系统安装程序来自动更新。因此恢复 Windows 98 和 Windows 2000 双重启动的具体方法是:
1.启动 Windows 98,放入 Windows 2000 的安装光盘。在出现 Windows 2000 的欢迎安装画面后,选择第二项,即“安装新的 Windows 2000(全新安装)”,直接单击各个对话框中的“下一步”按钮以接受系统默认的设置(其中尤其注意不要选择“高级选项”中的“将所有安装文件从安装 CD 复制到硬盘”)。然后您会看到系统会飞快地进行安装前的检测,复制安装文件的过程也很快(因为它本来就只需要从光盘中拷贝极少数文件),最后安装程序会给出一个“正在重新启动计算机”的对话框,请马上单击“不要重新启动”按钮以退出安装过程。
2.如果您没有“眼疾手快”,以至于系统重新启动了,也不要紧,您将会看到一个启动菜单,包括了如下 3 项内容:
Microsoft Windows 2000 Professional
Microsoft Windows 2000 Professional 安装程序
Microsoft Windows
选择第一项或第三项都可以(不要选择第二项,否则 Windows 2000 将继续进行它少数文件),最后安装程序会给出一个“正在重新启动计算机”的对话框(如附图所示的安装)。待系统启动后,进入C盘,您会发现根目录上多了一些 Windows 2000 的安装文件,包括一个文件夹 $win_nt$.~bt 和 5 个文件 $drvltr$.~_~、$ldr$、boot.bak、bootsect.dat 以及 txtsetup.sif 等,其他磁盘分区上也会多出一个磁盘加速文件,即 $drvltr$.~_~,将它们删除即可。
3.修改 boot.ini 文件,去掉“Microsoft Windows 2000 Professional 安装程序”启动菜单项。方法也很简单,将 段的 “default=C:\$WIN_NT$.~BT\
BOOTSECT.DAT”改为“default=C:\”(Windows 98 为默认系统)或“default=multi(0)disk(0)rdisk(0)partition(1)\WINNT”(Windows 2000为默认系统),然后再将 段的“C:\$WIN_NT$.~BT\BOOTSECT.DAT=“Microsoft Windows 2000 Professional 安装程序””一行直接删除即可。
=============
KO的话:
我听有些网友评论说太“麻烦”了,有张win2000的光盘就很容易恢复。。。刚好又看到了这种只要win2000光盘的做法。就转贴过来。
但我想说的是,我楼顶上那种方法,就是不需要win2000的光盘时的办法。
一般地,我安装完win98和win2000后,就会分别用ghost克隆一份系统备份。
具体可以看看"我是这样管理我的硬盘的。 "
http://www2.zzu.edu.cn/ie/newdos/dispbbs.asp?boardID=10&replyID=17676&ID=2844&skin=1
到时候要重装系统时就可以不要光盘,直接用ghost导回去。
所以,我上面那种方法就是为了“不要光盘”这个小小的方便。
然后重新启动计算机,您的系统就又可以进行双重引导了。
After reading it the first time, I felt I understood it. After reading it the second time, I felt confused. I'll go back to see if I can, and when I read it the third time, there's only one question. Should the same recovery apply to WINXP + WIN98 in this operation?
==================
KO said: Indeed so. It should be able to recover the same for WINXP + WIN98!
Here I post another one that doesn't need all the above "troublesome" things. Only need the Windows 2000 installation CD to quickly recover the dual-boot menu of the system!
The most attractive place of Windows 98 is undoubtedly its perfect PnP and colorful multimedia functions, while the most attractive place of Windows 2000 is its stronger security, excellent stability and powerful network functions. Therefore, many users have established a dual-boot system on their own hard drives, and can also change the order of dual-boot by modifying the boot.ini file. But after reinstalling Windows 98, you will find that the original dual-boot menu is gone, and you can't enter Windows 2000. Even if you modify the boot.ini file, it's useless. Then how should we recover the dual-boot configuration of Windows 98 and Windows 2000?
Let's analyze the principle of dual-boot. The content of the disk boot sector determines the way the system boots. But in the case of dual-boot, the content of the boot sector depends on the installation order of each operating system. For example, if Windows 98 is installed first, then the boot sector is the boot sector of Windows 98, which will load io.sys when running to complete the normal boot work. If Windows 2000 is installed after Windows 98 is installed, then the original boot sector will be overwritten by the boot sector of Windows 2000. But in order to realize dual-boot with Windows 98, Windows 2000 does not delete the content of the Windows 98 boot sector, but saves it in a file named bootsect.dos. Moreover, when the Windows 2000 boot sector runs, it no longer loads io.sys, but loads ntldr (a hidden file located in the root directory of the hard drive), and then ntldr reads the boot.ini file also located in the root directory of the hard drive to check if there are other operating systems. If there are, it will display a boot menu, prompting you to choose to boot Windows 2000 or boot Windows 98. If you choose to boot Windows 98, then ntldr will run the file bootsect.dos, that is, the saved boot sector of Windows 98, to perform the normal boot work of Windows 98. But if Windows 98 is reinstalled at this time due to the crash of Windows 98, etc., the boot sector of Windows 2000 will be overwritten by the boot sector of Windows 98 again, so it will no longer load ntldr and boot.ini, and of course dual-boot can't be realized.
According to the above analysis, we can see that the content of the hard drive boot sector is the most crucial factor, which determines whether dual-boot can be realized. If it is restored, then dual-boot is restored. Although some system files can be recovered by copying, the boot sector must be automatically updated by the system installation program. Therefore, the specific method to recover the dual-boot of Windows 98 and Windows 2000 is:
1. Boot Windows 98, put in the Windows 2000 installation CD. After the welcome installation screen of Windows 2000 appears, select the second item, that is, "Install new Windows 2000 (clean installation)", and directly click the "Next" button in each dialog box to accept the default settings of the system (among them, especially pay attention not to select "Copy all installation files from the installation CD to the hard drive" in "Advanced options"). Then you will see that the system will quickly perform the pre-installation detection, and the process of copying installation files is also very fast (because it only needs to copy very few files from the CD), and finally the installation program will give a dialog box "Restarting the computer", please immediately click the "Don't restart" button to exit the installation process.
2. If you are not "quick-eyed and quick-handed" so that the system restarts, it doesn't matter. You will see a boot menu, including the following 3 items:
Microsoft Windows 2000 Professional
Microsoft Windows 2000 Professional Setup
Microsoft Windows
Choose the first item or the third item (don't choose the second item, otherwise Windows 2000 will continue to install its few files). Finally, the installation program will give a dialog box "Restarting the computer" (as shown in the attached installation). After the system boots, enter the C drive, and you will find that some installation files of Windows 2000 are added to the root directory, including a folder $win_nt$.~bt and 5 files $drvltr$.~_~, $ldr$, boot.bak, bootsect.dat and txtsetup.sif, etc. There will also be a disk acceleration file $drvltr$.~_~ added to other disk partitions, and they can be deleted.
3. Modify the boot.ini file to remove the "Microsoft Windows 2000 Professional Setup" boot menu item. The method is also very simple. Change "default=C:\$WIN_NT$.~BT\
BOOTSECT.DAT" in the section to "default=C:\" (Windows 98 is the default system) or "default=multi(0)disk(0)rdisk(0)partition(1)\WINNT" (Windows 2000 is the default system), and then directly delete the line "C:\$WIN_NT$.~BT\BOOTSECT.DAT=“Microsoft Windows 2000 Professional Setup”" in the section.
=============
KO said:
I heard some netizens comment that it's too "troublesome". It's very easy to recover with a Windows 2000 CD... Just happened to see this method that only needs a Windows 2000 CD. So I reprinted it.
But I want to say that the method on my roof, that is, the method when there is no need for a Windows 2000 CD.
Generally, after I install win98 and win2000, I will clone a system backup respectively with ghost.
Specifically, you can have a look at "This is how I manage my hard drive. "
http://www2.zzu.edu.cn/ie/newdos/dispbbs.asp?boardID=10&replyID=17676&ID=2844&skin=1
When reinstalling the system later, you can do without the CD, and directly restore it with ghost.
So, the above method of mine is for the small convenience of "without the CD".
Then restart the computer, and your system can perform dual-boot again.
|

ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
|
|
2003-6-12 00:00 |
|
|
ko20010214
版主
       
积分 7294
发帖 1628
注册 2002-10-16
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
一般来说,不同机器上的引导纪录是不同的(除非不同
的机器中用同样的硬盘、同样的大小、同样的 FAT 格式,
同样都是刚格式化完成)。所以引导纪录是针对机器唯
一的,不能拷别人机器上的过来,但可以拷贝自己硬盘
的引导纪录出来,在必要的时候再拷回去。
硬盘的主引导区存放的是系统的主引导信息、分区信息。
系统引导区存放的是DOS或Windows的引导系统、分区
大小、分区的FAT表、每道扇区数和隐藏扇区数等参数。
看了这个,你该知道拷贝别人的 bootsect.dos 等于是
徒劳无功了吧。
呵呵,为了帮你了解引导纪录是什么,以及怎样给引导纪
录做备份(就是你说的从别的地方拷过来),偶从 google 找
来两篇文章,希望你能大致看一下,心里有点底。相信你
修复完你的引导区以后,已经是个系统引导方面的专家了。
1) 如何备份硬盘引导区,作者:广东湛化集团公司 韩平
http://www.ccw.com.cn/htm/app/salon/001227_5.asp
==========================
KO的话:第二篇文章找不到了,原来是发表在商都信息港的。
题目叫CIH硬盘数据恢复方法与实例,作者不详
==========================
搞定!!确实很简单,我把文件解压缩到任意文件夹(里面有那两个文件),先用98启动盘,然后sys a: c: , 再进入解好的文件夹,运行winnt.exe ,选择安装,提示找不到文件时,f3退出,然后重新启动,再编辑boot.ini,把多出来得安装选项去掉,把安装目录也去掉就行了。
==========================
KO的话:当然,用我那个批处理则会更简单!呵呵。。。
Generally speaking, the boot records on different machines are different (unless different machines use the same hard disk, the same size, the same FAT format, and are all just formatted). So the boot record is unique to the machine, and you can't copy it from someone else's machine, but you can copy the boot record of your own hard disk out and copy it back when necessary.
The main boot area of the hard disk stores the system's main boot information and partition information. The system boot area stores parameters such as the DOS or Windows boot system, partition size, partition FAT table, number of sectors per track, and number of hidden sectors. After reading this, you should know that copying someone else's bootsect.dos and so on is in vain.
Hehe, in order to help you understand what the boot record is and how to back up the boot record (that is, what you said about copying it from other places), I found two articles from Google. I hope you can roughly take a look and have some understanding. I believe that after you repair your boot area, you will already be an expert in system boot.
1) How to back up the hard disk boot area, author: Han Ping from Guangdong Zhanhua Group Corporation
http://www.ccw.com.cn/htm/app/salon/001227_5.asp
=============================================
KO's words: The second article can't be found. It was originally published on Shangdu Information Port.
The title is CIH Hard Disk Data Recovery Method and Example, author unknown
=============================================
Done! It's really simple. I decompressed the file into any folder (there are those two files inside). First, use the 98 boot disk, then sys a: c:, then enter the unzipped folder, run winnt.exe, select installation, when prompted that the file is not found, exit with f3, then restart, and then edit boot.ini, remove the extra installation options, and also remove the installation directory.
=============================================
KO's words: Of course, using my batch processing will be simpler! Hehe...
|

ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
|
|
2003-6-12 00:00 |
|
|
电吉入侵
初级用户
 
积分 1480
发帖 377
注册 2003-6-6
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
如果能自动应答就好了........
It would be nice if there could be an automatic response........
|

欢迎大家访问我的主页!
精品.爱好http://iso.533.net |
|
2003-6-25 00:00 |
|
|
慕白
高级用户
   
积分 617
发帖 115
注册 2003-6-4
状态 离线
|
|
2003-6-25 00:00 |
|
|
xiaojun
银牌会员
    
积分 2202
发帖 499
注册 2003-6-12
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
我连了6,7次了,连不上。我现在恰好是2000在C区,想装98在D区,复制2000文件来恢复,实在不想等啊,
看DEBUG像看天书!是把您的setup。bat和boot。bin保存下来,放哪儿呢?
哪些该改,哪些不该改,不敢乱改呀,:) 好心的大哥也,针对我的情况帮帮我吧?
谢谢您!
I've tried connecting six or seven times, but I can't get connected. I'm currently in area C with Windows 2000, and I want to install Windows 98 in area D. I need to copy the Windows 2000 files to restore, but I really don't want to wait.
Looking at DEBUG is like looking at something from another world! Do I save your setup.bat and boot.bin, and where do I put them?
Which parts should be changed and which shouldn't, I don't dare to change randomly, : ) Kind big brother, please help me according to my situation?
Thank you!
|

一年四季,枫叶红了又红;人生四季,失去的,还能再来吗?—— ! |
|
2003-6-25 00:00 |
|
|
慕白
高级用户
   
积分 617
发帖 115
注册 2003-6-4
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
帮顶,顺便问哈:我的头像怎么显不出来?大小合适啊
Bump for you. By the way: Why can't my avatar be displayed? The size is appropriate.
|
|
2003-6-26 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
以下是引用慕白在2003-6-26 10:27:48的发言:
帮顶,顺便问哈:我的头像怎么显不出来?大小合适啊
估计是头像的URL地址中不能有汉字的原因吧。。
The following is a quote from Mubai on 2003-6-26 10:27:48:
Bumping, by the way: Why can't my avatar be displayed? The size is appropriate.
It is estimated that it is because there cannot be Chinese characters in the URL address of the avatar.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2003-6-26 00:00 |
|
|
慕白
高级用户
   
积分 617
发帖 115
注册 2003-6-4
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
“估计是头像的URL地址中不能有汉字的原因吧。。”
——————哈哈哈哈,果然如此也
"Probably because there can't be Chinese characters in the URL address of the avatar.."
——————Hahaha, sure enough so also
|
|
2003-6-27 00:00 |
|
|
雨浪飘零
中级用户
  
积分 364
发帖 95
注册 2003-6-15
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
这样的文章实用性不是很强~~~
高手的话看了嫌繁,低手的话看了发晕~~~
一家之言~~~
Such articles are not very practical~~~
Experts find them too complicated, and novices get confused after reading them~~~
Just a personal view~~~
|
|
2003-6-27 00:00 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
中手登高的必经之路!!
The must-pass path for middle - handers to climb up!!
|
|
2003-8-10 00:00 |
|
|
jeffyy
初级用户
 
积分 219
发帖 23
注册 2003-8-11
状态 离线
|
|
2003-8-11 00:00 |
|
|
lfdjssz
初级用户
 
积分 125
发帖 72
注册 2005-9-13
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
学习了...........................
Learned...........................
|
|
2005-10-20 21:04 |
|
|
lisney21
新手上路

积分 7
发帖 5
注册 2005-10-10
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
Originally posted by 雨浪飘零 at 2003-6-27 00:00:
这样的文章实用性不是很强~~~
高手的话看了嫌繁,低手的话看了发晕~~~
一家之言~~~
感觉就是这样,太复杂了,能简单点说出来就好
Originally posted by 雨浪飘零 at 2003-6-27 00:00:
This kind of article is not very practical~~~
Experts find it too complicated, and beginners get confused~~~
Just my two cents~~~
It feels just like that, it's too complicated, it would be better to be able to say it simply
|
|
2005-10-23 20:26 |
|
|