Third, in-depth understanding of a dual-boot menu
However, I was more interested in the image above this sentence: To manually edit the boot options, click "edit". What's under the "Edit" button?
original, dual-boot menu is controlled by a text file called boot.ini so-called "manually edit the boot options" that is manually edited (3) of this text file, here this list is not much, but friends may not be easy to understand, I will explain it in detail here:
Figure 3
1. [Boot Loader]: Boot Record
(1) timeout=5
Before you select the default operating system, "timeout" means that the user can boot from before NTLKR loads the default operating system. The loader screen selects the number of seconds of the operating system. If the value is 0, NTLDR will not display the loader screen and directly start the default operating system. In fact, it is the "time to display the operating system list" mentioned earlier. frame. The default value is 30 seconds, I have adjusted it to 5 seconds here.
(2) Default = multi (0) disk (0) rdisk (0) partition (2) \\ Windows
Default course, refers to the default (default) meaning, that is, the system The operating system path to be loaded by default, that is, the portion of the highlight that waits for you to select when the system starts. But there may be many friends who don't understand the names multi(0), disk(0), rdisk(0), and partition(1). In fact, in Windows, this involves some knowledge of ARC:
ARC is a dynamic method for identifying devices in x86 or RISC computers. The first part of ARC naming is used to identify hardware adapter cards/disk controllers. The typical ARC name structure is as follows:
< BR> component(x)disk(y)rdisk(z)partition(a)
The "component" field here generally has only two valid values: scsi and multi, which represent the device's hardware adapter. Scsi is of course a SCSI disk, and multi refers to a disk interface other than SCSI. "x" represents the serial number of the adapter, the first one is 0, the second is 1, the value can be allocated until all drive allocation ends; "y" refers to the bus number in the multi-bus SCSI adapter, for multi The value is 0; "z" refers to the serial number of the disk on the multi-adapter, and the value is 0 for SCSI; "a" refers to the serial number of the partition on the disk, and all partitions have a corresponding number, starting from 1, but Does not include 0 and 5.
2. [Operating System]: Operating System
(1)multi(0)disk(0)rdisk(0)partition(2)\\WINDOWS="Microsoft Windows XP Professional" /fastdetect
Now It is easy to understand, this line of instructions tells us: the default operating system is "Microsoft Windows XP Professional" on the D drive, which is Windows XP. The "/fastdetect" here is a usage parameter, which means that the serial port and the parallel port are not checked at startup.
(2)C:\\="Windows 98SE"
This is the second operating system and is displayed as "Windows 98SE" in the boot menu.
3. Appendix: Usage parameters of the boot.ini file
Just now, we have mentioned that "/fastdetect" is a usage parameter, which means that the serial port and the parallel port are not checked at startup. In detail, a lot of parameters can be used in the boot.ini file. But too many use parameters, how do they remember to live? It doesn't matter, you can use the "BOOTCFG /?" command at the "command prompt" to see a list of all the parameters and their explanations (Figure 4).
Figure 4
four senior editor
how to dual boot menu
, now you structure and use of the boot.ini file to find out, right? In fact, editing the boot.ini file is consistent with the editing results in the dialog box of Figure 2. The difference is that if you can't enter Windows for some reason, you can do it under DOS
or another Manually edit the boot.ini file in an operating system.
1. Manually edit boot options in DOS
or other operating systems
In simple terms, boot options that can be modified include default operating system modifications, setting the time to display the operating system list, and modifying the boot menu. The display name of the operating system, etc. First, open "My Computer → Tools → Folder Options → View", in the "Advanced Settings Window" remove the "Hide Protected Operating System Files" in front of the hook and then "OK"; enter the C drive root directory to find The boot.ini file is now. Here I tried to change the original "Windows 98SE" in the dual boot menu to the scary "Microsoft Windows 2008" (Figure 5). After rebooting, look at it, what's new?
FIG. 5
2. Remove the tail left after manually deleting the operating system
Maybe friends have this experience, please God is easy to send God, when in some cases had to manually delete an operating system and found the boot menu It still retains the annoying option, and you have to wait 30 seconds unless you hit the Enter key. Especially in the case of installing multiple operating systems, we have reinstalled an operating system by formatting in order to save trouble, but found that the multi-boot menu has been lost. What should I do at this time, must be installed again? Another operating system?
now, we just open the boot.ini file, the deleted operating system that everything will be fine-line statement to delete it. Of course, if the property of the boot.ini file is read-only, please remove it first, and please delete the original file first.
3. Minor modifications, to prevent others from using the system
know the principles of the boot.ini file, we can it be a small change, so you can prevent unauthorized use of the system. For example, if the boot.ini file is renamed or transferred to another path, the file cannot be found when the system starts, and the error will not be entered continuously; or the statement in the boot.ini file can be changed, for example, "Default=" Multi(0)disk(0)rdisk(0)partition(2)\\WINDOWS" is changed to "Default=multi(0)disk(1)rdisk(0)partition(2)\\Windows". When you want to use it yourself, just change it back. However, novices still don't want to move it, otherwise, you can only look at the screen.
5, how to restore damaged dual boot menu
believe that the use of dual operating systems on a dual-boot menu friends must love and hate, of course, is the reason for this dual boot menu often baffling There are various failures, such as reinstalling Windows 9x or formatting the C drive. At this time, you will not see this dual boot menu when you start, and naturally you will not be able to enter another operating system. How to restore it? What?
In fact, the method is simple enough, although the dual-boot menu is destroyed, but another operating system files and configuration were not damaged, you just rerun Windows 2000 /XP installation program, select the "Repair" Installation, wait for the first time the file is copied, choose not to start when restarting, then end the installation, and then manually delete some folders or files in the root directory of the hard disk starting with $ (they are temporary files generated during the installation process) After rebooting, you can restore the boot menu.
Therefore, "Default = multi (0) disk (0) rdisk (0) partition (2) \\ Windows" meaning of this line of the statement refers to the default operating system is a non-SCSI interface number is 0 On the second partition on the hard disk. Here "partition(2)" is the second partition on the first physical hard disk in the computer. It is actually the D drive (I installed Windows XP on the D drive and Windows 98SE on the C drive), now you Got it out?
When you use the built-in clean disk function in Windows, you often find that it does not co
Why is my C drive space getting less and less? Every time I started Windows Vista, I didnt do anythi
The security features of Windows XP can be improved a lot. You can pr
This post will occasionally update XP, Win7, Win8 and other operating system theme installation prob
In-depth understanding and optimization of WinXP startup
Game Tianshi: Try "cool version of Windows XP"
64-bit Win XP installation and the difference with 32-bit
Two alternative tips for mining Windows XP features
Magical use of local policies to manage password security
Cleverly solve the problem of Win XP system network access
Walk into the world of content distribution networks Explore its secrets
The most alternative restore technique for Windows XP
Close the problem that should be noted after XP automatic update
Windows XP super practical skills two
Amazing tricks to teach you the use of laptop Bluetooth and how to open
Once and for all! The best solution to solve the pirated Win7 black screen
Win8/win8.1 system prompts "target folder access denied" how to do
Win10 Mobile preview version 14926 appears SIM card recognition and other issues how to solve
XP/Vista dual system sharing file optimization
Windows XP can't open the exFAT format U disk, suggesting that the unformatted solution
Easily recover modified or deleted Vista files
How should the Win7 system use the printer to scan files
QQ five-stroke input method custom function analysis