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-11 06:08
中国DOS联盟论坛 » 其它操作系统综合讨论区 » Research on diskcopy.dll, I found the secret of making MS-DOS 8.0 in XP and Vista View 5,832 Replies 20
Original Poster Posted 2007-12-11 14:16 ·  中国 上海 中国科学院上海分院
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
Recently, I heard about a tool called bootflashdos that can directly extract DOS 8.0 from xp/2003's diskcopy.dll to make a bootable disk, which is quite interesting. I took a little look at the diskcopy.dll of xp and vista, and really found some secret stuff in them.

First, take the xp's diskcopy.dll. Drag it into winimage, and it can identify a 1.44MB floppy disk image, and the content is the files in the xp's DOS boot disk. Save this image. Open it with winhex and select "Interpret image as disk", and you can see that besides the visible files, there are many deleted or overwritten files. Among them, the ones with question marks in front are recoverable files, and the ones with crosses are overwritten files.

Recovering these files, it can be seen that this boot disk is modified based on the original winme boot disk. Also, you can see the figures of io.sys and command.com before modification, as well as himem.sys which was removed in ms-dos 8.0. You can specifically refer to this link for more detailed analysis:
http://mirror.href.com/thestarman/winxp/winxpsd.htm

I also had a look at the vista's diskcopy.dll. I found that winimage can't directly open it, but it's very easy to find the ms-dos 8.0 floppy disk image in it with winhex. After saving it, open it with winhex, and find that the DOS files in it are updated again, and there are more deleted and overwritten files. Besides some original winme boot disk files, there are several files from 2005 added. It's estimated that these are made during the development of winvista. Open?eame.txt (which is readme.txt), and the content is as follows:
DOS Boot Disk Readme
======================
May 25, 2001
Aidan Low (aidanl@microsoft.com)

This directory contains the files that make up the DOS boot disk on whistler.

06/08/2000 05:00 PM 58,870 EGA2.CPI
06/08/2000 05:00 PM 58,753 EGA3.CPI
06/08/2000 05:00 PM 58,870 EGA.CPI
06/08/2000 05:00 PM 21,607 KEYB.COM
06/08/2000 05:00 PM 34,566 KEYBOARD.SYS
06/08/2000 05:00 PM 31,942 KEYBRD2.SYS
06/08/2000 05:00 PM 31,633 KEYBRD3.SYS
06/08/2000 05:00 PM 13,014 KEYBRD4.SYS
06/08/2000 05:00 PM 29,239 MODE.COM
06/08/2000 05:00 PM 93,040 COMMAND.COM
06/08/2000 05:00 PM 17,175 DISPLAY.SYS
04/07/2001 01:40 PM 9 MSDOS.SYS <-- should be system, readonly, hidden when copied to the floppy
05/15/2001 06:57 PM 116,736 IO.SYS <-- should be system, readonly, hidden when copied to the floppy

To prepare the disk image for the DOS boot disk, create a system disk on a Win9X Machine so that the boot sector is created properly.

Then copy these files over, setting the appropriate attributes. (the attributes are called out in the list above)

Finally, use the imgtool.exe tool to create a disk image from the floppy. Typically this will be something like

imgtool.exe \\.\a: c:\myimage.bin

======================

Actually, it's talking about the production process of the DOS 8.0 boot disk in winxp in May 2001, not the boot disk in vista. The producer is Aidan Low. The imgtool.exe used in it can also be recovered in the DOS 8.0 boot disk of vista.

[ Last edited by fujianabc on 2008-4-19 at 09:13 PM ]
Attachments
xp.png
vista.png
Floor 2 Posted 2007-12-11 19:07 ·  中国 上海 中国科学院上海分院
新手上路
Credits 10
Posts 3
Joined 2005-08-21 23:01
20-year member
UID 41843
Status Offline
Super powerful, actually out-excavated the secret of Microsoft making DOS 8.0.
Floor 3 Posted 2007-12-16 22:00 ·  中国 广东 腾讯云
初级用户
Credits 92
Posts 47
Joined 2007-12-07 13:20
18-year member
UID 104967
Gender Male
Status Offline
Floor 4 Posted 2008-01-06 13:36 ·  中国 内蒙古 呼和浩特 联通
初级用户
Credits 33
Posts 24
Joined 2007-11-19 15:35
18-year member
UID 103139
Gender Male
Status Offline
Strong, support, keep working hard, first study
Floor 5 Posted 2008-01-11 21:23 ·  中国 福建 莆田 电信
新手上路
Credits 18
Posts 11
Joined 2007-12-22 16:06
18-year member
UID 106473
Gender Male
Status Offline
Great, heh heh, learned something
Floor 6 Posted 2008-01-13 12:17 ·  中国 广西 梧州 电信
中级用户
★★
Credits 398
Posts 204
Joined 2006-09-18 05:11
19-year member
UID 62932
Gender Male
From 广西
Status Offline
Hehe, great mind, you're in such a mood to study this stuff! Thanks for sharing!
Floor 7 Posted 2008-01-13 20:53 ·  中国 福建 厦门 电信
新手上路
Credits 3
Posts 2
Joined 2007-09-29 22:48
18-year member
UID 98600
Gender Male
Status Offline
Learning~~
Floor 8 Posted 2008-01-14 12:02 ·  中国 江苏 苏州 电信
初级用户
Credits 57
Posts 32
Joined 2007-12-29 10:28
18-year member
UID 107098
Gender Male
Status Offline
Floor 9 Posted 2008-04-16 14:59 ·  中国 广西 贺州 电信
初级用户
Credits 139
Posts 20
Joined 2004-10-20 00:00
21-year member
UID 32742
Gender Male
Status Offline
Very good! Study hard, thank you.
Floor 10 Posted 2008-04-16 22:21 ·  中国 湖南 湘潭 电信
初级用户
火焙鱼
Credits 35
Posts 14
Joined 2007-05-24 00:22
19-year member
UID 89115
Gender Male
From 湖南省湘潭市
Status Offline
The tool of flashbootdos can directly extract DOS 8.0 from diskcopy.dll of XP/2003 to make a bootable disk.
Study this, thank you the building - owner for sharing!
Floor 11 Posted 2008-04-17 19:34 ·  中国 四川 成都 联通
初级用户
Credits 47
Posts 19
Joined 2007-11-17 23:40
18-year member
UID 102983
Gender Male
Status Offline
Great person, study quickly...
Floor 12 Posted 2008-04-17 22:15 ·  中国 湖南 湘潭 电信
初级用户
火焙鱼
Credits 35
Posts 14
Joined 2007-05-24 00:22
19-year member
UID 89115
Gender Male
From 湖南省湘潭市
Status Offline
"Flashbootdos tool can directly extract DOS 8.0 from diskcopy.dll of XP/2003 to make a bootable disk."
Thanks for the landlord's guidance, I'll try it right away!
Floor 13 Posted 2008-04-18 15:04 ·  中国 辽宁 沈阳 联通
新手上路
Credits 2
Posts 1
Joined 2008-04-18 14:16
18-year member
UID 116244
Gender Male
Status Offline
Are the diskcopy.dll files from 2008 and Vista the same?
Floor 14 Posted 2008-04-18 15:13 ·  中国 上海 中国科学院上海分院
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
Originally posted by infoer at 2008-4-18 03:04 PM:
Are the diskcopy.dll files from 2008 and Vista the same?

I have seen that there are two types of images in diskcopy.dll, with the year 2005 as the boundary. Those before 2005 are the first type I listed (such as XP SP2, 2003 SP1), and those after 2005 are the second type (including XP SP3, 2003 SP2, Vista, Vista SP1/2008)
Floor 15 Posted 2008-04-18 20:55 ·  中国 广东 深圳 龙岗区 电信
高级用户
★★★
Credits 793
Posts 312
Joined 2004-09-02 00:00
21-year member
UID 31104
Gender Male
Status Offline
It's really powerful,佩服......
Forum Jump: