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-24 04:53
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » [Suggestion] Create a complete installation program for MS-DOS 7.10 under Windows View 3,843 Replies 21
Original Poster Posted 2006-07-28 15:33 ·  中国 上海 虹口区 电信
银牌会员
★★★
永遠的DOS~~~
Credits 1,200
Posts 466
Joined 2005-02-01 00:00
21-year member
UID 35867
Gender Male
From 上海
Status Offline
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
Floor 2 Posted 2006-07-28 17:06 ·  中国 上海 浦东新区 电信
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
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.
Floor 3 Posted 2006-07-28 20:04 ·  中国 上海 普陀区 电信
银牌会员
★★★
永遠的DOS~~~
Credits 1,200
Posts 466
Joined 2005-02-01 00:00
21-year member
UID 35867
Gender Male
From 上海
Status Offline
Just put msdos.sys, config.sys, command.com, and autoexec.bat in the first Fat32 partition.
32位才是DOS未来的希望
个人网志:http://sololand.moe
Floor 4 Posted 2006-07-28 21:27 ·  中国 上海 浦东新区 电信
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
Then io.sys can also be placed in that fat32 partition, which is not called installing on the ntfs partition.
Floor 5 Posted 2006-07-29 14:53 ·  中国 上海 普陀区 电信
银牌会员
★★★
永遠的DOS~~~
Credits 1,200
Posts 466
Joined 2005-02-01 00:00
21-year member
UID 35867
Gender Male
From 上海
Status Offline
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
Floor 6 Posted 2006-07-29 22:27 ·  中国 四川 成都 教育网
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
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'>"
Floor 7 Posted 2006-07-31 09:29 ·  中国 上海 普陀区 电信
银牌会员
★★★
永遠的DOS~~~
Credits 1,200
Posts 466
Joined 2005-02-01 00:00
21-year member
UID 35867
Gender Male
From 上海
Status Offline
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
Floor 8 Posted 2006-07-31 10:48 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
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.
因为我们亲手创建,这个世界更加美丽。
Floor 9 Posted 2006-07-31 11:38 ·  中国 上海 普陀区 电信
银牌会员
★★★
永遠的DOS~~~
Credits 1,200
Posts 466
Joined 2005-02-01 00:00
21-year member
UID 35867
Gender Male
From 上海
Status Offline
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
Floor 10 Posted 2006-08-02 09:35 ·  中国 上海 普陀区 电信
银牌会员
★★★
永遠的DOS~~~
Credits 1,200
Posts 466
Joined 2005-02-01 00:00
21-year member
UID 35867
Gender Male
From 上海
Status Offline
No one is supporting? I'll support myself~
32位才是DOS未来的希望
个人网志:http://sololand.moe
Floor 11 Posted 2006-08-02 09:43 ·  中国 上海 浦东新区 电信
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
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.
Floor 12 Posted 2006-08-02 12:01 ·  加拿大 Bell
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
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和雨露,谢谢!)

Floor 13 Posted 2006-08-02 12:24 ·  中国 浙江 衢州 电信
银牌会员
★★★
Credits 1,270
Posts 548
Joined 2004-05-31 00:00
22-year member
UID 25754
Gender Male
Status Offline
If this thing is developed, it should have strong practicality. Now many people are using the NTFS file system.
Floor 14 Posted 2006-08-02 13:11 ·  中国 上海 普陀区 电信
银牌会员
★★★
永遠的DOS~~~
Credits 1,200
Posts 466
Joined 2005-02-01 00:00
21-year member
UID 35867
Gender Male
From 上海
Status Offline
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
Floor 15 Posted 2006-08-02 13:18 ·  中国 上海 普陀区 电信
银牌会员
★★★
永遠的DOS~~~
Credits 1,200
Posts 466
Joined 2005-02-01 00:00
21-year member
UID 35867
Gender Male
From 上海
Status Offline
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
Forum Jump: