Teach you to create a secure recovery U disk

  
        

Method 1: Create a hidden partition to store the system backup

We can use PQ to partition the flash memory under DOS and use a special partition to store the system backup. Here, the method of PQ partitioning is different from the mass production of flash memory. The partitions drawn under DOS are not recognized under Windows XP (but Ghost can be recognized under DOS). Therefore, even if the flash saves the system backup, we can safely lend it to others. If it is infected with a virus, we can even format the flash in Windows XP, but the system backup will not be lost!

Step 1: Make the boot flash and start the computer to pure DOS. After starting PQ, select “First Hard Disk” (that is, flash memory). Select the flash partition right-click and select "Adjust partition capacity", and follow the prompts to draw the appropriate capacity, such as Windows XP backup generally only 3GB space. Finally, select the marked space and create a logical partition in FAT32 format and format it as prompted. Run Ghost and follow the prompts to back up the current system to the above partition. The file name is sys.gho.

Step 2: Restart into Windows, start the Notepad program and create a new autoexec.bat batch file, which is saved in the root directory of the flash. The file code is as follows;

C:Ghost.exe - Clone,mode=pload,src=1:2sys.gho:1,dst=2:1 -auto -sure -fro -fx –rb

Description: C:Ghost.exe means running the first partition of the flash Ghost in the root directory (you need to copy ghost.exe to this). Src=1:2sys.gho:1 indicates that the image file to be restored is the first hard disk, and the sys.gho file in the second partition (that is, PQ created). Dst=2:1 means to restore sys.gho to the first partition of the second hard disk (that is, the system partition where XP is located), because it is booted by flash memory, and the first hard disk is flash memory. Other parameters indicate that there is no need to confirm restarting the system after recovery.

The third step: OK, so if you need to restore the system later, we just need to insert the flash memory, then set the USB device to the first boot in the BIOS, and the rest of the operations are handed over to the computer to complete automatically.

Note: The above partitions classified by PQ cannot be identified in Windows. If you need to recycle this space later, you can use Ghost32. First, prepare a small-capacity GHO file, and execute the “local→disk→from image” operation after Windows starts Ghost32. The above image can be restored to the flash memory to delete the partition.

Method 2: Create a special folder to store the system backup

DOS operation is obviously cumbersome. For friends who are not used to command line operations, you can use special folders in the PE to store system backups and Automatic recovery system.

The first step: first make the boot flash, then use Ghost32 in Windows XP to restore the above PE image to the flash, so that you can use the flash to boot to the PE.

Step 2: At the Windows XP boot command prompt, type "md u:g.." (U: indicates the drive letter of the flash) command to create a name called "g.." in the root directory of the flash. Special folder. This folder cannot be accessed directly or deleted. An error message will pop up when forcibly accessing.

Step 3: Same as above, continue to enter the "copy d:sys.gho u:g.." command at the command prompt to copy the prepared system backup (assume d:sys.gho) Go to the special folder of the flash. Since the folder is inaccessible by default (and cannot be deleted), using it to store system backups is a good way to secure files. Then start the Notepad program to create a new sys.bat batch file, saved in the root directory of the flash, the code is as follows:

U:Ghost32.exe -clone,mode=pload,src=1:1g..sys .gho:1,dst=2:1 -auto -sure -fro –fx

Description: The special folder cannot be accessed by double-clicking by default. Here you can access it directly via the command line, src=1:1g..sys .gho:1 means the image file is under "g.." (two symbols).

Step 4: OK, if you want to restore the system later, use flash to boot to PE, just run sys.bat batch to automatically restore the system.

Note: If you want to delete the special folder, you can type "rd /su:g.." at the command prompt. If you want to use Ghost to restore the system under DOS, "g.." special file The name under DOS is different from that under Windows (can be obtained using the DIR command).

Summary: Since flash memory is often borrowed by friends, the above two methods can effectively protect the security of backup files. You may wish to choose the most appropriate method to protect backup files according to your actual situation.

Copyright © Windows knowledge All Rights Reserved