Modification method of WinPE system

Source: Internet
Author: User
Tags gz file ini root directory

If you are a PE master, of course, you can make WinPE system, but most of the system enthusiasts do not have the ability, so we can fully use the Internet excellent WinPE resources for integration, to build their own WinPE system. Now take a deep WinPE v4.2 as an example to explain.

First, install the WinPE to U disk

The depth WinPE v4.2 has the more Perfect Installation wizard, here does not do the detailed explanation.

Ii. Modification of WinPE external procedures

This should be the most important process of creating personalized WinPE. WinPE v4.2 's external program is stored in the Programs folder of the U disk root directory, and the filename is extra.wim. In contrast to other versions of WinPE, the depth WinPE v4.2 compresses the external program into a file, which is relatively cumbersome to modify.

The first thing to use is the Wintool tool. First extra.wim back up, then open Wintool, select Extra Mirror, set up the folder to be unpacked, check the right option for "writable Mount", "Open Directory Automatically", "Pre-Task Information", click "Mount Image" You can open the Wim file and write to the operation.

After you open the image, you can add the program you want to add to the WIM file as you would in Windows. Note: The added files should be able to run in the WinPE system, for example, to add a few practical detection and maintenance tools such as HDD low Grid tool. Of course, just adding files is not going to work in the WinPE system, and editing the Main.ini files in the folder. The format according to the above ready-made changes are good, the editor is finished don't forget to save. After editing, click "Uninstall Image" in Wimtool, software prompts whether to update, select "Yes", our external software is edited.

The Main.ini configuration is as follows:

Third, add additional tools to the Grub boot menu

Deep WinPE v4.2 's Startup menu is simple, and if you want to add other tools, you can copy the image files from other PE to the Minipe folder in the root directory of the U disk, such as adding DM9.57 bilingual version, Diskgen disk Partitioning tool, Memtest memory detection tools and GHOST11.02 four tools. Also, after you add the tool, edit the configuration file to make it work. Deep WinPE v4.2 's Grub menu profile is stored in the MENU.DPE under the U disk root directory, and other PE is basically in the menu file, although the extension may be slightly different.

MENU.DPE file on the right, choose to open Notepad, you can see the boot menu configuration file. Similarly, edit add your own tool configuration according to the existing format. The configuration of the four files added is: Title [05]--launch dm9.56/9.57 bilingual version [05]

Map--mem/minipe/dm957.ima (FD0)

Map--hook

Chainloader (fd0) +1

Rootnoverify (FD0)

[06]--boot Diskgen disk partition [06]

Map--mem/minipe/dgdos32.img (FD0)

Map--hook

Chainloader (fd0) +1

Rootnoverify (FD0)

Title [07]--Boot memtest memory detection [07]

Map--mem/minipe/windiag.img (FD0)

Map--hook4

Chainloader (fd0) +1

Rootnoverify (FD0)

Title [08]--start GHOST V11.02 [08]

Map--mem/minipe/ghost.img (FD0)

Map--hook

Chainloader (fd0) +1

Rootnoverify (FD0)

Save when the editor is finished, OK.

Iv. further personalize your WinPE system

Complete the above steps, your WinPE system has been able to meet the needs of the use, but the default wallpaper does not like, start the interface does not like, we continue to modify it!

1, modify the PE start interface and desktop

Open u disk root directory under the Programs folder, which has a logon.jpg and wall.bmp, the first is the WinPE system to start the interface, find a favorite picture, modified to 800x600 size, compression size of 10KB, replace the logon.jpg file. Compression is to ensure that your WinPE can start smoothly, if the file is too large, will be in WinPE startup, this should be noted. Wall.bmp format is in 1024x768 BMP format, there is no requirement for size.

2, modify grub boot Menu Personalized Information

Open the Menu.dpe file mentioned just now, change the system name to what you want, for example, change to: Need snail WINDOWS 2003 PE u disk version.

3, modify the Start menu text color

The Grub boot Menu text is white by default, and when the background image is turned on, we want to use the foreground and background commands in the boot menu to set the text color. For example, set to: foreground 6b42265

Background D8D8BF

For color numbers, only 16 colors are supported:

4. Modify GRUB Boot background image

Deep WinPE background image if you do not like, you can download their own replacement, the file name is minipe/deepin.xpm.gz. Of course, the Internet is not really suitable for our background map. Take it and do it yourself, and see how to do the background map below.

It takes some effort to make a grub background picture, but it's not too hard. There are several tool software to use: Acdphoto (note not acdsee), Xnview,gzip.exe,photoshop.

First find a favorite picture, with Acdphoto Open, resize to 640x480 (must this size), and then "adjust"-"color Depth"-"16 colors", save in BMP format.

The second step: use PS to open just saved pictures, "image"-"mode"-"Index color", palette for "local-selectable", forced to choose "No", Color fill "14".

Be sure to save after the format is BMP.

Step three: Open the picture you just modified with XnView, "image"-"Convert to Color"-"16 Color (FIT)", then "file"-"Save As" and select Format as XPM format. This is also the reason to choose XnView This software, it can be stored as XPM format, is not available to other looking software.

The final step: the production of xpm files compressed into GZ format. Place the xpm file and the downloaded Gzip.exe in the same folder, open cmd, navigate to the folder where Gzip is located, and enter the following command: gzip jds.xpm, then carriage return (note: jds.xpm is the file name of this example, you may be something else). At this point, the xpm file in your folder disappears and a GZ file is generated. Like jds.xpm.gz. Copy this file to the Minipe folder and replace the deepin.xpm.gz file.

OK, test your modified U disk WinPE start it.

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.