Use Win2000 boot menu to implement Windows family

Source: Internet
Author: User
Use Win2000 boot menu to implement Windows family
Author: transferred from yesky.com read: 386 times: Source: haike digital-Data Center

Q: Why use Win2000 multi-Start Menu instead of third-party multi-Start Software?

A: The multi-boot menu of Win2000 (including NT4) is located in the startup zone of the system activity partition, which is easy to manage. After an error or exposure, you can simply start the machine with a floppy disk, and then sys C: the system boot zone is restored. In addition, we know that the most important thing about a hard disk is a zero-channel Partition Table. If a bad track occurs in the Partition Table due to repeated reads and writes to the partition table, the hard disk is basically decommissioned. However, the system zone of a partition is located at a different location with the partition location and size. Therefore, even if a bad track occurs on the hard disk, its usage is not affected.

Q: How many systems can be installed in the Win2000 boot menu?

A: This is not a good answer. If three primary partitions and N extended partitions are selected for your hard disk partition, the system supported by Win2000 may be difficult to estimate. However, this is not the focus of our discussion. We will discuss how to install dos6.22, Win32, Win95, Win98, winme, winnt4, win2000. or you can add WINXP.

Q: In the past, multi-system software had to be re-partitioned (mainly divided into several primary partitions), while my hard drive only had one primary partition and one extended partition. Can I use Win2000 multi-system?

A: Yes. We know that NT4 and nt5 (Win2000) can be installed in extended partitions, but their boot menus only support starting Win2000 from logical partitions, and do not support starting other systems on logical partitions. In addition, Microsoft products all have a feature. They always think that the partition It starts is the active partition (that is, the C disk we often say). Therefore, most of the information about Microsoft's family is divided into C drive startup software for each operating system, which is replaced by file coverage. This is always disappointing. Is it possible to change the name of a file as Win95 entered dos6.22? Why is this stupid solution?

In fact, this problem is very simple. Because the Startup File of Microsoft products is called Io. sys, its location must be the first file of the active partition, so for this first, the previous method must be overwritten to ensure its first.

Therefore, we aim to enable Win2000 to start other ipvs from the logical partition, and achieve Microsoft's family happiness through simple file rename.

A: How do you do that?

Q: before going into practice, let's assume that your current hard disk structure is divided by Microsoft's standard fdisk, that is, a C disk and several logical disks. C: Install Win98 (or winme) on the disk, and D: Install a standard structure such as Win2000 on the disk. (What, you haven't installed Win2000 yet? It doesn't matter. If you don't install Win2000, you can also realize the coexistence of multiple ipvs mentioned above. This technique applies to cloning and recovering a C drive with the previous Win9x after Win2000 is installed. However, you need to explain it in a short sentence. Please take a look .)

1. Make the first partition C: dos6.22, Win32, and Win95 coexist.

I don't need to talk about this. Win9x itself supports coexistence of these three systems. To put it simply, export the system file of dos6.22 to the root directory of the C drive and name it Io. dos, Ms. dos, config. dos, autoexec. dos, replace Win95 Io. sys copies one point in the root directory of the C drive and name it Io. w40, and set msdos. bootmulti of SYS = 1.

Note that the format of drive C must be fat16 (if you want to discard dos6.22, you can also use FAT32. You don't need to modify the above .)

2. Restore the clone slave shard of Win98 to the D disk, and restore the clone slave shard of winme to the E disk. If it is not cloned, install it slowly.

To ensure a good C drive, please use the installation method to install Win9x on drive D and drive E first, and leave Io. sys on drive C. After msdos. sys is installed, use them to overwrite files of the same name. Run the boot disks WIN98 and winme (clone comrades will not do it) and then use the corresponding boot disk to start the system. sys D:; sys E: transfers the system to the corresponding logical partition respectively.

3. Install Win2000 to drive F. clone can still be used by clone comrades. A comrade without cloning can also choose not to make up to four Win2000 boot disks. Win2000 adopts the NTFS format or FAT32 as your choice.

If your partition is not enough during installation, use pqmagic to drag it out.

Well, now the raw materials are ready. Just wait. Start it first. The leader who used to clone and install Win2000 on the E drive can only start Win95 on the C drive, while a friend who used the installation method can start Win95 on the C drive and win2000on the E drive. Now the focus is on:

I. Preparations before resuming multiple Win2000 boot menus

If the Win2000 Startup menu is not lost, skip this step. Only add related options.

One bootpart tool is required to restore the Win2000 multi-boot menu. It is a free software dedicated to modifying Windows NT multi-boot menus. In addition to the ability to add DOS and Windows 9x to the multiple boot menus of NT, The bootpart can be added to the OS/2 multiboot, Linux partitions (with lilo), or the boot function of a floppy disk! (The software is so introduced .)

Here, some friends have asked, that is, bootpart already has multiple boot functions for modifying nt. What else do I use to write this article? Haha, the problem is that the bootpart only supports fat16 partitions and non-fat partitions. However, our current hard drive can only be managed with FAT32. In addition, the bootpart does not support adding the second hard disk from the NT boot menu, and it does not support starting the system from the logical hard disk. We only use bootpart to recreate the NT boot menu function.

The bootpart can be downloaded from the disk tool of the Alibaba Cloud Software Park. The file size is 24 KB.

Http://www.newhua.com.cn/down/bootpa22.zip http: // 202.99.172.24/down/bootpa22.zip http://members.aol.com/gvollant/bootpa22.zip.

Before recreating the NT boot menu, you need to do something first. Copy ntldr, ntdetect. com, and bootfont. Bin from the Win2000 installation disk or from a machine with Win2000 installed. (You can skip this step, but the menu is in English .) Go to your C-drive root directory. Then, use Windows notepad to compile a boot. ini file to your C-drive root directory. The content is as follows:
[Boot loader]
Timeout = 10
Default = c :\
[Operating systems]
Multi (0) disk (0) RDISK (0) Partition (4) \ WINNT = "Microsoft Windows 2000 Professional"/fastdetect
C: \ = "Microsoft Windows95"
C: \ win98.bin = "Microsoft Win98"
C: \ winme. bin = "Microsoft winme"
C: \ Floop. bin = "Floop"

Here, by the way, we will discuss the settings of boot. ini. Timeout = specifies the default system time for the Start Menu, in seconds.

Default = is the default system. This item is
Default = multi (0) disk (0) RDISK (0) Partition (4) \ winnt
Use the; sign to comment out this line and add default = c: \ to enable ipvs.

Multi (0) indicates that the hard disk interface is a non-SCSI interface. Most of your friends use the IDE interface, so you don't need to change it. Disk (0) indicates that the Win2000 boot menu is installed on your first ide interface. If you have a dual hard disk, you install it from the first ide interface hard disk, and win2000 is mounted on the second ide interface, set this item to disk (1 ).

Partition (4) refers to the Partition Number installed by Win2000, 1 refers to drive C, 2 refers to drive D, and 3 refers to drive E. If our Win2000 is mounted to drive F, partition (4) is used ). Note that, because hard disks are staggered or your system has hidden partitions, the above partiton number is based on the drive letter of each system after the DOS is started.

If you want to use the Win2000 boot menu and do not want to install Win2000, you only need to delete the two lines related to winnt in the above boot. ini.

2. Add the corresponding startup files for each partition of the system.

We know that Win2000 can be started on both sides because it overwrites the DOS Boot Record and backs up the DOS Boot Record of the original drive C as boosect. Dos, so as to implement ipvs of the boot drive C. Therefore, except for this bootsect. dos, we also need to boot the boot backup win98.bin of drive D Win98 (this name is whatever I like, you can also get the name you like, as long as you can and boot. INI .) Boot/backup of the E disk is divided into winme. bin, and boot/backup of the Floop. bin of the floppy disk.

The diskedit (611 k) of norton2000 is required for these files, because it supports disks in the FAT32 format. Diskedit can be directly found in the installation directory of norton2000.

Start diskedit from WINDOS to pure dos. Diskedit jumps out of a menu and says it is running in read-only mode. Press enter to enter. Select drive under the object, select C:, then press Alt + B, select Boot Record, and read the DOS Boot Record of hard disk C. Then press Alt + T to select write object to under tool, and then it will pop up a Where do you wish to write Boot Record on drive C: to a file warning, enter bootsect in file. input C: in DOS, drive: to complete the backup of drive C.

Repeat the preceding steps to prepare the DOS boot records for the drive D: disk E: disk A: disk, and name them win98.bin and winme. bin, Floop. bin. All files must be stored in the C root directory.

This step is implemented in read-only mode and will not be modified on the hard disk, so the operation is safe.

3. Add Win2000 boot menu

This step can be left empty for friends who already have a Win2000 boot menu.

You can also use diskedit to add the Win2000 boot menu by finding a machine with Win2000 installed (however, the C disk of the other computer must be in the same format as your c disk, that is, fat16 to fat16; FAT32 to FAT32) Use diskedit to split its dos Boot Record, and then copy the data between 3eh and 1fh (when fat16 is used ), if FAT32 is used, copy the data between 5ah and 1fh to overwrite the corresponding part of the C drive Master Boot Record.

This method is dangerous. If you do something wrong, your machine may not be able to start, so I do not recommend it. If the hard disk cannot be started after a wrong operation, you can use your boot disk to start it and then use sys C: to recover it.

The second method is to use bootpart to perform this step. It's easy to execute in DOS

Bootpart winnt boot: C:

4. Make the final modification to the Startup file of the logical Partition

After completing step 3, restart the machine. We can start Win2000, Win95, and floppy disk successfully. However, when Win98 is executed, winme will report an error and return it to the menu. This is because Win2000 does not support starting the system from the Logical Disk. So now we will go to the most important part of this article. Modify win98.bin and wimme. bin to enable Win2000 to start from the Logical Disk.

Enter diskedit under DOS, press Alt + T to select the configuration under it, press the Space key to cancel the first option read only, and then press tab to select Save. (Don't worry, we only modify the file in hexadecimal format, even if we make a mistake .)

Select drive C:, press Alt + B to read the boot records of drive C, and write down the value of big total number of sectors. Similarly, select drive D:, and press Alt + B to read the boot records of drive D, also write down the value of big total number of sectors. Note: When recording this value, you must ensure that the special hiddle secters value is 63. If not, exit and use sys to transfer the system to disk D and disk E.

For clarity, I assume that your values are as follows:

C: Big total number of servers = 1959867
D: Big Toral number of sectors = 4482072

Let's make a calculation: 1959867 + 63*2 = 1959993, converted to a hexadecimal value = 1de839. Friends who change to a game may know that the data recorded on the microcomputer is always low, after the high position is reached, this value should be 39 E8 1D when we enter win98.bin below. The specific position is 1ch of win98.bin, and the original value is 3f 00, use diskedit to call win98.bin and make the modification.

Of course, you can also calculate this value and use another hexadecimal editor to modify it. For example, you can use uledit32, a commonly used game modification tool, to do this step.

The modification of winme. Bin is different from the modification above. The value of big Toral mumber of sectors after all the preceding sys partitions should be added. Therefore, the value of winme. Bin is 1959867 + 4482072 + 63*2 = 6442065 = 624c51h. Enter 51 4C 62 in the 1ch of winme. bin when you modify the value.

5. After the modification is complete, let's make the final settings to start the WIN98 and winme of the Logical Disk D and E to ipvs, and change the system file msdos of the d and E disks. sys, command.com changed its name to msdos.98, command.98 (d disk), and msdos. me, command. and copy it to the root directory of the system. Do not set the read-only and hidden attributes of these files for easy switchover. For the msdos. SYS file, you also need to modify the corresponding drive letter to your current WIN98 and winme installation drive letter. This is not an example because it is relatively simple.

(1) Create the autoexec.98 and autoexec. Me files in the C: root directory. The content is as follows:
C: \ autoexec.98
@ Echo off
Set WINDIR = D: \ WINDOWS
Set winbootdir = D: \ WINDOWS
Set comspect = D: \ windows \ command.com
Set Path = D: \ windows; D: \ windows \ command
Set temp = D: \ windows \ Temp
Set TMP = D: \ windows \ Temp
Del c: \ err
; This is added to the transformation file to prevent repeated execution in the future. Please add this line to all your autoexec. BAT files. Also, Please create one for disk C without autoexec. BAT and add this line.

Modify autoexec. me like this. If you have config. sys, make the class seem to be modified.

(2) create the following shortcut for switching files on the desktop of each installed system
1. chang95.bat
@ Echo off
If exist err goto end
@ Echo errflag> C: \ err
Create an err flag file to avoid System File confusion caused by repeated execution of Chang *. bat.
If exist c: \ flag95 goto end
; Check the flag file to identify the current system.
If exist c: \ flag98 goto flag98
If exist c: \ flagme goto flagme
@ Echo falg> flag95
; Create the current system flag file.

Flag98:
Ren c: \ flag98 flag95
Ren c: \ msdos. sys msdos.98
Ren c: \ command.com msdos.98
Ren c: \ config. sys config.98
Ren c: \ autoexec. Bat autoexec.98
Goto flag95
; Save the current 98 File System

Flagme:
Ren c: \ flagme flag95
Ren c: \ msdos. sys msdos. Me
Ren c: \ command.com msdos. Me
Ren c: \ config. sys config. Me
Ren c: \ autoexec. Bat autoexec. Me
Goto flag95
; Save the current wimme File System

Flag95:
Ren c: \ msdos.95 msdos. sys
Ren c: \ command.95 command.com
Ren c: \ config.95 config. sys
Ren c: \ autoexec.95 autoexec. bat
To use Win95 for the next startup.
End:

2. chang98.bat
@ Echo off
If exist err goto end
@ Echo errflag> C: \ err
If exist c: \ flag98 goto end
If exist c: \ flag95 goto flag95
If exist c: \ flagme goto flagme

Flag95:
Ren c: \ flag95 flag98
Ren c: \ msdos. sys msdos.95
Ren c: \ command.com msdos.95
Ren c: \ config. sys config.95
Ren c: \ autoexec. Bat autoexec.95
Goto flag98

Flagme:
Ren c: \ flagme flag98
Ren c: \ msdos. sys msdos. Me
Ren c: \ command.com msdos. Me
Ren c: \ config. sys config. Me
Ren c: \ autoexec. Bat autoexec. Me
Goto flag98

Flag98:
Ren c: \ msdos.98 msdos. sys
Ren c: \ command.98 command.com
Ren c: \ config.98 config. sys
Ren c: \ autoexec.98 autoexec. bat
End:

3. changme. bat
@ Echo off
If exist err goto end
@ Echo errflag> C: \ err
If exist c: \ flagme goto end
If exist c: \ flag95 goto flag95
If exist c: \ flagm8 goto flagme

Flag95:
Ren c: \ flag95 flagme
Ren c: \ msdos. sys msdos.95
Ren c: \ command.com msdos.95
Ren c: \ config. sys config.95
Ren c: \ autoexec. Bat autoexec.95
Goto flagme

Flag98:
Ren c: \ flag98 flagme
Ren c: \ msdos. sys msdos.98
Ren c: \ command.com msdos.98
Ren c: \ config. sys config.98
Ren c: \ autoexec. Bat autoexec.98
Goto flagme

Flagme:
Ren c: \ msdos. Me msdos. sys
Ren c: \ command. Me command.com
Ren c: \ config. Me config. sys
Ren c: \ autoexec. Me autoexec. bat
End:

The usage of these batch files is described here. For the first use, use the new Windows Command to create a flag95 file in the root directory of the C drive, and then execute chang98. If you do not want to create the file, run chang95 once. You do not need to manually create the file after the machine is restarted.

So far, Win2000 has started the multi-menu of ipvs systems. Next time you start the machine, you can enter the system you want to operate through the menu.

Q: Does the Win2000 multi-boot menu support starting the ipvs System of the second hard disk?
A: Yes. You only need to change the hda. Bin boot file on the second hard disk to 81 h at 24 h (the original value is 80 h). You do not need to modify the other files. But because Windows only recognizes C: the disk is the main disk, so it cannot start the second hard disk's WINDOS, press the four above: modify the rule of the last modification to the Startup file of the logical partition.

Q: Can I enable multiple Win2000 boot operations on a floppy disk?
A: Of course. Read the Master Boot Record of drive C, save it as file 1, change it to 00 h at 24 h, and reserve it. Then, read the boot area of the soft drive, copy the content from 00h to 3DH, and write the content between 00h-3dh of file 1. Write only the 512 bytes (00h-1fh) before file 1 to the boot zone of the floppy disk. As it is relatively ineffective, we will not detail it in detail.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.