Recently, the author read several articles in some newspapers and periodicals about making Chinese boot disks, and then personally made a Chinese boot disk. At the beginning, it was indeed successful. The Chinese platform could be used in DOS after booting with a floppy disk, and the effect was good. But after upgrading the operating system to Windows XP, the Chinese boot disk malfunctioned. After finding the reason, it was found that the files Pdos.def in the root directory of drive C in the master boot record and the files Chs16.fon, Pbios.exe, Lx.tbl, Ctrlpan.exe, Font16.exe, etc., in the C:\windows\command directory were missing. Through research, it was found that these files on the boot disk did not play a big role, but only played the role of referring to paths. Imagine, if there were no files supporting the Chinese platform on the boot disk, and directly running the Pdos95.bat file in the C:\windows\command directory, would the effect be the same as using the boot disk? The answer is yes. Then, is there a Chinese boot disk that can be used without the support of hard disk files? Yes. The following method to make a universal CD-ROM Chinese boot disk can not only use the universal CD-ROM but also use the universal Chinese platform. The specific production method is as follows:
### Making a universal Pdos.def file
Because the Chinese platform run by Pdos95.bat needs to read the Pdos.def file in the root directory of drive C in the master boot record. This file defines the paths of files such as Chs16.fon, Pbios.exe, Lx.tbl, Ctrlpan.exe, Font16.exe, as well as the definitions of some shortcuts, input methods, and dictionaries.
First, use Notepad (other file editors can also be used) to open the Pdos.def file in the root directory of drive C in the master boot record where Windows 9x operating system is installed, replace C:\windows\command in the file with C:, and then save it as Pdos.c (remove the read-only attribute before modification). Then use the above method to replace C:\windows\command with D: and save it as Pdos.d. By analogy, finally, 24 files such as Pdos.c, Pdos.d, Pdos.e... Pdos.z are generated. These files are small (only more than 2KB) and will not occupy too much disk space.
### Selecting files used by the Chinese platform
Because a floppy disk has a space of 1.44MB, we try to reduce the used files. First, select the files necessary for the Chinese platform: Chs16.fon, Ctrlpan.exe, Font16.exe, Hzkbd.exe, Hzvio95.exe, Instdict.exe, Lx.tbl, Pbios.exe, Pdos95.bat. For the input method files, we only select the pinyin input method, that is, Pinyin.tbl. Finally, Quit.exe. Put these files and the 24 generated files above into a newly created folder EBD for later use.
### Editing the Pdos95.bat file
In order to make this Chinese boot disk really "universal", it is necessary to modify the Pdos95.bat file. The specific content after modification is as follows:
```batch
@ECHO OFF
IF EXIST C:\PDOS.DEF GOTO REN
ECHO.
:REN
REN C:\PDOS.DEF PDOS.BAK >NUL
ECHO.
COPY %RAMD%:\PDOS.%RAMD% C:\PDOS.DEF /Y >NUL
@ECHO ON
pbios
font16
hzvio95
hzkbd
instdict pinyin
ctrlpan
@ECHO OFF
IF EXIST C:\PDOS.BAK GOTO DISPLAY
ECHO.
ISPLAY
ECHO //When booting the system from the hard disk, rename Pdos.bak to Pdos.def...
ECHO.
```
### Making the EBD.cab compressed package
In order to make this boot disk have the boot function of the universal CD-ROM and use some common DOS commands, a Windows 98 boot disk must be made. The specific method will not be described in detail here.
Insert the just-built Windows 98 boot disk into the floppy drive, use the decompression software to open it, then decompress EBD.cab to the above-mentioned newly created folder EBD. In order to save space, delete the less useful Scandisk.exe and Scandisk.ini files. Finally, use Cabinet Manager to compress all the files in the EBD folder into an EBD.cab file. In order to save floppy disk space, set the compression ratio to the highest in the options of Cabinet Manager before compression (do not compress the entire EBD folder together, only compress the files in its directory). The Cabinet Manager software can be downloaded on major software download websites.
### Testing the universal CD-ROM Chinese boot disk
Before testing, copy the newly generated Ebd.cab file to the just-made Windows 98 boot disk (directly overwrite), and then write-protect this universal CD-ROM Chinese boot disk. A floppy disk space of 1.34MB is used to make such a boot disk.
In order to verify the "universal" characteristics of this boot disk, we first choose to conduct an experiment without hanging any hard disk. Use this boot disk to successfully boot the computer, execute Pdos95.bat, and the Chinese platform under the DOS system will appear. The input method can be opened by using "Ctrl+Space". It can also be successfully used on the Windows XP operating system. This "universal CD-ROM Chinese boot disk" is suitable for all operating systems with FAT or FAT32 partitions such as DOS, Windows 3.1/9x/2000/XP.
Users of Windows 9x need to note: After using the Chinese platform of the boot disk (that is, after booting Windows 9x from the hard disk), manually rename C:\Pdos.bak to C:\Pdos.def, and at the same time delete the original Pdos.def.
In this way, we can use the "universal CD-ROM Chinese boot disk" with confidence. These are some experiences of the author in making Chinese boot disks, and I hope to help friends.
### Making a universal Pdos.def file
Because the Chinese platform run by Pdos95.bat needs to read the Pdos.def file in the root directory of drive C in the master boot record. This file defines the paths of files such as Chs16.fon, Pbios.exe, Lx.tbl, Ctrlpan.exe, Font16.exe, as well as the definitions of some shortcuts, input methods, and dictionaries.
First, use Notepad (other file editors can also be used) to open the Pdos.def file in the root directory of drive C in the master boot record where Windows 9x operating system is installed, replace C:\windows\command in the file with C:, and then save it as Pdos.c (remove the read-only attribute before modification). Then use the above method to replace C:\windows\command with D: and save it as Pdos.d. By analogy, finally, 24 files such as Pdos.c, Pdos.d, Pdos.e... Pdos.z are generated. These files are small (only more than 2KB) and will not occupy too much disk space.
### Selecting files used by the Chinese platform
Because a floppy disk has a space of 1.44MB, we try to reduce the used files. First, select the files necessary for the Chinese platform: Chs16.fon, Ctrlpan.exe, Font16.exe, Hzkbd.exe, Hzvio95.exe, Instdict.exe, Lx.tbl, Pbios.exe, Pdos95.bat. For the input method files, we only select the pinyin input method, that is, Pinyin.tbl. Finally, Quit.exe. Put these files and the 24 generated files above into a newly created folder EBD for later use.
### Editing the Pdos95.bat file
In order to make this Chinese boot disk really "universal", it is necessary to modify the Pdos95.bat file. The specific content after modification is as follows:
```batch
@ECHO OFF
IF EXIST C:\PDOS.DEF GOTO REN
ECHO.
:REN
REN C:\PDOS.DEF PDOS.BAK >NUL
ECHO.
COPY %RAMD%:\PDOS.%RAMD% C:\PDOS.DEF /Y >NUL
@ECHO ON
pbios
font16
hzvio95
hzkbd
instdict pinyin
ctrlpan
@ECHO OFF
IF EXIST C:\PDOS.BAK GOTO DISPLAY
ECHO.
ISPLAYECHO //When booting the system from the hard disk, rename Pdos.bak to Pdos.def...
ECHO.
```
### Making the EBD.cab compressed package
In order to make this boot disk have the boot function of the universal CD-ROM and use some common DOS commands, a Windows 98 boot disk must be made. The specific method will not be described in detail here.
Insert the just-built Windows 98 boot disk into the floppy drive, use the decompression software to open it, then decompress EBD.cab to the above-mentioned newly created folder EBD. In order to save space, delete the less useful Scandisk.exe and Scandisk.ini files. Finally, use Cabinet Manager to compress all the files in the EBD folder into an EBD.cab file. In order to save floppy disk space, set the compression ratio to the highest in the options of Cabinet Manager before compression (do not compress the entire EBD folder together, only compress the files in its directory). The Cabinet Manager software can be downloaded on major software download websites.
### Testing the universal CD-ROM Chinese boot disk
Before testing, copy the newly generated Ebd.cab file to the just-made Windows 98 boot disk (directly overwrite), and then write-protect this universal CD-ROM Chinese boot disk. A floppy disk space of 1.34MB is used to make such a boot disk.
In order to verify the "universal" characteristics of this boot disk, we first choose to conduct an experiment without hanging any hard disk. Use this boot disk to successfully boot the computer, execute Pdos95.bat, and the Chinese platform under the DOS system will appear. The input method can be opened by using "Ctrl+Space". It can also be successfully used on the Windows XP operating system. This "universal CD-ROM Chinese boot disk" is suitable for all operating systems with FAT or FAT32 partitions such as DOS, Windows 3.1/9x/2000/XP.
Users of Windows 9x need to note: After using the Chinese platform of the boot disk (that is, after booting Windows 9x from the hard disk), manually rename C:\Pdos.bak to C:\Pdos.def, and at the same time delete the original Pdos.def.
In this way, we can use the "universal CD-ROM Chinese boot disk" with confidence. These are some experiences of the author in making Chinese boot disks, and I hope to help friends.
欢迎大家观临我的个人主页:
http://dosdiy.bluepc.com.cn/
http://dosdiy.ys168.com/
EMAIL: lydong@china.com.cn lydong@yeah.net
----------------------------------------------
http://dosdiy.bluepc.com.cn/
http://dosdiy.ys168.com/
EMAIL: lydong@china.com.cn lydong@yeah.net
----------------------------------------------

