### Problem Presentation
To ensure computer security or speed up system startup, it is generally set in the BIOS to prioritize booting the system from the hard disk. However, once a situation arises where a bootable disk is needed to boot the system (such as completely eliminating viruses under DOS, upgrading the BIOS, etc.), one has to first enter the BIOS to make modifications, and after completing the task, one has to enter the BIOS again to change the relevant settings back, which is very cumbersome. Is there really no way to have the best of both worlds? After continuous exploration and experimentation, a solution that achieves both has finally been found.
### Idea for Solving the Problem
Friends who have installed dual systems of Win98 and Win2000/XP know that there is a boot configuration file boot.ini of the boot manager in the root directory of drive C. In the section of this file, there is a line: C: \= "Microsoft Windows", which is a default usage. Its complete usage is: C: \BOOTSECT.DOS = "Microsoft Windows", where BOOTSECT.DOS is the boot sector file of Win98, hidden in the root directory of drive C, and "Microsoft Windows" in quotes is the menu item to boot Win98. The function of this line is: when selecting "Microsoft Windows" from the "boot menu", the boot manager boots Win98 from the BOOTSECT.DOS file. From the process of booting Win98 from the dual operating system, the following conclusion can be drawn: if the boot sector of the bootable disk is extracted and made into a file saved in the root directory of drive C, and the relevant statements in the boot.ini file are modified accordingly, it is possible to boot the system from the bootable disk from the "boot menu", thus avoiding modifying the BIOS.
### Implementation Steps
1. **Install the boot manager of Win2000/XP**
The boot manager has been installed in Win2000/XP or in the dual system of Win98 and Win2000/XP. The following introduces the process of installing the boot manager in Win98.
Run the installation program on the Win2000/XP installation CD in Win98, select "Clean Installation", and keep installing until the boot menu appears with "Microsoft Windows" and "Microsoft Windows 2000/XP Installation Program" when booting. At this time, the boot manager of Win2000/XP has been installed. Select "Microsoft Windows" to enter Win98 and delete all files starting with $ and ending with $ in all partitions of the hard disk.
2. **Make the boot sector file of the bootable disk**
The following introduces the method of using the DEBUG tool built in the Win98/2000/XP system to make the boot sector file of the bootable disk.
First, insert the bootable disk into the floppy drive, then enter DEBUG and press Enter at the command prompt of Win98/2000/XP, and then enter the following commands in sequence and press Enter under the DEBUG prompt "-":
-L 100 0 0 1
-RCX
:200
-N C:\FBOOT.DOS
-W
-Q
Explanation: The first line of the command is to read the boot sector of the bootable disk into the memory. The second and third lines of the command are to set the size of the boot sector file to 200B (200B is in hexadecimal, that is, 512B in decimal). The fourth line of the command is to name the boot sector file as FBOOT.DOS. Readers can name it according to their own preferences. The fifth line of the command is to write the data in the boot sector in the memory into the FBOOT.DOS file. After the writing is completed, the screen will display "write 00200 bytes" (the size of the written file is 200B), indicating that your boot sector file has been successfully made. Enter the sixth line of the command Q to exit DEBUG.
3. **Modify boot.ini**
Modify the boot.ini file in the Win98 system as follows:
timeout=0
default=c:\
C:\= "Microsoft Windows"
C:\FBOOT.DOS= "Boot the system from the bootable disk"
In the Win2000/XP system, add C:\FBOOT.DOS= "Boot from the bootable disk" under the section, and modify the value of timeout to 0.
### Boot the System from the Bootable Disk
After completing the above operations, restart the computer. If you need to boot the system from the bootable disk at this time, press F8 to enter the "Windows Advanced Options Menu", select "Return to the Operating System Options Menu", press the Enter key to enter the "Boot Menu", insert the bootable disk into the floppy drive, and then select "Boot the system from the bootable disk" to boot the system from the bootable disk. If you do not need to boot the system from the bootable disk, you can quickly boot your Win98/2000/XP system without any operation.
To ensure computer security or speed up system startup, it is generally set in the BIOS to prioritize booting the system from the hard disk. However, once a situation arises where a bootable disk is needed to boot the system (such as completely eliminating viruses under DOS, upgrading the BIOS, etc.), one has to first enter the BIOS to make modifications, and after completing the task, one has to enter the BIOS again to change the relevant settings back, which is very cumbersome. Is there really no way to have the best of both worlds? After continuous exploration and experimentation, a solution that achieves both has finally been found.
### Idea for Solving the Problem
Friends who have installed dual systems of Win98 and Win2000/XP know that there is a boot configuration file boot.ini of the boot manager in the root directory of drive C. In the section of this file, there is a line: C: \= "Microsoft Windows", which is a default usage. Its complete usage is: C: \BOOTSECT.DOS = "Microsoft Windows", where BOOTSECT.DOS is the boot sector file of Win98, hidden in the root directory of drive C, and "Microsoft Windows" in quotes is the menu item to boot Win98. The function of this line is: when selecting "Microsoft Windows" from the "boot menu", the boot manager boots Win98 from the BOOTSECT.DOS file. From the process of booting Win98 from the dual operating system, the following conclusion can be drawn: if the boot sector of the bootable disk is extracted and made into a file saved in the root directory of drive C, and the relevant statements in the boot.ini file are modified accordingly, it is possible to boot the system from the bootable disk from the "boot menu", thus avoiding modifying the BIOS.
### Implementation Steps
1. **Install the boot manager of Win2000/XP**
The boot manager has been installed in Win2000/XP or in the dual system of Win98 and Win2000/XP. The following introduces the process of installing the boot manager in Win98.
Run the installation program on the Win2000/XP installation CD in Win98, select "Clean Installation", and keep installing until the boot menu appears with "Microsoft Windows" and "Microsoft Windows 2000/XP Installation Program" when booting. At this time, the boot manager of Win2000/XP has been installed. Select "Microsoft Windows" to enter Win98 and delete all files starting with $ and ending with $ in all partitions of the hard disk.
2. **Make the boot sector file of the bootable disk**
The following introduces the method of using the DEBUG tool built in the Win98/2000/XP system to make the boot sector file of the bootable disk.
First, insert the bootable disk into the floppy drive, then enter DEBUG and press Enter at the command prompt of Win98/2000/XP, and then enter the following commands in sequence and press Enter under the DEBUG prompt "-":
-L 100 0 0 1
-RCX
:200
-N C:\FBOOT.DOS
-W
-Q
Explanation: The first line of the command is to read the boot sector of the bootable disk into the memory. The second and third lines of the command are to set the size of the boot sector file to 200B (200B is in hexadecimal, that is, 512B in decimal). The fourth line of the command is to name the boot sector file as FBOOT.DOS. Readers can name it according to their own preferences. The fifth line of the command is to write the data in the boot sector in the memory into the FBOOT.DOS file. After the writing is completed, the screen will display "write 00200 bytes" (the size of the written file is 200B), indicating that your boot sector file has been successfully made. Enter the sixth line of the command Q to exit DEBUG.
3. **Modify boot.ini**
Modify the boot.ini file in the Win98 system as follows:
timeout=0
default=c:\
C:\= "Microsoft Windows"
C:\FBOOT.DOS= "Boot the system from the bootable disk"
In the Win2000/XP system, add C:\FBOOT.DOS= "Boot from the bootable disk" under the section, and modify the value of timeout to 0.
### Boot the System from the Bootable Disk
After completing the above operations, restart the computer. If you need to boot the system from the bootable disk at this time, press F8 to enter the "Windows Advanced Options Menu", select "Return to the Operating System Options Menu", press the Enter key to enter the "Boot Menu", insert the bootable disk into the floppy drive, and then select "Boot the system from the bootable disk" to boot the system from the bootable disk. If you do not need to boot the system from the bootable disk, you can quickly boot your Win98/2000/XP system without any operation.
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器



