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技术 (启动盘室) » A Question I Can't Figure Out View 2,345 Replies 18
Original Poster Posted 2003-05-24 00:00 ·  中国 河南 郑州 联通
初级用户
Apple
Credits 121
Posts 8
Joined 2003-05-08 00:00
23-year member
UID 1944
Gender Male
Status Offline
The files inside a bootable ghost2003 are:
autoexec.bat
command.com
ibmbio.com
ibmdos.com
mouse.com
mouse.ini
and a folder named ghost, with ghostpe.exe inside it.
If I read it with WinImage and make it into an img, it can boot and run, but if I extract this img onto the hard disk and then make it into an img again, it can no longer boot. Why is that???
After booting it says:
Floor 2 Posted 2003-05-24 00:00 ·  中国 北京 263网络通信股份有限公司
银牌会员
★★★
nre
Credits 1,210
Posts 361
Joined 2002-12-28 00:00
23-year member
UID 629
Gender Male
Status Offline
What do you mean by making it into an IMG again? You mean after putting the extracted files into a new 1.44 image and saving it, it can't boot?

Did you save the boot sector of the original IMG?

Teamwork !
Floor 3 Posted 2003-05-25 00:00 ·  中国 湖北 武汉 蔡甸区 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
The boot information was lost... Try it with a Win98 boot disk... same thing...
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 4 Posted 2003-05-25 00:00 ·  中国 上海 电信
金牌会员
★★★★
小飞侠
Credits 4,590
Posts 1,812
Joined 2003-04-02 00:00
23-year member
UID 1400
Gender Male
From 上海市
Status Offline
Just copy ghost directly to drive C, then shut down and switch to DOS,
type ghost and that's it!
Floor 5 Posted 2003-05-25 00:00 ·  中国 河南 郑州 联通
初级用户
Apple
Credits 121
Posts 8
Joined 2003-05-08 00:00
23-year member
UID 1944
Gender Male
Status Offline
Sorry, maybe I didn't explain it clearly. I made the img for a bootable CD. Just like nre said, if I copy these files into the img it can't boot. You said I need to save the boot sector of the original IMG??? How do I save it?
If I copy these files from the hard disk into the img, then how can I make it boot?
Floor 6 Posted 2003-05-25 00:00 ·  中国 北京 科技网
银牌会员
★★★
颓废青年
Credits 2,265
Posts 721
Joined 2003-05-12 00:00
23-year member
UID 2032
Gender Male
Status Offline
Please use winimage to modify the contents of the img file. That way it won't affect the boot information!
Floor 7 Posted 2003-05-25 00:00 ·  中国 湖北 武汉 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
That is, use winimage to read it in -> modify -> write it out ->
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 8 Posted 2003-05-25 00:00 ·  中国 河南 郑州 联通
初级用户
Apple
Credits 121
Posts 8
Joined 2003-05-08 00:00
23-year member
UID 1944
Gender Male
Status Offline
If these things were just pieced together from here and there and then made into an img, doesn't that mean it can't boot??? Then how should it be done?
Floor 9 Posted 2003-05-25 00:00 ·  中国 北京 263网络通信股份有限公司
银牌会员
★★★
nre
Credits 1,210
Posts 361
Joined 2002-12-28 00:00
23-year member
UID 629
Gender Male
Status Offline
First use WINIMAGE to open the original image, then --->Image---->Boot sector properties----save

Then open the new image you made------>Image---->Boot sector properties----open

This operation saves the floppy's boot sector, the first sector of the floppy, 512 bytes.

Floppies are FAT12, hard disks are generally at least FAT16. The boot program size in the boot sectors of FAT12/FAT16 is the same, so they can replace each other, but FAT32 may not work. FAT32 uses dozens more bytes than 12/16, so it may not be replaceable.

Teamwork !
Floor 10 Posted 2003-05-25 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
The key is to save the Boot Sector information; the SRCBOOT command will do it.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 11 Posted 2003-05-26 00:00 ·  中国 河南 郑州 联通
初级用户
Apple
Credits 121
Posts 8
Joined 2003-05-08 00:00
23-year member
UID 1944
Gender Male
Status Offline
Thanks, everyone :0 :)
Floor 12 Posted 2003-05-26 00:00 ·  中国 湖北 武汉 江夏区 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
Don't mention it...
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 13 Posted 2003-05-27 00:00 ·  中国 河南 郑州 联通
初级用户
Apple
Credits 121
Posts 8
Joined 2003-05-08 00:00
23-year member
UID 1944
Gender Male
Status Offline
Still no good, this line still appears:

Invalid system disk
Replace the disk, and then press any key

Non-System disk or disk error
Replace and press any key when ready

Is the Boot Sector information the same for every boot floppy? Why is it that even when I use the boot information from a 98 disk, it still can't boot?


Floor 14 Posted 2003-05-27 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
Geez, man, if your IMG is bootable (contains boot information), then as long as you don't delete the system files in winimage (command.com,ibmbio.com,ibmdos.com), you can change the other files however you like, it doesn't matter. Once saved, it should still boot. If not, then you made a mistake while using winimage... (that seems like a Windows software usage problem, hehe...)
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Floor 15 Posted 2003-05-27 00:00 ·  中国 北京 263网络通信股份有限公司
银牌会员
★★★
nre
Credits 1,210
Posts 361
Joined 2002-12-28 00:00
23-year member
UID 629
Gender Male
Status Offline
Depending on the system and the version, the boot information is different.

“Why is it that even when I use the boot information from a 98 disk, it still can't boot?”

Because GHOST uses IBM's PC-DOS, while the 98 boot disk uses MS's MS-DOS. Using MS's boot sector with IBM's boot files definitely won't work.

Teamwork !
Forum Jump: