System packaging is mainly used for making CD images.
If you know how to use GHOST, you should have a certain understanding or impression of packaging.
System packaging, simply put, is to burn the system as a mirror image to a CD for system installation. System packaging is different from the normal installation of the system. The most essential difference is that system packaging is to package a complete system in the form of copy, and then install it on another system disk in the form of paste, while normal installation is through the Setup program.
For an inappropriate example, if you want to pave the lawn, you can spread grass seeds and other grass on that land, or you can buy turf directly. And this layer of turf is equivalent to system packaging.
Using system packaging can shorten the system installation time by NN times, and it only takes 5- 10 minutes to install the system! Compared with normal installation, it saves time greatly.
==========================================================================================
General Ghost system packaging tutorial (full version)
catalogue
First, the preliminary basic work
Second, the system DIY
Third, the system to lose weight (optional)
Fourth, change the system hardware driver (key)
Five, defragment the disk (recommended)
System Packaging of Intransitive Verbs (Recommended)
Seven, make the Ghost system image file.
Make a startup CD.
Nine. appendix
[Edit this paragraph] First, the preliminary basic work
1. Prepare the tools and software needed for packaging.
* Virtual Machine VMware+5.5.3+Simplified Chinese and English Version
*Windows2K/XP/2003 system installation CD (activation-free version recommended)
:: Deployment. CAB (extracted from the system installation CD: \SUPPORT\TOOLS directory)
*SysPacker_ 1.0_RC_4 (system package beta)
*YLMF system DIY Y 1.6 (system information modification tool)
*Drivers.exe (system auxiliary driver package)
*Drvtool.exe (driver selection tool)
*Convert.exe (a tool for converting the system disk into NTFS format, which can be extracted from the Ghost system of YLMF).
*DllCacheManager_V2.0(DLL file backup and recovery tool)
*Font_Fix_ 1.0.exe (font folder slimming program)
*CorePatch.exe (core dual-core CPU patch)
*cfgtool.exe (deep system setup tool)
* Uxthem multi-patch (Neowin version) 4.0.exe (theme cookies)
* ghost _ v8.3 (NTFS partition is only supported after 8.0).
2. System resources to be replaced
* Desktop background wallpaper above 800 * 600 (C: \ Windows \ Web \ wallpaper).
* Background picture during installation (C: \ Windows \ System32) 800 * 600/1024 * 768.
*OEM picture (C: \ Windows \ System32)169 * 60
* user avatar (c: \ documents and settings \ all users \ application data \ Microsoft \ user account pictures \ default pictures) 48 * 48.
* system theme resource package (downloaded according to your own preferences)
3. Pack the required application software.
WinRAR_3.50 Simplified Chinese Version (Compressed File)
ACDSee 10_Crack (image viewing and processing tool)
Foxi reader(PDF reader)
Storm Video 3 Perfect Edition (Media Play Tool)
One-click Ghost 1 1.0 hard disk version (system backup and restore tool)
Office2003(Word, Excle, Powerpoint office software, simplified version recommended)
qq pinyin input method
Pole five-stroke input method
Note: Internet Explorer 7.0, Windows Media Player11.0 and system patch sets can also be prepared as required.
4. Install the operating system
Install the operating system normally, fix the system security patch (it must be installed on drive C, unless you are the Ghost of the whole hard disk, you can't install it in other partitions), upgrade IE6 to IE7, and MP9 to MP 1 1.
The operating system can be installed in two file formats, FAT32 and NTFS. It is suggested to adopt FAT32 file format, because Ghost has a greater compression ratio to FTA32, which can reduce the volume of backup files after production. Another is that FTA32 format can be converted into NTFS after recovery, and it is more troublesome to convert NTFS into FTA32, so it is more flexible to adopt FAT32 file format. Of course, if you carefully look at the differences between MS FAT and NTFS, and between NTFS and Convert NTFS, you should know that "native" NTFS has advantages over converted NTFS in terms of performance and file fragmentation, so it is also recommended that people who pay attention to performance use NTFS file format to install the operating system ("native" refers to partitions formatted directly with NTFS file format, rather than through convert conversion).
For Windows XP, an important issue when making universal clones is system activation. Because Windows XP uses activation mechanism to prevent piracy, when the hardware changes, the system will require reactivation, so it is recommended to use the version of Windows XP that does not need activation, such as the version authorized by large enterprises.
5. create SYSPREP. INF automatic response file (set according to your own needs).
Create steps:
Run the unzipped setupmgr.exe file in the DeployTools.cab directory. Next.
= = => "Create a new file" → Next
= = = & gt“sysprep installation "→ Next.
= = => "Windows XP Professional" → Next
= = => "Yes, fully automatic installation" → Next.
= = => Add Name and Company at will → Next → Next.
= = => Select Beijing for Time Zone → Next.
= = => Product Key → Next
= = => "Automatically generate computer name"
Next = = => Next = => Next = = => Next = = => Next = = => Next = = => Next = = =>
Next = = => Next = => Next = = => Next = = = =>" Done "= = =>" OK "
= = => Click Cancel later.
SYSPREP。 INF is over.
6. Install common application software
Install, register and set up the application software you need, such as Office2003, Winrar, ACDSee 10, FoxitReader, Storm Video 3, QQ Pinyin Input Method, Extreme Five-stroke Input Method, etc.
Note: After repackaging the system with sysprep, the system will restore the relevant settings of the input method to the system default state when the installation is resumed, and the newly installed input method before packaging will not be displayed in the language bar list, so it needs to be added again manually. For this reason, WindowsXP system can make the following settings before the system is packaged: open the control panel, double-click the regional and language options, select Advanced, select "Apply all settings to current user account and default user profile" under the "Default user account settings" box, and then click "OK", so that the input method related settings of the language bar are added to the default profile of the system. After repackaging the system, the newly installed input method can be automatically added to the input method list in the language bar when reinstalling.
7. Install SysPacker_ 1.0_RC_4 intelligent system packaging tool.
[1]. Double-click SysPacker_ 1.0_RC_4 intelligent system packaging tool, and "Next" is enough. It will automatically create a sysprep folder at the root of the current system partition.
[2]. Then copy sysprep.inf, sysprep.inf, setupcl.exe and prepared systems to supplement driver package and Drivers.exe in the decompressed deployment. The CAB folder is copied to the sysprep folder (the directory and files in the directory will be automatically deleted when the system is packaged and installed for the first time).
[3]. Copy the prepared Dllcache.exe and Convert.exe to the C:\Windows\ directory.
At this time, the system can be backed up to prevent operational errors and reinstall the system!
[Edit this paragraph] II. System DIY
1, change the system settings.
[1]. Change the computer name and workgroup name as needed.
[2]. Change the waiting time for system startup to 5 seconds.
[3]. Change your favorite desktop background, and install the background picture and the user's avatar icon; Change IE home page; Change system configuration information, such as OEM logo and security settings.
[4]. Transfer My Documents, Favorites, Desktop and Temporary Folders to the D:\DAKUP directory.
[5]. Change the software installation location to the D:\ Program Files directory.
2. Turn off the automatic enjoyment function of the system (recommended by individual and family users).
Enter regedit in Start → Run, click OK to open the Registry Editor, and expand it in turn:
[HKEY _ Local _ Machine \ System \ Current Control Set \ Service \ lanmanserver \ Parameters] Branch
If it is a server system, set "AutoShareServer" to "0";
If it is a workstation system, just set the DOWRD value "AutoShareWks" to "0".
By default, these two key values do not exist on the host, so you need to add them manually. After modification, restart the machine for the settings to take effect. This operation will not close ipc$***.
3. Open the guest user (recommended by LAN users)
Right-click my computer and select → Administration → System Tools → Local Users and User Groups → Users. Double-click the "Guest" user to open the "Guest Properties" window and cancel the "Account Disabled" option.
4, open the LAN default * * * to enjoy (LAN users recommend this operation)
[1]. Start → Settings → Control Panel → Administrative Tools → Local Security Settings → Local Policy → User Rights Assignment → Access this computer from the network, and click "Add User or Group …" to add the guest user to the list;
[2]. Start → Settings → Control Panel → Administrative Tools → Local Security Settings → Local Policy → User Rights Assignment → Deny access to this computer from the network. Click Add User or Group … to remove the guest user from the list;
[3]. Start → Settings → Control Panel → Administrative Tools → Local Security Settings → Security Options, and set "Network Access: Access and Security Mode of Local Accounts" to "Classic-Local Users Authenticate with Their Own Identity".
5, open the LAN * * * to enjoy the required services (recommended by LAN users)
[1]. Server service;
[2]. "TCP/IP" service;
[3]. "File and printer * * * enjoy" agreement service;
[4]. Start the workstation service;
Note: Let others enjoy the workstation needed by * * *, and provide * * * with the server needed by others.
6. Turn off automatic updates
Right-click My Computer and select Properties → Select the Automatic Update tab → Select Turn off Automatic Update → Click OK.
[Edit this paragraph] III. Total weight loss (optional)
In order to reduce the time required for Ghost to restore mirror backup files, or install as much software as possible on a CD, it is necessary to make Ghost backup files small enough, so we need to carry out a series of weight loss work on the system. Of course, if you don't mind the size of Ghost backup files, there is no need to lose weight on the system.
1. Turn off the system restore function.
Right-click my computer and select Properties → Select the System Restore tab → Select Turn off System Restore on all drives → Click OK.
The system restore function of WindowsXP takes up a lot of disk space and must be turned off to reduce the system size. After turning off System Restore, the contents of the system volume information directory in the root directory of the system partition will be emptied immediately, so you can also turn on this function after turning off System Restore.
2. Turn off system hibernation
Right-click a blank area on the desktop → Select Properties to open the Display Properties window → Select the Screen Saver tab → Click the Power (O)… button → Select the Hibernation tab → Uncheck the check box before enabling Hibernation (H).
The hibernation function of WindowsXP, like system restore, takes up a lot of disk space, and the hibernation function takes up the size of system partition and the space of physical memory.
3. Transfer the virtual memory page file
Open the control panel → double-click the system → select the advanced tab in the system property panel → click the settings in the performance box → select advanced → click the change in the virtual memory box → select the current system partition C→ select the custom size → set the initial size and the maximum value to 0 → then select the partition where the page file needs to be stored (such as D:, etc.).
The virtual memory page file Pagefile.sys is generally located in the root directory of the system partition, and the default setting size is 65438+ 0.5 times of physical memory. It is a stubborn hidden file that is difficult to delete, so it is best to transfer it to other partitions outside the system partition to reduce the volume of the system partition.
If you clone the system with Ghost version above 8.0, you can actually omit this item, because Ghost version above 8.0 can automatically delete the virtual memory page file pagefile.sys when making mirror files.
4. Clean the disk and delete the temporary files of the system and IE (you can use the "system cleaning" operation in DIY of YLMF system).
The following are the manual operation steps:
[1]. Run Disk Cleaner to delete temporary system files.
Start → Programs → Accessories → System Tools → Disk Cleaning → Select Drive → OK → Disk Cleaning → Select Delete File → OK.
[2]. Delete IE temporary files and history.
Open IE→ Tools → Internet Options → General → Delete Cookies(I)→ OK → Delete files (F) → OK → Delete history (H) → OK → OK.
[3]. Delete recently used document records.
Start → Settings → Taskbar and [Start] Menu (T) →[ Start] Menu → [Start] Menu (S) → Customize (C) → Advanced → Clear List (C) → OK.
[4]. Delete the following directories or files (delete directories without *): (optional)
C:\windows\$* (all directories start with $ sign, and patches are installed in reverse, about 70M).
C:\windows\*。 Log (not big, but too many, which makes me unhappy).
C:\windows\pchealth (please copy helpctr\binaries\msconfig.exe to the system32 directory before deleting) Help Support Center, 30M.
C:\Windows\help, except for digital files such as Help\Tours\mmTour\tour.exe and agt0*. Hlp, all file names are capitalized, and all others are deleted. Help file, 30M
C:\windows\temp\* Usually not.
C: \ Windows \ Downloaded Installations \ * MSI program left some garbage after installation.
C:\windows\resources\themes\* (It is recommended to keep Classic as the classic theme and Luna. The theme is XP theme 8M. )
C: \ windows \ srchast (except mui directory)
C: \ Windows \ msgent (delete everything except intl directory)
C: \ Windows \ Software Distribution \ Download \ * (temporary storage point for downloading patches) is about 60M.
C:\windows\system32\oobe activation program (we all use activation-free XP, which is unnecessary) 8M.
C:\windows\web\wallpaper\* wallpaper, just leave a nice bliss.bmp, or delete it all. 2M
*. Record under C:\windows\debug.
c:\ windows \ system32 \ reinstall back
C:\windows\system32\urttemp
C: \ program files \ windows nt \ pinball, deleted. Remember to delete the connection 5M from the start menu.
C:\program files\movie maker all deleted, 10M, garbage. Remember to delete the connection from the start menu.
C:\program files\messenger MSN
C:\program files\msn gaming zone Microsoft games, rubbish.
C: \ program files \ InstallShield installation information \ * garbage left by the installation program.
C: \ program files \ windows update \ * garbage left by XP upgrade.
[5]. Delete redundant fonts, redundant languages, redundant mouse schemes, redundant user avatars and redundant wallpaper. ...
[6]. Check whether the folder C:\WINDOWS\Driver Cache\i386 has been optimized. If it has been optimized, please copy to this directory again.
[Edit this paragraph] 4. Change the system hardware driver (key)
Note: When you uninstall some hardware, the computer will prompt you to restart the computer. Be sure to select "Don't restart the computer".
1, uninstall the hardware driver (pay attention to the order)
In Control Panel → System → Hardware → Device Manager:
[1]. Uninstall the network adapter.
[2]. Uninstall the universal serial bus controller
[3]. Uninstall the sound, video and game controllers.
[4]. Uninstall the floppy controller.
[5]. Uninstall the keyboard
[6]. Uninstall "Port"
[7]. Unmount the disk drive
[8]. Uninstall SCSI and raid devices.
[9]. Uninstall "Processor"
[10]. Uninstall the Graphics Card.
[1 1]. Remove the battery.
2, change the computer power management mode
In Control Panel → System → Hardware → Device Manager:
Right-click Advanced Configuration Power Interface (ACPI) under the computer → Select Change Driver → Select Install from List or Designated Location (Advanced) → Click Next → Select No Search. I want to install the driver myself "→ Click Next → Select the standard PC → Click Next → The hardware manager will automatically install the driver of the standard PC → After that, the computer will prompt to restart, so I choose No to not start → Finish the confirmation.
Description of change: If the new machine and the mother machine are not the same model of ACPI, your newly cloned machine will not be able to realize soft shutdown or system crash, and must be changed to a compatible standard PC mode. Generally, older computers only have standard pc options, but now most computers are advanced configuration power interface (acpi), and new computers after 2003 are ACPI single-processor PCs.
3. change the IDE ATA/ATAPI controller to "standard dual-channel PCI IDE controller"
In Control Panel → System → Hardware → Device Manager:
Right-click "Intel(r)" under "IDE ATA/ATAPI Controller" 8280 1babus Main IDE Controller (note: different motherboards will display differently) → Select Change Driver → Select Install from List or Designated Location (Advanced) in the pop-up Hardware Update Wizard dialog box → Click Next → Select No Search. I want to install the driver myself "→ Click Next → Select" Standard Dual-Channel PCI IDE Controller "→ Click Next → The hardware manager will automatically install the driver of the standard dual-channel PCI IDE controller → After that, the computer will prompt to restart, and choose No to not start → Finish the confirmation.
Do not process the "main IDE channel".
Description of change: This step is the main key step. If you don't do it, the system won't start when Ghost goes to another machine. Therefore, in order to adapt to all kinds of motherboards, IDE controller must be changed to "standard dual-channel PCI IDE controller".
Note: SysPacker_ 1.0 system packaging tool has built-in functions of "changing computer power management mode" and "changing IDE ATA/ATAPI controller", so these two steps can be omitted when packaging with SysPacker_ 1.0, but you must enter the device manager after system packaging to see whether the change is successful or not.
[Edit this paragraph] V. Defragment the disk (recommended)
After completing the above work, you must defragment the disk to ensure that there are no file fragments on the system partition, and the benefits are self-evident. Of course, this step can also be performed after the system is packaged, or it can be performed again after the system is packaged.
At this point, if you want Ghost, you can already do it. However, in order to install the hardware driver of the clone system more accurately and run more stably, we need to repackage the system with Sysprep.exe in Microsoft's enterprise deployment toolkit DEPLOY. CAB, so that after restoring the GHO file, the system will reinstall all the new hardware drivers at the first startup, effectively avoiding the instability of the universal cloning system.
[Edit this paragraph] VI. System package (recommended)
1. Run SysPacker.exe in the directory C:\ SysPacker.
In this software:
[1]. Packaging option: Select None.
[2]. Deployment Options: Select All
[3]. "Process to run before system deployment"
C:\Sysprep\drivers.exe /silent (the path can be specified by yourself).
[4]. "Programs to run when deploying the system"
c:\ Windows \ system32 \ dllcache . exe/restore
[5]. Set the background screen when the system is redeployed, which can be set to C: \ Windows C: \ Windows \ System32 \ setup.bmp.
[6]. Select "Error Detection" in the lower right corner of the current window, and a dialog box "No error found during error detection" will pop up.
[7]. You can press the "Pack" button to pack the system → "OK", and then click "OK →" Pack ".
[8]. Then "System Preparation Tool 2.0" pops up, and directly click the "Repackage" button on the dialog box. After about half a minute, the system will be repackaged.
Pay attention to the option setting when packaging: among the four options in the system packaging screen, the second option "Use minimum installation", that is, the installation item with no remaining drivers, is exactly what we need, so we must choose it. The first item "grace period for not resetting activation" and the third item "not regenerating security identifier" are used by genuine users for activation, but we use the activation-free version, so it doesn't matter whether these two items are selected or not, and the use of the system will not be affected after GHOST cloning. The fourth option "Detect non-plug and play hardware" is not required. The shutdown mode can be selected as required, so it is recommended to select "Exit" for the next DllCache directory file backup. * After setting the options, you can click the "repackage" button, and the system will repackage in about half a minute.
[9]. Packaging is complete.
Sypacker _ 1.0 can automatically detect the HAL type of hardware abstraction layer, and realize the automatic identification and change of power mode. Because the packaging tool of Sypacker _1.0 intelligent system adopts longhorn's detecthal technology, the accuracy of hal can reach 100%, and it can directly enter the packaging process, which is fast and does not need to restart the computer many times.
Note: Windows2k/XP/2003 system installation disk has its own packaging tool, but it is not universal!
2. Use DllCacheManager to back up DllCache directory files (dll files).
Double-click C:\sysprep\Dllcache.exe, put a check in the box before "Delete yourself during recovery" (click), and then click "Backup".
Because after backing up the DllCache directory file (dll file), the system reduces the disk space occupation by about 300M, so it is best to defragment the disk again at this time.
3. Complete the packaging.
After completing the above steps, the system in drive C is already a repackaged clean system. At this point, even if the whole packaging system is completed, you can turn off the computer (be careful not to start the packaged system, if you restart it, the newly completed packaging system will resume installation, and the above work will be in vain). The next work is to start the computer with DOS and make the clean system into a Ghost image file for installation.
[Edit this paragraph] VII. Create a Ghost system image file.
1, enter the Ghost backup system:
Use CD high Ghost 1 1 to start the computer to run ghost, select "local → partition → to mirror" in the menu in turn, select the first partition of the hard disk (drive C) in the pop-up dialog box, set the storage path and file name of the image file, such as "D:\ghost\winxp.gho", and then select the compression method.
If you want to make a universal clone that can install more software, then the image file is likely to exceed the capacity of a CD-ROM. At this time, you can use the Ghost partition compression function. For example, if you want to set the partition size to 650MB, you can enter the command "Ghost -split=650" to run Ghost, and the subsequent operations are no different from those described above.
2. Use the command to back up the system:
First, use the boot CD with DOS to enter DOS, enter the following command, and then press ENTER.
D:\ ghost 1 1 \ ghost . exe–clone,mode=pdump,src= 1: 1,dst = D:\ win XP . gho–z9
Note: Ghost _ V8.3 is recommended. V 1 1.0 version, on the one hand, versions above v8.0 can support NTFS partition, on the other hand, versions above v8.0 can automatically delete the virtual memory page file "pagefile.sys" when making image files, thus reducing the volume of image files.
[Edit this paragraph] VIII. Make a startup CD
1. Use the Chinese version of AutoPlay Media Studio 6.0 to make a program that runs automatically under WINDOWS.
2. Use EasyBoot_5. 10_YlmF.exe to make the startup CD.
There are many tutorials for making startup CDs, so I won't go into details here!
-
Software and download address needed in the production process:
Xpsp1deploytools _ cn ... download (user name, password user, please do not modify)
Driver package1.0 ....................................................../downinfo/657.html
Driver package 2.0 (extracted from ghost XPY3.5)
Font folder slimming plan1.0 .../job-ylmf-action-download-PID-TPC-tid-369489-aid-347397.html.
Dllcache backup recovery program ............./job-ylmf-action-download-PID-TPC-tid-217839-aid-355052.html.
System optimizer DIY1.6 ........................................................./downinfo/793.html
YlmF SysPacker 2. 1.7 . 3 1 ………………/ downfo/95 1 . html
Convert the system disk to NTFS tool ............................/read-ylmf-tid-421848.html.
Software and download address needed to make the startup CD:
EasyBoot V5. 10 Rainforest Woodpipe Edition .............................. /downinfo/309.html
Chinese version of AutoPlay Media Studio 6.0 (for making AutoPlay CD) ............................................................................................../downinfo/818.html.
Winimage V8.10.8100 Chinese version ……………………………/soft/281.html #