|  | 
 
| 一键还原或者说一键恢复的软件很多,论坛上也有很多很优秀的软件,可能很多人现在还在用,比如lianjiang、gmy、天风、阿文这些老大们的作品都已经很成熟。 所以发这个帖子的原因,只是个人觉得C大的ghostid的功能相当好,只是一个新的东西都可能存在一些未知的问题,所以希望大家一起测试,让C大完善它。
 下面是一些利用ghostid实现分区判断的方法,没什么技术含量,抛砖引玉罢了。
 
 MENU.LST内容
 timeout 30
 default 0
 gfxmenu /boot/message
 configfile
 title 【 01 】重新启动
 reboot
 title 【 02 】恢复系统
 map --mem /boot/backup.img (fd0)
 map --hook
 #硬盘上查找/sowind/warning.sys
 find --ignore-cd --ignore-floppies /sowind/warning.sys (bd)/boot/ghostid
 dd if=(md) of=(fd0)/bd.bat bs=1 count=5 skip=0x4FF00 seek=0x11
 find --ignore-cd --ignore-floppies /boot/WTool.lst (bd)/boot/ghostid
 dd if=(md) of=(fd0)/sd.bat bs=1 count=5 skip=0x4FF00 seek=0x11
 chainloader (fd0)+1
 rootnoverify (fd0)
 
 title 【 03 】备份系统
 map --mem /boot/backup.img (fd0)
 map --hook
 #硬盘上查找/sowind/warning.sys
 find --ignore-cd --ignore-floppies /sowind/warning.sys (bd)/boot/ghostid
 dd if=(md) of=(fd0)/bd.bat bs=1 count=5 skip=0x4FF00 seek=0x11
 find --ignore-cd --ignore-floppies /boot/WTool.lst (bd)/boot/ghostid
 dd if=(md) of=(fd0)/sd.bat bs=1 count=5 skip=0x4FF00 seek=0x11
 cat --locate="rst" --replace=bak --skip=43 (fd0)/autoexec.bat
 chainloader (fd0)+1
 rootnoverify (fd0)
 title 【 04 】启动工具箱
 errorcheck off
 configfile /boot/WTool.lst
 configfile /WTool.lst
 find --set-root --ignore-floppies --ignore-cd /WTool.lst && configfile /WTool.lst
 find --set-root --ignore-floppies --ignore-cd /boot/WTool.lst && configfile /boot/WTool.lst
 errorcheck on
 commandline
 
 autoexec.bat的内容
 @echo off
 path=a:\;C:\;C:\DOS\;C:\GHOST
 call rst.bat
 
 sd.bat的内容
 @ECHO OFF
 set S=+::--
 
 bd.bat的内容
 @ECHO OFF
 set B=+::--
 
 rst.bat的内容
 @ECHO OFF
 CALL SD.BAT
 CALL BD.BAT
 GHOST -clone,mode=pload,src=%B%:\Sowind\sowind.wzs:1,dst=%S% -fro -nousb -noide -crcignore -sure -rb
 CLS
 func -r
 ::恢复系统
 
 根据C大的2010.01.15修改版修正,下载地址已修正:
 
 http://u.115.com/file/f1dc9fbc26
 一键还原6.0.rar
 
 [ 本帖最后由 sowind 于 2010-2-19 16:39 编辑 ]
 | 
 |