|
brglng
银牌会员
     永遠的DOS~~~
积分 1200
发帖 466
注册 2005-2-1 来自 上海
状态 离线
|
『楼 主』:
[建议]制作Win下的MS-DOS 7.10完整安装程序
使用 LLM 解释/回答一下
现在Grub已经支持用chainloader /io.sys直接启动DOS,是否考虑利用GRLDR制作一个Windows 2K/XP下的MS-DOS 7.10安装程序,并支持主分区是NTFS的情况?
Last edited by brglng on 2006-8-2 at 09:34 ]
Now Grub supports directly booting DOS with chainloader /io.sys. Is there a consideration to use GRLDR to make an MS-DOS 7.10 installation program under Windows 2K/XP, and support the situation where the primary partition is NTFS?
Last edited by brglng on 2006-8-2 at 09:34 ]
|

32位才是DOS未来的希望
个人网志:http://sololand.moe |
|
2006-7-28 15:33 |
|
|
fujianabc
金牌会员
     
积分 3467
发帖 1616
注册 2004-6-21
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
io.sys找不到ntfs上的msdos.sys config.sys command.com和autoexec.bat的,所以依旧无法完成在ntfs上的dos的启动。
io.sys cannot find msdos.sys, config.sys, command.com, and autoexec.bat on NTFS, so the DOS startup on NTFS still cannot be completed.
|
|
2006-7-28 17:06 |
|
|
brglng
银牌会员
     永遠的DOS~~~
积分 1200
发帖 466
注册 2005-2-1 来自 上海
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
只要把msdos.sys config.sys command.com和autoexec.bat放在第一个Fat32分区就可以了啊!
Just put msdos.sys, config.sys, command.com, and autoexec.bat in the first Fat32 partition.
|

32位才是DOS未来的希望
个人网志:http://sololand.moe |
|
2006-7-28 20:04 |
|
|
fujianabc
金牌会员
     
积分 3467
发帖 1616
注册 2004-6-21
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
那io.sys也可以放在那个fat32分区,这就不叫安装在ntfs分区上了。
Then io.sys can also be placed in that fat32 partition, which is not called installing on the ntfs partition.
|
|
2006-7-28 21:27 |
|
|
brglng
银牌会员
     永遠的DOS~~~
积分 1200
发帖 466
注册 2005-2-1 来自 上海
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
我并没有说要安装在NTFS分区上,我只是说支持主分区是NTFS的情况。毕竟DOS是不支持NTFS的,但是通过GRUB可以让DOS在主分区是NTFS的情况下和2K/XP做双启动。
I didn't say to install on an NTFS partition. I just said that it supports the case where the primary partition is NTFS. After all, DOS doesn't support NTFS, but through GRUB, DOS can dual-boot with 2K/XP when the primary partition is NTFS.
|

32位才是DOS未来的希望
个人网志:http://sololand.moe |
|
2006-7-29 14:53 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
有点像故障恢复控制台了
It's a bit like the recovery console.
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2006-7-29 22:27 |
|
|
brglng
银牌会员
     永遠的DOS~~~
积分 1200
发帖 466
注册 2005-2-1 来自 上海
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
这和故障回复控制台是完全不同的,DOS虽然不支持NTFS,但是可以利用NT Loader和GRLDR启动FAT32分区上的DOS。我已经试过了,我的硬盘分了5个区,前面4个都是NTFS,只有最后一个是FAT32,我把io.sys、msdos.sys、command.com、autoexec.bat、config.sys全都放在这个分区里,然后用GRLDR的chainloader (hd0,7)/io.sys就能正常启动DOS!
制做这个安装程序应该是很有意义的,可以让很多主分区是NTFS的人用上DOS,对推广DOS应该是很好的。。。
Last edited by brglng on 2006-7-31 at 09:32 ]
This is completely different from the fault recovery console. Although DOS does not support NTFS, it can start DOS on a FAT32 partition using NT Loader and GRLDR. I have tried it. My hard drive has 5 partitions. The first 4 are all NTFS, and only the last one is FAT32. I put io.sys, msdos.sys, command.com, autoexec.bat, config.sys all in this partition, and then use chainloader (hd0,7)/io.sys of GRLDR to start DOS normally! Making this installation program should be very meaningful, which can let many people with NTFS primary partitions use DOS, which should be very good for promoting DOS...
Last edited by brglng on 2006-7-31 at 09:32 ]
|

32位才是DOS未来的希望
个人网志:http://sololand.moe |
|
2006-7-31 09:29 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
谢谢 brglng 的提醒!我没想到,居然 GRUB4DOS 还可以这么用。
这就是说,对于在扩展分区的逻辑驱动器上已经安装好了的 Win98 系统来说,用 GRLDR 是可以启动它的。
另外这也提示了,如果以前曾在某个主分区安装过 Win98,现在把这个分区直接拷贝到逻辑分区上,然后把主分区的文件系统转换成 NTFS,或者隐藏掉主分区上所有的 FAT 分区。此时,逻辑分区上的 Win98 仍然可以被 GRUB4DOS 启动,因为逻辑分区会被 Win98 认作 C: 盘。
以上是说用 GRUB 可以启动逻辑盘上已经安装好了的 Win98。更进一步,你或许还可以在逻辑分区上安装 Win98 呢!通常 Win98 的安装程序要求必须存在一个 FAT 格式的主分区,因为 Win98 的安装程序需要在主分区上放置 IO.SYS 等文件。
用 GRUB4DOS 的磁盘仿真技术,可以在安装之前,暂时把逻辑分区仿真为主分区,让 Win98 顺利安装到逻辑分区上(此时 Win98 已经把该分区当作主分区来对待)。安装完成之后,就不需要磁盘仿真了,正如前面说的那样,可以直接用 GRUB 来启动逻辑盘上的 Win98。如果这样可行的话,这将是在 Windows 2000/XP 下安装 Win98 的又一种方法了。
Thanks to brglng for the reminder! I didn't expect that GRUB4DOS can be used like this.
This means that for a Win98 system that has already been installed on a logical drive in an extended partition, GRLDR can be used to boot it.
In addition, this also suggests that if you previously installed Win98 on a primary partition, and now directly copy this partition to a logical partition, then convert the file system of the primary partition to NTFS, or hide all FAT partitions on the primary partition. At this time, the Win98 on the logical partition can still be booted by GRUB4DOS, because the logical partition will be recognized as the C: drive by Win98.
The above is about using GRUB to boot Win98 that has been installed on a logical drive. Furthermore, you may be able to install Win98 on a logical partition! Usually, the Win98 installation program requires that there must be a primary partition in FAT format, because the Win98 installation program needs to place files such as IO.SYS on the primary partition.
Using the disk emulation technology of GRUB4DOS, before installation, you can temporarily emulate the logical partition as a primary partition to allow Win98 to be successfully installed on the logical partition (at this time, Win98 has treated this partition as a primary partition). After the installation is complete, there is no need for disk emulation. As mentioned earlier, you can directly use GRUB to boot Win98 on the logical drive. If this is feasible, this will be another way to install Win98 under Windows 2000/XP.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2006-7-31 10:48 |
|
|
brglng
银牌会员
     永遠的DOS~~~
积分 1200
发帖 466
注册 2005-2-1 来自 上海
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
是啊!我想应该可以的~!io.sys只管到c盘上去找系统文件,才不管c盘是主分区还是逻辑分区呢!
另外我还试过,用sys将DOS系统文件传到一个逻辑分区,就可以用chainloader +1来启动dos!也就是说安装win98或许根本不需要磁盘仿真,直接就可以装的!
按照我的机器,如果我用启动盘启动到dos下,然后sys a: c: (这里的c:就是(hd0,7)),然后在menu.lst里配置为chainloader (hd0,7)+1,就可以启动dos了!也许dos是不需要mbr的吧,win98应该也是。
但以上所有这些的前提是:启动所需的系统文件必须在第一个Fat分区!不能是第二个或者第n(n>1)个!因为dos只管c盘!
Last edited by brglng on 2006-7-31 at 12:23 ]
Yeah! I think it should be okay~! io.sys only looks for system files on the C drive, and it doesn't care whether the C drive is a primary partition or a logical partition!
In addition, I also tried using sys to transfer DOS system files to a logical partition, and then I can use chainloader +1 to boot DOS! That means installing Windows 98 might not need disk emulation at all, and it can be installed directly!
According to my machine, if I boot to DOS with a boot disk, and then use sys a: c: (here c: is (hd0,7)), and then configure in menu.lst as chainloader (hd0,7)+1, I can boot DOS! Maybe DOS doesn't need an MBR, and Windows 98 is too.
But all the above premises are: the system files required for booting must be on the first Fat partition! It can't be the second or the nth (n>1)! Because DOS only cares about the C drive!
Last edited by brglng on 2006-7-31 at 12:23 ]
|

32位才是DOS未来的希望
个人网志:http://sololand.moe |
|
2006-7-31 11:38 |
|
|
brglng
银牌会员
     永遠的DOS~~~
积分 1200
发帖 466
注册 2005-2-1 来自 上海
状态 离线
|
|
2006-8-2 09:35 |
|
|
fujianabc
金牌会员
     
积分 3467
发帖 1616
注册 2004-6-21
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
的确,msdos 7.1只认c:,而不管此分区是主分区还是逻辑分区,哪怕在c:第二硬盘上也一样启动(只要第一硬盘上没有fat分区)。
另外,如果dos是从软盘启动(包括虚拟软盘),那只认a:,而不任其它。
Indeed, MS-DOS 7.1 only recognizes drive C:, regardless of whether this partition is a primary partition or a logical partition. It can even boot from drive C: on the second hard disk (as long as there is no FAT partition on the first hard disk).
In addition, if DOS is booted from a floppy disk (including a virtual floppy disk), it only recognizes drive A: and not others.
|
|
2006-8-2 09:43 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
我记得以前好像曾试着在虚拟机中将NTFS主分区的标识和引导记录都改成FAT32的,并在这个主分区上放置了IO.SYS文件,结果真的启动到DOS提示符下了--虽然完全跳过了其它启动文件,不过将它们放在第一个FAT分区上就解决了。但是,由于直接改主分区的标识有危险,所以此方法并不实用。当然,现在用GRUB4DOS可以完全避免此危险,要实用多了。不过,由于GRUB4DOS/GRLDR并非MS-DOS中自带的文件,所以可考虑试着做一个MS-DOS 7.10特别安装版,专门用于解决在分区情况比较复杂的硬盘上安装DOS。
I remember that I once tried to change the identity and boot record of an NTFS primary partition to FAT32 in a virtual machine, and placed the IO.SYS file on this primary partition. As a result, I really booted to the DOS prompt - although it completely skipped other boot files, but placing them on the first FAT partition solved the problem. However, since directly changing the identity of the primary partition is dangerous, this method is not practical. Of course, now GRUB4DOS can completely avoid this danger and is much more practical. However, since GRUB4DOS/GRLDR is not a file included in MS-DOS, you can consider trying to make a special installation version of MS-DOS 7.10, which is specially used to solve the installation of DOS on hard disks with relatively complex partition situations.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2006-8-2 12:01 |
|
|
weilong888
银牌会员
    
积分 1270
发帖 548
注册 2004-5-31
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
这东西搞出来的话,应该是有很强的实用性的。现在很多人用NTFS文件系统了。
If this thing is developed, it should have strong practicality. Now many people are using the NTFS file system.
|
|
2006-8-2 12:24 |
|
|
brglng
银牌会员
     永遠的DOS~~~
积分 1200
发帖 466
注册 2005-2-1 来自 上海
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
要说grub不是ms-dos中自带的文件,那么doslfn、ctmouse、vide-cdd.sys等等都不是啊,可是还是把它们包括进去了。
我只是觉得做这样一个安装程序可以让很多因主分区不是fat32而不敢装dos的人用上DOS的完整版,这无疑是推广、普及DOS的一个很好的举措!我自己是没有时间,而且编程水平比较差,所以只好请教各位高手了:p 甚至于我觉得可以把两个版本的安装程序整合起来,安装时自动判断安装环境和分区情况,根据实际情况配置系统,那样就更好了!
另外doslfn应该可以更新到0.40b版了吧!vide-cdd.sys应该可以换成qcdrom了。。。其实还可以把usb设备的驱动全都放进去。(个人意见)
To say that grub is not a file included in MS-DOS, then doslfn, ctmouse, vide-cdd.sys and so on are not either, but they are still included.
I just think that making such an installation program can let many people who dare not install DOS because the primary partition is not fat32 use the full version of DOS. This is undoubtedly a very good measure to promote and popularize DOS! I myself don't have time and my programming level is relatively poor, so I have to ask all the experts! :p Even I think that the two versions of the installation program can be integrated, and when installing, automatically judge the installation environment and partition situation, and configure the system according to the actual situation, then it will be better!
In addition, doslfn should be able to be updated to version 0.40b! vide-cdd.sys should be replaceable with qcdrom... Actually, the drivers for USB devices can all be included. (Personal opinion)
|

32位才是DOS未来的希望
个人网志:http://sololand.moe |
|
2006-8-2 13:11 |
|
|
brglng
银牌会员
     永遠的DOS~~~
积分 1200
发帖 466
注册 2005-2-1 来自 上海
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
另外我觉得哪位汇编高手写一段ntfs里引导io.sys的引导程序,然后做成一个启动扇区文件在boot.ini里调用应该也可以哦。。。这样的话就要把io.sys和ntldr放在同一个分区里。
In addition, I think some assembly expert can write a boot program for guiding io.sys in NTFS, and then make it into a boot sector file to be called in boot.ini. In this case, io.sys and ntldr need to be placed in the same partition.
|

32位才是DOS未来的希望
个人网志:http://sololand.moe |
|
2006-8-2 13:18 |
|