|
menu.lst文件
timeout 30
default /default
# 设置图形背景文件
splashimage (hd0,0)/img/xpmm.gz
# 设置中文支持的字体文件
fontfile /FONTS.GZ
#背景颜色设置
color black/cyan yellow/cyan
title [ 1 ] 一键备份
find --set-root /xghost.img
debug off
map --mem /xghost.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
savedefault
title [ 2 ]一键还原
find --set-root /xghost.img
debug off
map --mem /xghost.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
savedefault
AUTOEXEC.bat文件
:RESTORE
还原系统
goto quit_1
:BACKUP1
ghost -clone,mode=pdump,src=1:1,dst=d:\winxp.gho -sure -rb
怎么利用一个xghost.img 又能备份系统又能还原的系统镜像,里面要写什么样的代码呢
[ 本帖最后由 2011xiaochi 于 2011-3-2 18:31 编辑 ] |
|