Merge Windows System Mirroring Tutorial

Source: Internet
Author: User

Merge Windows System Mirroring Tutorial

Description: This plan uses the ImageX command line method, integrates the Install.wim under the Sources folder in the original Windows MSDN image, replaces the Install.wim in the original Windows image with UltraISO, and changes ei.cfg.

First, the Preparation tool

(1). Environment Preparation: Windows Xp/windows 7/windows8,x86/x64;

(2). Required Tools:

1.imagex.exe, the directory administrator to enter the file to execute the command , or put the file in the C:\Windows\System32 directory (this file is small, hundreds of k), The function is to integrate Install.wim with several commands of ImageX;

2.UltraISO for extracting install.wim from the replacement ISO file.

(3). WINDOWS7/8 ISO image file, can go to the following address download: http://msdn.itellyou.cn/.

(4). Auxiliary Tools:

1.wimtool.exe, used to view the volume information of an edited install.wim, or to be substituted with the ImageX command (Gimagex tool is also provided, which functions like Wimtool)

2.BOOTICE: for editing boot items;

3.VHD: Virtual optical drive loading tool, can be replaced with ultraiso or good pressure.

4.HPUSBFW: HP u disk storage Format tool.

Second, the merger step

(1). Install the UltraISO, check the installation of Virtual CD-ROM;

(2) using the virtual CD-ROM loading tool ultraiso load Windows original image, in "My Computer" can see "CD drive", remember this drive letter (my O), right click, select "UltraISO"--"Mount ...", The popup dialog box selects the Windows image file that has been downloaded, such as: Cn_windows_7_ultimate_with_sp1_x86_dvd_u_677486.iso;

(3). Use ImageX.exe to export install.wim, before executing, be sure to read the instructions after this step. Copy the ImageX.exe into the C:\Windows\System32 directory (or enter DOS under the ImageX.exe directory), run cmd as an administrator, execute the command:

Imagex/export O:\sources\install.wim 1 i:\os\install.wim/compress Maximum

Wait for the operation to complete, enter the next operation;

Description

1). Before exporting, use Wimtool to view the mirrored volume information, such as, to export the specified volume as needed.

2). Command parameter Description:

    1. parameter: O:\sources\install.wim, the "CD drive" where the ISO image is loaded for the second step;
    2. parameters: 1, the volume label of the original image, the number indicates that only the specified volume is imported, * represents all volumes, before import can be used Wimtooll to view the original mirrored volume information, one image file may have more than one volume, according to the figure of the Red Flag 3 button switch volume, can produce see volume version information and so on. as shown;
    3. parameter I:\OS\install.wim, indicates the destination volume (can not exist, indicates new), note the path does not appear special characters (such as space, Chinese, etc.);
    4. The parameter/compress maximum, which represents the maximum compression, is the original version of Microsoft image.

(4). Change the image volume information, you can use the ImageX command or use Wimtool.exe to view and modify;

1.wimtool modification (Recommended): For example, modify the corresponding content in 4. Note Each switch one volume label, to click 5 Modify image information to save changes;

2.imagex command: Imagex/info I:\OS\install.wim 1 "Windows 8.1 Pro X86" "Windows 8.1 Pro [32 bit]".

(5). Repeat steps (2)-(4), and then export the required mirrors to install.wim. Take care not to forget. Step (2) Reload the new image, or merge the same image. Change the order of the system versions after the disc is changed by changing the order of the exported images. Like what:

# (1), start merging Win7 32-bit, 64-bit all versions.

#用虚拟镜像工具加载cn_windows_7_ultimate_with_sp1_x86_dvd_u_677486. iso

#1. Export Win7 x86 in volume 1, simple version.

Imagex/export O:\sources\install.wim 1 i:\os\install.wim/compress Maximum

#2. Export Win7 x86 in volume 2, Home normal edition.

Imagex/export O:\sources\install.wim 2 i:\os\install.wim/compress Maximum

#3. Export Win7 x86 in Volume 3, Home Premium Edition.

Imagex/export O:\sources\install.wim 3 i:\os\install.wim/compress Maximum

#4. Export Win7 x86 in Volume 4, Professional Edition.

Imagex/export O:\sources\install.wim 4 i:\os\install.wim/compress Maximum

#5. Export Win7 x86 in volume 5, Flagship edition.

Imagex/export O:\sources\install.wim 5 i:\os\install.wim/compress Maximum

#用wimtool工具修改install. Wim Volume information, note that it must be modified, otherwise importing a 64-bit image will fail because the volume name is the same.

#用虚拟镜像工具加载cn_windows_7_ultimate_with_sp1_x64_dvd_u_677408. iso.

#6. Export Win7 x64 in volume 1, Home normal edition.

Imagex/export O:\sources\install.wim 1 i:\os\install.wim/compress Maximum

#7. Export Win7 x64 in Volume 2, Home Premium Edition.

Imagex/export O:\sources\install.wim 2 i:\os\install.wim/compress Maximum

#8. Export Win7 x64 in Volume 3, Professional Edition.

Imagex/export O:\sources\install.wim 3 i:\os\install.wim/compress Maximum

#9. Export Win7 x64 in Volume 4, Flagship edition.

Imagex/export O:\sources\install.wim 4 i:\os\install.wim/compress Maximum

#用wimtool工具修改install. Wim Volume information.

#Win7 32-bit, 64-bit all versions of the merge complete.

# (2), start merging Win8.1 32-bit, 64-bit all versions.

#用虚拟镜像工具加载cn_windows_8.1_with_update_x86_dvd_4048000.iso.

#10. Export win8.1 x86 in Volume 1, Professional Edition.

Imagex/export O:\sources\install.wim 1 i:\os\install.wim/compress Maximum

#11. Export win8.1 x86 in Volume 2, Core edition.

Imagex/export O:\sources\install.wim 2 i:\os\install.wim/compress Maximum

#用wimtool工具修改install. Wim Volume information, note that it must be modified, otherwise importing a 64-bit image will fail because the volume name is the same.

#用虚拟镜像工具加载cn_windows_7_ultimate_with_sp1_x64_dvd_u_677408. iso.

#12. Export win8.1 x64 in Volume 1, Professional Edition.

Imagex/export O:\sources\install.wim 1 i:\os\install.wim/compress Maximum

#13. Export win8.1 x64 in Volume 2, Core edition.

Imagex/export O:\sources\install.wim 2 i:\os\install.wim/compress Maximum

#用wimtool工具修改install. Wim Volume information.

#Win8.1 32-bit, 64-bit all versions of the merge complete.

# (3), start merging Win7, Win8.1 all versions.

Imagex/export I:\OS\install_win7_x86x64_9in1.wim * i:\os\install.wim/compress maximum

#Win7, Win8.1 All versions of the merge complete.

#用wimtool工具检查install. Wim Volume information.

After the above command is executed, Install.wim contains 13 versions of Windows, with versions showing the order in which the commands are executed.

(6). [Optional] [ There is a problem ], because the image size after merging is more than 4G, while the USB drive format FAT32 only supports a maximum of 4G single file, so if you want to burn the image with FAT32-bit USB, you must split the Install.wim. (Of course, you can also choose to format the USB drive into NTFS format after the system disk). Also use the ImageX command, as follows:

Imagex/split I:\OS\install.wim I:\OS\INSTALL.SWM 3072

Parameter description:

    1. the parameter I:\OS\install.wim, which represents the original WIM image;
    2. parameter I:\OS\install.swm, after splitting the image, will be split into INSTALL.SWM, INSTALL2.SWM, INSTALL3.SWM and other images, the number according to parameter 3;

3, parameter 3072, maximum per image size.

Note: If you split Install.wim, when you install the system, you find that several system installations that are located behind the version list have an error that says "Windows cannot find the Microsoft Software License Terms ...". As for the solution, I searched the internet for a long time, indeed many people met, but did not find the right solution. If anyone has found the corresponding solution, please leave a message to inform, greatly appreciated!

(7). Make a Windows system disc image.

1. Open a Windows8.1 with UltraISO (must be windows8.1 to install windows8.1 Install.wim, that is, a high version of Windows PE) ISO image, Delete the Install.wim under the Sources folder and add the install.wim you just made.

2. Remove the ei.cfg file from the Sources folder and replace it with the Ei.cfg file provided. Click Save, it takes about a few minutes to more than 10 minutes. See the following article for ei.cfg instructions.

Description

    1. If you need to keep Windows8.1 original image, please back up before modifying.

    2. If there is an out-of-range hint, right-click in the Red area and select the appropriate size.
    3. If you want to modify the disc Image volume label, click "Tools", "Repair the ISO label" to complete.

(8). Prepare a bootable USB flash drive, which can be used for system files. Considering the Install.wim is larger than 4G after the disk, and the general format of the USB stick is FAT32, does not support 4G large files, so you need to convert the USB drive to NTFS format. Then use Booice to configure the boot entry.

    1. format the U-disk. If the U-disk is not USB-HDD format, you need to use the tool Hpusbfw.rar to Gecheng the USB-HDD format of the U-disk.
    2. start Bootice, check the Options page "Physical Disk Processing", and on the "Target disk" Select the USB drive to start (judging by size and character);

    1. Click "Master Boot Record (M)", Pop Up the dialog box, select "UltraISO usb-hdd+/usb-zip+", click "Install/Configure (s)", Pop Up the dialog box, click "UltraISO usb-hdd+", Prompt "The master boot Record has been successfully updated , click "OK", then "Cancel" to return to the software Start screen;

    2. Click "Partition boot Record (P)", Pop Up the dialog box, select "Bootmgr Boot program (FAT/FAT32/NTFS/EXFAT)", click "Install/Configure (s)", Pop Up the dialog box, use the default settings, click "OK", Prompt " Successfully update the partition's pbr! ", click" OK ", and then click" Cancel "back to the software start screen;
    3. Click "Partition Management (G)", Pop Up the dialog box, select the boot file "GRLDR" in the section, click "Activate", complete the startup item settings, exit. If the Activate button is grayed out, it means that the partition is already active and does not need to be changed to exit.

    1. use UltraISO to extract the system files to the USB flash drive, or extract the compression software to the USB drive.

(9). Use a virtual machine or a real machine to test the mirror after the disc is closed.

Third, the merger effect

Iv. explanation of the problems

1. Unable to find Install.wim

FIX: Install.wim mirror problem, re-create it. You can open it with Wimtool to see if the volume information matches the expected.

2. No license verification (), or no version selection screen appears

Resolution: Ei.cfg problems, re-replace ei.cfg to provide can be resolved.

Five, a few notes

(1). Ei. CFG file

There is a sources\ei in the Windows installation CD. CFG such a configuration file. EI. CFG is a configuration file that is specific to Windows installer and is used to determine which version and license should be used during installation. EI. CFG is a text-based file that you can open with Notepad. such as:

[EditionID]

Professional

[Channel]

Volume

[VL]

1

Parameter description:

1.[editionid]: Version name, must be a valid Windows version ID, and is unique. Leave blank or fill in multiple, will be equivalent to delete ei.cfg file. The installation will be written to the registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion EditionID. Among the win 7 versions include: Starter, Homebasic, Homepremium, Professional, Ultimate, Win 8 in the version contains: Professional, Enterprise. (Win 8 also a core board, do not know the ID why.) )

2. [Channel]: Channel, Win 7 Specifies whether it is an OEM or retail retailer. WIN8 is designated as retail, Volume Licensing (Volume), OEM (OEM);

3.[VL]: Volume Edition Volume License is a volume Licensing flag. 1 is the (True) Volume Licensing version and 0 for (False) Retail edition.

The Setup program can automatically read EI. CFG and determine what version the user purchased, and then block other versions of the selection list. Ei. CFG the installer lists all versions of the selection list, as long as the content or format is wrong. For example [VL] does not exist or is filled with numbers other than 0 not 1, a version selection list appears.

Retail to OEM can display the OEM installation protocol, otherwise it is RTL protocol. Installation with this regenerated disc image will appear in various versions of the installation Options window such as "Ultimate, pro, Home Premium, home, and simple".

(2). about the U for more information on disk startup items, see: Making a startup U disk (released later).

[Email Protected]jairkong , reproduced please specify the source!

Jairkong csdn http://blog.csdn.net/jairkong

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.