中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-06 09:00
47,812 topics / 349,914 posts / today 0 new / 48,268 members
DOS启动盘 & LOGO技术 (启动盘室) » Moderators and experts, help me solve a DOS problem with Ghost
Printable Version  1,482 / 7
Floor1 walu Posted 2003-06-08 00:00
高级用户 Posts 201 Credits 916
I want to use Ghost to back up and restore the system, that is, on a Win98 boot disk keep only command.com, drvspace.bin, IO.SYS, msdos.sys, autoexec.bat, config.sys, himem.sys, plus Ghost.exe. I already know that the command for backing up the system with Ghost is like this: Ghost.exe -CLONE,MODE=PDUMP,SRC=1:1,DST=WINXP.gho -Z9 -RB
and for restoring the system it is: ghost -clone,mode=pload,src=c:winxp.gho:1,dst=1:1 -RB
Now I want to use the autoexec.bat and config.sys files to make selectable options like on a Win98 boot disk, where choosing the first item corresponds to backing up the system, and choosing the second item corresponds to restoring the system. I've tried writing it over and over and just can't get it done. Experts, please help me write the contents of autoexec.bat and config.sys so I can achieve this. Thank you!
Floor2 如是大师 Posted 2003-06-08 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
Look back through the older posts, there is LK's Ghost boot disk. Study that one.
Floor3 walu Posted 2003-06-08 00:00
高级用户 Posts 201 Credits 916
I searched, but just can't find LK's Ghost boot disk. Could you give me the link?
Floor4 chenall Posted 2003-06-08 00:00
银牌会员 Posts 469 Credits 1,276 From 福建泉州
config.sys


menuitem=bf,Beifen ;Backup menu. bf and Beifen can be customized, but bf must correspond to the bf below.
menuitem=hy,huanyuan ;Restore menu.
menudefault=bf,5 ;By default, if nothing is selected, it will automatically start the backup menu after 5 seconds

;Corresponds to the bf above

;Corresponds to the hy above


device=himem.sys ;Load himem.sys

autoexec.bat
@echo off
goto %config%

:bf
Ghost.exe -CLONE,MODE=PDUMP,SRC=1:1,DST=d:\WINXP.gho -Z9 -RB
goto end

:hy
ghost -clone,mode=pload,src=d:\winxp.gho:1,dst=1:1 -RB
goto end

:end
Floor5 walu Posted 2003-06-09 00:00
高级用户 Posts 201 Credits 916
Thanks, chenall! Finally got it working!
Floor6 dos时代菜鸟 Posted 2003-06-13 00:00
初级用户 Posts 216 Credits 672
At http://zql3322.3322.net, under DOS tools, there is one I made myself, with Chinese display. Take a look.
Floor7 walu Posted 2003-06-14 00:00
高级用户 Posts 201 Credits 916
There really are experts everywhere here! Brother dos时代菜鸟 is even better!
Brother dos时代菜鸟, in that tool of yours, can you add a setting like “by default, if nothing is selected, after 5 seconds it will automatically choose the first item, backup”? Please let me know how to modify it.
Floor8 walu Posted 2003-06-15 00:00
高级用户 Posts 201 Credits 916
Master Newbie, have you come?
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023