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-23 01:08
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » Moderators and experts, help me solve a DOS problem with Ghost View 1,412 Replies 7
Original Poster Posted 2003-06-08 00:00 ·  中国 广东 河源 电信
高级用户
★★
Credits 916
Posts 201
Joined 2003-05-04 00:00
23-year member
UID 1849
Gender Male
Status Offline
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!
Floor 2 Posted 2003-06-08 00:00 ·  中国 湖北 武汉 蔡甸区 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
Look back through the older posts, there is LK's Ghost boot disk. Study that one.
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 3 Posted 2003-06-08 00:00 ·  中国 广东 河源 电信
高级用户
★★
Credits 916
Posts 201
Joined 2003-05-04 00:00
23-year member
UID 1849
Gender Male
Status Offline
I searched, but just can't find LK's Ghost boot disk. Could you give me the link?
Floor 4 Posted 2003-06-08 00:00 ·  中国 福建 泉州 电信
银牌会员
★★★
Credits 1,276
Posts 469
Joined 2002-12-23 13:00
23-year member
UID 586
Gender Male
From 福建泉州
Status Offline
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
QQ:366840202
http://chenall.net
Floor 5 Posted 2003-06-09 00:00 ·  中国 广东 河源 电信
高级用户
★★
Credits 916
Posts 201
Joined 2003-05-04 00:00
23-year member
UID 1849
Gender Male
Status Offline
Thanks, chenall! Finally got it working!
Floor 6 Posted 2003-06-13 00:00 ·  中国 辽宁 葫芦岛 联通
初级用户
★★
Credits 672
Posts 216
Joined 2003-06-12 00:00
23-year member
UID 4976
Gender Female
Status Offline
At http://zql3322.3322.net, under DOS tools, there is one I made myself, with Chinese display. Take a look.
我是女孩,我怕谁?
Floor 7 Posted 2003-06-14 00:00 ·  中国 广东 河源 电信
高级用户
★★
Credits 916
Posts 201
Joined 2003-05-04 00:00
23-year member
UID 1849
Gender Male
Status Offline
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.
Floor 8 Posted 2003-06-15 00:00 ·  中国 广东 河源 电信
高级用户
★★
Credits 916
Posts 201
Joined 2003-05-04 00:00
23-year member
UID 1849
Gender Male
Status Offline
Master Newbie, have you come?
Forum Jump: