![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-09-15 09:30 |
47,812 topics / 349,917 posts / today 0 new / 48,268 members |
| DOS软件下载 & 游戏分享 (下载室) » [Download][Original]Share two self-made tools for making bootable CDs |
| Printable Version 5,844 / 20 |
| Floor1 asbai | Posted 2006-04-18 02:27 |
| 高级用户 Posts 252 Credits 653 | |
|
==============================================
1. FindCD ■ Identify the drive where the CD-ROM containing the disc is located correctly in a multi-CD drive environment by defining a tag file. ■ Skip drives without a disc installed, avoiding the classic "Retry, Abort, Fail" error. ■ In MS-DOS 7.1 environment, automatically set the CDROM environment variable. ■ Determine the CD-ROM drive letter through the program return code. ■ Example: FindCD boot\myutil.tag - Find and return the drive letter of the CD-ROM containing the specified file ============================================== 2. mkramdsk Solve the 1GB problem encountered when creating a Win98 CD boot disk. Due to aging, Win98 cannot stably run on some machines with memory exceeding 512MB. For machines with physical memory exceeding 1GB, it cannot run normally on most hardware, often resulting in errors such as mode errors, out-of-memory reports, and boot failures, etc. (For details, you can google: windows98 memory 1GB). On the other hand, Win98 startup usually requires using xmsdsk to create a virtual system disk. mkramdisk first detects the total physical memory and free XMS memory in the current computer, and then calls the xmsdsk tool to allocate the ramdisk. Features include: ■ Reserve only 256MB of physical memory for Win98, and use the remaining memory as ramdisk. ■ The minimum size of the ramdisk is 36864 KB, allocated from the high address, and the drive letter is z:. ■ xmsdsk must be in the working path or the path. ■ Since it was designed only to solve its own problem, no configurable command-line parameters are defined. ■ Since modern machines generally have large memory, it is recommended to put the Win98 memory swap file on the ramdisk to enhance performance (which is equivalent to indirectly helping 98 use large memory, heh heh) [ Last edited by llm on 2006-4-28 at 15:35 ] Attachments findcd.rar (16.04 KiB) MkRamDsk.rar (11.13 KiB) |
|
| Floor2 JonePeng | Posted 2006-04-20 23:52 |
| 金牌会员 Posts 1,883 Credits 4,562 From 广东广州 | |
Originally posted by asbai at 2006-4-18 02:27: Win98 supports a maximum of 768MB physical memory, and it's not excessive to allocate 512M memory for Win98 to use. |
|
| Floor3 fujianabc | Posted 2006-04-21 12:00 |
| 金牌会员 Posts 1,616 Credits 3,467 | |
|
CD-ROM version of Win98, it is recommended to change the approach. Instead of using XMSDsk's RAM disk, use GRUB's RAM disk. First, create a hard disk image of Win98 (this image can be compressed with gzip), then use GRUB's map --mem command to simulate this image as a RAM disk hard disk for booting. Such a RAM disk directly becomes the C: drive, and the original hard disk will become the second hard disk.
|
|
| Floor4 asbai | Posted 2006-04-23 05:27 |
| 高级用户 Posts 252 Credits 653 | |
Originally posted by JonePeng at 2006-4-20 23:52: This is hard to say. Theoretically, it can reach 1G, but in some hardware configurations, there may be problems even with 512M. Also, since it's originally for emergency booting, usually not much memory is needed, so the most conservative estimation method is adopted. |
|
| Floor5 asbai | Posted 2006-04-23 05:32 |
| 高级用户 Posts 252 Credits 653 | |
Originally posted by fujianabc at 2006-4-21 12:00: I have tried GRUB's CD boot version before and never succeeded, sweat... Whether it is virtualized as drive C or Z is not a very serious issue, and the compression ratio of gz is far less than that of the solid mode RAR. The DOS version of Unrar is also free/opensource. BTW: GRUB 2 has been developed for a while since GNU took over. We can try it when version 2 comes out ^_^ [ Last edited by asbai on 2006-4-23 at 05:35 ] |
|
| Floor6 fujianabc | Posted 2006-04-23 11:53 |
| 金牌会员 Posts 1,616 Credits 3,467 | |
Originally posted by asbai at 2006-4-23 05:32 AM: The RAR under DOS does have a larger compression ratio than gz, but the time to decompress a compressed package is much longer than that of gz. There are hundreds of files to be decompressed in RAR, while gz only needs to decompress one img file under grub. Grub 2, I don't know when it will really be usable. The functions added compared to the current grub 0.9x are many but not practical. |
|
| Floor7 272922032 | Posted 2006-04-23 22:28 |
| 禁止访问 Posts 41 Credits 97 | |
|
98 is not a problem, the key is the drivers. 98 is a large operating system, not like DOS where just a few drivers are enough. How to install the drivers for the mainboard, graphics card, sound card, and network card?
|
|
| Floor8 asbai | Posted 2006-04-24 00:04 |
| 高级用户 Posts 252 Credits 653 | |
Originally posted by 272922032 at 2006-4-23 22:28: That's right. Generally, the system booted from the CD is used for emergency recovery. Many drivers just need to work, not requiring high performance. For example, the graphics card working in VGA or VESA-compatible SVGA is generally sufficient. The hard drive and CD-ROM can be used in DOS-compatible mode. Also, some drivers are not needed at all, like the sound card driver. It seems that no one boots a complete daily system from the CD, heh heh |
|
| Floor9 asbai | Posted 2006-04-24 00:14 |
| 高级用户 Posts 252 Credits 653 | |
Originally posted by fujianabc at 2006-4-23 11:53: Well, GZ is indeed much faster than RAR, but a MINI98 itself is not very large, generally less than 30MB after extraction. And for a compressed package of a comparable size, whether there are 1 file or 10 files inside generally has little impact on the speed, except in extreme cases, such as having ten million files inside... That's a stress test on the file system ^_^. Moreover, directly using the IMG virtual file system is not feasible for 98. When 98 starts, it must be on a non-read-only media. I haven't seen a boot loader that supports writing to IMG. Win32 started supporting booting from read-only media from XP onwards (WinPE). Do you have any good articles on using GRUB for CD booting? I always have problems following the official documentation, which is frustrating. |
|
| Floor10 272922032 | Posted 2006-04-24 07:32 |
| 禁止访问 Posts 41 Credits 97 | |
|
I just hope to find a Windows series disc - based system that can run ordinary software. It doesn't matter what the kernel is. If there are no drivers, why do I want it? Using a disc - based system to chat on QQ online is my dream
|
|
| Floor11 fujianabc | Posted 2006-04-24 11:31 |
| 金牌会员 Posts 1,616 Credits 3,467 | |
Originally posted by asbai at 2006-4-24 12:14 AM: The img I made to boot Win98 is done by using the grub map --mem command to map the img file as a ramdisk, and the ramdisk is readable and writable, so there is naturally no problem of read-only. As for grub for CD boot, I haven't seen any very good articles, many are relying on their own usual exploration. |
|
| Floor12 272922032 | Posted 2006-04-24 12:35 |
| 禁止访问 Posts 41 Credits 97 | |
|
Actually, the Windows 98 on the CD doesn't need to be compressed. The 700M CD space is enough. I can still collect many software and drivers. The key is the network card and graphics card drivers. And the motherboard drivers are also recommended to install. If these drivers are missing, Windows 98 doesn't have much use value. If it's just for file management, WINPE is enough. Why do I still need Windows 98?
[ Last edited by 272922032 on 2006-4-24 at 12:38 ] |
|
| Floor13 fujianabc | Posted 2006-04-24 20:07 |
| 金牌会员 Posts 1,616 Credits 3,467 | |
Originally posted by 272922032 at 2006-4-24 12:35 PM: After compression, the boot can be a bit faster. In terms of practicality, the CD-ROM version of Windows 98 was a hot topic before the emergence of WinPE. After the appearance of WinPE, the CD-ROM version of 98 is indeed not of much significance. |
|
| Floor14 272922032 | Posted 2006-04-24 21:06 |
| 禁止访问 Posts 41 Credits 97 | |
|
Wenjiu Bar is better than WenPE, this is a fact!
|
|
| Floor15 fujianabc | Posted 2006-04-24 21:32 |
| 金牌会员 Posts 1,616 Credits 3,467 | |
Originally posted by 272922032 at 2006-4-24 09:06 PM: Why do you say so? In what specific aspects is it reflected? |
|
| 1 2 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |