Windows-Use XORBOOT to boot multiple systems

1. Understand the XORBOOT multi-system boot software

★ XORBOOT (formerly XORLDR) is a lightweight multi-system boot program .
★ Can be used by embedding the disk MBR completely
★ You can use the true color graphics selection menu, the effect is as follows:
Write picture description here
★ Can manage up to 16 system startup
★ The startup object can be: designated boot partition, designated boot file, etc.
★ Supported startup types include MBR , PBR, NTLDR / BOOTMGR, disk image files ( .IMG; .IMA; *.ISO), etc.
★ Can be installed on the MBR of the hard disk to start

2. Understand the principle of system booting

  • The general startup procedure of the system on the hard disk is like this:
Created with Raphaël 2.1.0 开机自检 1、加载硬盘主引导记录(MBR) 2、搜索并激活系统引导文件 3、加载启动配置文件 4、加载系统核心文件 完成启动
  • The following mainly understand the four steps from 1 to 4:

    1. Load the master boot record of the hard disk.
    2. Search and activate the system boot file "\NTLDR" or "\bootmgr".
    3. Load the boot configuration file "\boot\bcd", read the boot disk, boot partition, boot file path and other information.
    4. Load system core files: load the system core files on the "boot partition" in the "boot disk" from the "boot file".

  • Things to know:

    1. The master boot record of the hard disk is not necessarily related to the specific operating system. It is a piece of code loaded before the operating system starts.
    2. The difference between different types of boot records is the difference in loading boot files. The system boot files of WinXP and Linux are "\NTLDR", and the system boot files of Win7 and Win10 are "\Bootmgr".
    3. The specific booting system is determined by the system startup configuration file BCD. For example, after "\NTLDR" writes the startup configuration into BCD, "\Bootmgr" can start the WinXP system according to the BCD configuration.

  • It can be seen that which files are loaded when the system starts up are determined by the BCD configuration.

  • Which BCD configuration is loaded when the system starts is determined by the boot file ("\NTLDR" or "\Bootmgr").

  • Therefore, to achieve multi-system startup, there are two key points:

    1. Specify which boot file to load ("\NTLDR" or "\Bootmgr") so that the corresponding BCD can be loaded.
    2. Decide which system files to load according to the settings in the BCD configuration file.

3. Load multiple systems by XORBOOT

I have introduced XORBOOT before, here we reiterate the two key points we used to install multiple systems:

1. The boot object can be the designated boot partition (or boot file, in this article we will use the boot partition as an example).
2. You can embed MBR.

Therefore, it is simple to use XORBOOT to do multiple system startups. In one sentence: use XORBOOT to specify the boot partition that needs to be loaded when each system starts. When the system starts, it will automatically search and load the boot file on that partition.

Of course, another thing that must be done is to use other software (such as BOOTICE) to modify the disks and partitions that need to be loaded in the BCD configuration file.

In this way, the two key points for realizing multi-system startup are solved:

1. Specify which boot file to load ("\NTLDR" or "\Bootmgr") so that the corresponding BCD can be loaded.
Solution: Specify the system boot partition by XORBOOT, and the system will automatically search for boot files.
2. Decide which system files to load according to the settings in the BCD configuration file.
Solution: Use third-party software to modify the BCD configuration file and let it load the system file of the specified partition.

After XORBOOT is deployed to MBR, the startup sequence becomes:

Created with Raphaël 2.1.0 开机自检 1、加载硬盘主引导记录(MBR) --> 启动XORBOOT ★★ 此处由XORBOOT部署到MBR实现 ★★ 2、加载XORBOOT --> 指定系统引导分区 ★★ 此处由XORBOOT菜单设置实现 ★★ 3、加载系统引导文件 --> 指定启动配置文件 ★★ 系统自动在引导分区搜索引导文件 ★★ 4、加载启动配置文件 --> 指定系统磁盘分区、启动文件 ★★ 此处由BOOTICE修改BCD实现 ★★ 5、由启动文件加载系统核心文件 完成启动

4. Example-Load Win7+Win10 dual system

1. Partition the hard disk, set up two primary partitions (0 partition, 1 partition) to install dual systems, and activate 0 partition.

2. Normally install the first system (Win7) to C drive (disk 0, partition 0).

  • [The following steps 3 and 4 can use U disk to enter PE operation, or operate in the first system win7]

3、ghost(我喜欢用ghost装系统^0^)Win10系统到D盘(0磁盘1分区)。注意,这里只是将文件Ghost还原到D盘,并不重启进行剩余的安装操作,要等配置好XORBOOT后才可以继续。

4、对win10的启动配置做修改:利用BCD编辑软件(如BOOTICE)打开”D:\boot\BCD”,将“启动磁盘”、“启动分区”修改为D盘所在磁盘和分区,保存设置。

Write picture description here

  • 【以下XORBOOT的所有操作,都在第一系统win7中进行操作】

5、启动Win7,运行 XORBOOT

Write picture description here

6、新建配置,进入全局配置:根据自己的需要,进行全局配置,设置XORBOOT在多系统引导启动时的界面相关的参数。主要是设置菜单样式及屏幕分辨率。这里以“点阵图像菜单”为例进行演示:

Write picture description here

7、设置“启动菜单”,此处是重点。

启动菜单可以定义启动的系统的数量、启动方式、加载的磁盘号与分区号等信息。

8、设置菜单第一项(Windows7):

Write picture description here
1、点击右边预览窗口中的菜单第一项,或者左边窗口左下角的左右箭头,将菜单项选择到“1”。
2、设置启动方式为:“从分区引导扇区启动”。
3、设置引导分区为:Win7(C盘)所在的:0磁盘、0分区。
4、选择“启动时激活分区”。
5、因为启动Win7(C盘)时,要保护Win10(D盘)的文件不被破坏,所以,这里要选择“启动时更改分区显隐状态”,并定义D盘(0磁盘、1分区)为隐藏状态。
Write picture description here
6、设置菜单热键为“1”,在菜单显示时,直接按键盘上的“1”即可进入第一项。
7、给第一项菜单设置显示文本:“Windows 7 操作系统”

9、设置菜单第二项(Windows10),大致同上,注意细节:

Write picture description here
1、点击右边预览窗口中的菜单第二项,或者左边窗口左下角的左右箭头,将菜单项选择到“2”。
2、设置启动方式为:“从分区引导扇区启动”。
3、设置引导分区为:Win10(D盘)所在的:0磁盘、1分区。
4、选择“启动时激活分区”。
5、因为启动Win10(D盘)时,要保护Win7(C盘)的文件不被破坏,所以,这里要选择“启动时更改分区显隐状态”,并定义C盘(0磁盘、0分区)为隐藏状态。
Write picture description here
6、设置菜单热键为“2”,在菜单显示时,直接按键盘上的“2”即可进入第二项。
7、给第二项菜单设置显示文本:“Windows 10 操作系统”

10、设置菜单第三项(关闭计算机):

Write picture description here
1、点击右边窗口中的菜单第三项,或者左边窗口左下角的左右箭头,将菜单项调整到“3”。
2、启动方式设置为“关闭计算机”。
3、设置菜单热键为“3”,在菜单显示时,直接按键盘上的“3”即可进入第三项。
4、给第三项菜单设置显示文本:“关闭计算机”

11、删除多余项:

Write picture description here
1、点击右边窗口中的菜单第四项,或者左边窗口左下角的左右箭头,将菜单项调整到“4”。
2、点击“删除”按钮,删除该项。
3、依次删除剩余的各项,最终结果如下:
Write picture description here

12、设置完毕,保存:

点击“另存为”,有些版本为“部署”,弹出部署窗口:
Write picture description here
选择“部署到硬盘”
点击“完成部署”
OK,退出程序,重新启动电脑,就看到我们设置的选择系统的菜单了。

13、继续第3步未完成的工作,完成win10剩余的安装步骤:

After restarting the computer, XORBOOT prompts us to select the system to enter, we select the second item (Windows 10 operating system), and continue with the remaining installation steps of Ghost Win10.

14. OK, so far, the dual system installation is complete. After starting the respective systems, first check whether the systems are activated, and after each activation, install the drivers and software. Note that the activation system may not be so easy to succeed, so try to change a few more activation software. good luck! ! !

5. Advanced-use true color graphics menu

Write picture description here

1. The menu style is selected as "True Color Graphics Menu", and the screen resolution is set to "1024×768"
2. Set the background bitmap file, one is a normal picture and the other is a highlight picture (that is, when the item is selected Picture), the size of both pictures is "1024×768".
Write picture description here

Write picture description here
3. In the "Start Menu" window, select the first item in the lower left corner, and in the right window, set the position of the four sides in the menu corresponding to the first item (left, right, top, bottom)
4. Same as above, set the other two The location of the button.
5. Deploy to MBR
OK, restart to see the effect, very beautiful, Very Good, here you can click a like.

Guess you like

Origin blog.csdn.net/sdlgq/article/details/54692206
Recommended