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 11:07
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » Ask: How is the GHOST8.3.img image made? View 1,552 Replies 6
Original Poster Posted 2007-11-25 20:05 ·  中国 辽宁 沈阳 联通
新手上路
Credits 8
Posts 3
Joined 2007-11-25 01:28
18-year member
UID 103675
Gender Male
Status Offline
I want to make a pure GHOST8.3.img. After burning it into a bootable CD with EasyBoot, as soon as I select and execute this item, I immediately enter the DOS startup interface of Ghost8.3 and support the mouse driver. I don't need too many functions. I haven't succeeded after doing it many times. Which expert can take a look at what's wrong with what I did below, thank you!

1. Extract these files from the win98 IMG file:
io.sys、
command.com、
msodos.sys、
autoexec.bat、
config.sys、
himem.sys、
mouse.com
Also prepare the executable file ghost.exe (version 8.3)

2. Modify the contents of autoexec.bat and config.sys as follows and save.
Contents of autoexec.bat:
@ECHO OFF
path=a:\
mouse
ghost

Contents of config.sys:
device=himem.sys /testmemff
files=60
buffers=20
dos=high,umb
stacks=9,256
lastdrive=z

3. Run WinImage, create a new 2.88M IMG file, then click "Image" → "Add", add io.sys, command.com, msdos.sys, autoexec.bat, config.sys, himem.sys, ghost.exe these files into this IMG file, because the mouse is needed, so also add the mouse.com file. Save as ghost.IMA.

4. After burning ghost.IMA into a bootable CD with EasyBoot, when restarting to boot into WinXP, the following appears:
starting windows 98……
xxxxxxxx…… (all in English)
Not ready writing drive A
Abort,Retry,Fail?
When pressing the "A" key on the keyboard, it enters ghost.exe, otherwise it can't enter. I don't know the reason?
Can you give some pointers? Thank you!
Floor 2 Posted 2007-11-26 00:16 ·  中国 辽宁 沈阳 联通
新手上路
Credits 8
Posts 3
Joined 2007-11-25 01:28
18-year member
UID 103675
Gender Male
Status Offline
I tried to make a ghost.img image again that supports CD-ROM and mouse.
The files are:
1、AUTOEXEC.BAT
2、CONFIG.SYS
3、COMMAND.COM
4、HIMEM.SYS
5、IO.SYS
6、MSDOS.SYS
7、MOUSE.COM
8、MOUSE.INI
9、MSCDEX.EXE
10、ghost.exe
11、OAKCDROM.SYS

Writing the batch file in AUTOEXEC.BAT:

@echo off
MOUSE.COM
mscdex.exe /D: /L:
GHOST.EXE

if NOT "%CONFIG%" == "NONE" GUEST


Writing the batch file in CONFIG.SYS:

device=himem.sys
device=oakcdrom.sys /D:mscd001
files=60
buffers=20
dos=high,umb
stacks=9,256
lastdrive=z

Saved as 8.3 version GHOST83.IMA and GHOST83.IMG with WinImage, and made into a bootable CD with EasyBoot. Then I found that GHOST83.IMA supports the mouse and works normally; but GHOST83.IMG can't be called; the extensions are different, why can one be used but the other can't?
Floor 3 Posted 2007-11-26 00:54 ·  中国 上海 松江区 电信
铂金会员
★★★★
DOS一根葱
Credits 5,493
Posts 2,315
Joined 2006-05-01 10:41
20-year member
UID 54766
Gender Male
From 上海
Status Offline
device=himem.sys /testmem:off /q

The key is because the img you made does not contain bootable information, that is, the MBR of the img.

Method:
Run winimage, create a 2.88M IMG file, then press the Alt+I+B combination key to pop up the boot sector properties dialog box, press Windows 95/98 to confirm, and then add your files.

Autoexec.bat
@echo off
MOUSE.COM
mscdex.exe /D: /L:
findcd.exe
echo CD-ROM is %CDROM%
GHOST.EXE

Please search for findcd.exe in the forum.
第一高手 第二高手

Floor 4 Posted 2007-11-26 22:01 ·  中国 辽宁 辽阳 联通
初级用户
★★
DOS之迷
Credits 174
Posts 81
Joined 2007-11-07 21:13
18-year member
UID 102004
Gender Male
Status Offline
Not ready writing drive A
Abort,Retry,Fail?
Drive A not found
Do you want to Abort, Retry, or Fail?
There is the simplest image file of 400KB in the Computer Company GHOST.
I can send it to you if you need it!

If you want to write your own image, you can refer to this IMG file for production. It is in all files except GHOST.
ghost.exe is stored in the root directory of the CD.
CONFIG content
device=himem.sys /testmem:off
DEVICEHIGH=VIDE-CDD.SYS /D:mscd000
DEVICEHIGH=ASPICD.SYS /D:mscd000
files=10
buffers=10
dos=high,umb
stacks=9,256
devicehigh=ramdrive.sys /E 4096
lastdrive=z

AUTOEXEC content
@ECHO OFF
LH MSCDEX.EXE /D:mscd000>nul
findcd /s>nul
call findcdr "ghost.exe" C D E F G H I J K L M N O P Q R S T U V W X Y Z
%CDROM%:
mouse.exe
ghost.exe -crcignore -fro -fx
ezboot.com

[ Last edited by loveheartrain on 2007-11-26 at 10:15 PM ]
愛意之无尽@灵犀!
QQ:71216716 E_mail:l.h.r.@163.com
Floor 5 Posted 2007-11-27 10:25 ·  中国 辽宁 沈阳 联通
新手上路
Credits 8
Posts 3
Joined 2007-11-25 01:28
18-year member
UID 103675
Gender Male
Status Offline
Thanks to the two upstairs, it's really done, hehe!
Floor 6 Posted 2007-11-29 09:20 ·  中国 北京 中国中信股份有限公司
新手上路
Credits 15
Posts 9
Joined 2007-11-27 09:43
18-year member
UID 103906
Gender Male
From 湖北
Status Offline
Haven't tried it. Don't know if it can be used.
Floor 7 Posted 2007-12-10 12:33 ·  中国 河北 唐山 迁西县 联通
银牌会员
★★★
Credits 1,148
Posts 514
Joined 2007-06-01 12:51
19-year member
UID 89959
Gender Male
From 河北
Status Offline
Thunderbolt search winimg
Forum Jump: