China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-29 15:43
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » [Share] Principle of One-key Recovery DigestI View 5,296 Replies 3
Original Poster Posted 2004-06-21 00:00 ·  中国 河北 廊坊 电信
中级用户
★★
Javaing...
Credits 483
Posts 88
Joined 2003-10-19 00:00
22-year member
UID 11495
Gender Male
Status Offline
The core of the "one-click recovery" technology lies in the boot of the backup partition system.

When a computer starts, it always boots the activated primary partition through the MBR (on the same hard drive, there can be at most three primary partitions). As long as a specific program is resident in the MBR, it can control which partition is activated and which system is booted.

Set two primary partitions on the same hard drive, one with Windows XP and the other with DOS. When Windows XP crashes, activate the partition where the DOS system is located. Through the two files CONFIG.SYS and AUTOEXEC.BAT, the GHOST image file is automatically loaded to the partition, and the recovery function is completed.

According to the structure of the hard drive, the location of the backup partition should be the last partition of the entire hard drive. Because this is an area where the magnetic head is not often accessed, far from the system partition, it is not easy to generate bad sectors, ensuring the safety of the backup file. This puts higher requirements on the DOS system used for backup. Usually, the DOS system must be installed in the first primary partition of the hard drive, but the current condition requires that the DOS system must be installed in the last primary partition. Such a DOS system can only rely on MS-DOS 7.0 (the DOS under Windows 98). At the same time, the file system of the partition where DOS is located must be in FAT32 format.

The system we use now is mostly Windows XP, plus necessary drivers, common application software, etc., and its size is also more than 2GB. Using GHOST for high compression (up to about 50%), the image file is about more than 1GB. In order to ensure the security of data, the size of the backup area should be about 2GB. If you want to back up multiple systems, you must tailor it to determine the corresponding space size.

And in order to further protect the backed-up data, it is required that the partition is visible during system recovery and invisible at ordinary times, whether in DOS or in Windows.

In fact, this is exactly the principle and hardware setting requirements of IBM's dedicated recovery program BMGR. The recovery program BMGR is resident in the MBR, and the following prompt will be given when booting:

To Start the IBM Product Recovery Program, press F11

Press the F11 key within 2 seconds after this prompt appears, and the recovery system (the above-mentioned DOS system) can be activated to perform automatic system recovery. And after restarting the computer, the partition is hidden again.

The principle of "one-click recovery" is completed here.
@_@ 行动就有收获!

QQ:170759292
Floor 2 Posted 2004-06-21 00:00 ·  中国 湖南 株洲 电信
中级用户
★★
Credits 397
Posts 64
Joined 2004-04-18 00:00
22-year member
UID 22767
Gender Male
Status Offline
When I tried this "one - key recovery", if I boot from the service area, it always hides the entire extended partition. I don't know why it hides the extended partition.

If that's the case, then I can't use "one - key recovery" to back up and restore the operating system installed in the logical partition.

Using the boot management function in SPFDISK won't have this problem. I personally think the boot management in SPFDISK is more user - friendly.
Floor 3 Posted 2004-06-21 00:00 ·  中国 河北 廊坊 电信
中级用户
★★
Javaing...
Credits 483
Posts 88
Joined 2003-10-19 00:00
22-year member
UID 11495
Gender Male
Status Offline
I know there is this situation, maybe for data security. It seems that it can't be perfect. The remedy is to use GDISK to display the logical partitions.
@_@ 行动就有收获!

QQ:170759292
Floor 4 Posted 2004-06-21 00:00 ·  中国 湖南 衡阳 电信
初级用户
Credits 196
Posts 20
Joined 2004-06-20 00:00
22-year member
UID 27126
Gender Male
Status Offline
You can also directly modify the information in the partition table. As long as you understand the meaning of the information in the table, you can modify it however you want.
Forum Jump: