『第 3 楼』:
使用 LLM 解释/回答一下
把软驱装进硬盘
Vfloppy1.0
http://bbs.wwwfox.net/non-cgi/usr/2/2_10476_17.rar
一、基本使用
Vfloop下载压缩包中有三个文件是必须的:vfloppy.exe vloader.bin vmemdsk.bin.其中vfloppy.exe是主执行程序,vloader.bin和vmemdsk.bin是引导扇区和引导代码文件。软件执行格式为:
vfloppy -1 vloader.bin -2 vmemdsk.bin -i floppy.img
"-d device" :可有可无,用来指明文件存放在哪个磁盘分区,C分区格式为"-d(hd0.0)",D分区格式为“-d (hd0.4)”,实际上该参数可以省略不用,软件会自动设置。
"-i floppy.img":用来指明要启动软盘映像文件路径和文件名,如果映像文件与vfloppy.exe在同一目录中时,只需要写明映像名称即可。
实际使用时,建议把以上三个文件和映像文件保存在同一目录中,并按照以上格式执行vfloppy.exe把引导代码和映像文件名写入系统,然后在osloder的启动配置文件Boot.ini中添加启动项目即可,下面举两例予以说明。
实例一:给Windows 2000/xp添加纯DOS支持
虽然从windows me开始,DOS已经被放逐,但很多情况下我们依然离不开它
第一步:到http://utils.skull-tech.com/bootdisks/bootme.exe下载windows me 启动软盘制作工具,下载后插入一张软盘,然后双击bootme.exe开始制作启动软盘。
第二步:安装并运行Winlmge(下载地址http://www.winimage.com/winima61.exe),单击菜单“Disk →Read disk” 读取刚才做好的软盘内容,再单击菜单“File→Save”,在“保存类型”中选择“image file(*.IMA)”,将软盘内容保存为映像文件:"boot.ima"(注意扩展名不是IMG,但实际上是一样的)。
第三步:在C盘建立一个新目录“DOS”,即C:\dos。然后把vfloppy.exe vloader.bin vmemdsk.ini和boot.ima复制到c:\dos目录中。
第四步:在开始菜单“运行”命令行中输入“CMD”进入DOS提示符,进入C:\dos目录后运行以下命令:
vfloppy -1 vloader.bin -2 vmemdsk.bin -i boot.ima。
第五步:在C盘根目录中找到boot.ini文件,去掉其只读属性,然后用记事本打开,并在文件最后一行添加以下内容c:\dos\vloader.ini="microsoft DOS PromPt"
第六步:重启系统,即可看到在系统启动菜单中多了microsoft DOS PromPt项目,选择后即可像使用Windows Me启动软盘启动系统。
小提示:利用上面的方法可以直接把“超级DOS通用启动盘”装进硬盘。
实例二:让Windows 98的纯DOS支持光驱和USB设备
第一步:下载地址http://newdos.yginfo.net/dosware/mdos71bd.zip,下载后解压缩得到超级通用DOS启动盘MSDOS.IMG
第二步:对于仅安装WINDOWS98的用户
1、找一张WINDOWS 2000或XP安装光盘,从i386目录中复制bootfont.bi n ntdetect.com ntldr(P 这个文件没有扩展名)三个文件到C:盘根目录下。
2、在C盘新建一个目录 OSLoader,然后从Windows 2000(不能用XP安装光盘,否则不会成功)安装光盘中的i386目录中复制Winnt.exe和dosnet.inf两个文件到C:\OSloader 目录。
3、重启系统进入纯DOS模式,接着进入C:\OSloader目录运行“Winnt.exe /s”,这时屏幕上会提示出一些信息,不必管它,只管按回车键,直到再按回车键屏幕没有什么变化了。这时直接按Ctrl+Alt+Del组合键,即可看到双启动菜单了。选择“Microsoft Windows”进入“Windows 98,然后删除” $win_nt$.~bt文件夹即可。
第三步:在C盘建立一个新目录98DOS,然后把vfloppy.exe .wloader.bin vmemdsk.bin msdos710.img复制到该目录中。
第四步:点击”开始→运行”,输入"command"进入DOS提示符,进入C:\98DOS 目录,输入:"vfloppy -1 vloader.bin -2 vmemdsk.bin -i msdos710.img"。运行后可能会提示“系统找不到指定的文件”,不必管它,直接退出命令行即可。
第五步:在C盘根目录中找到Boot.ini文件,去掉其只读属性,然后用记事本打开,修改内容如下,
timeout=30
default=c:\
c:\="Microsoft Windows"
c:\98dos\vloader.bin="DOS Prompt With CD&USB"
第六步:重启系统,即可看到在系统启动菜单中多了一个“DOS Promt With CD&USB”的项目,选择后即可进入能启动光驱和USB设备的纯DOS模式了。
实例三:打造Foxbase系统
很多学生朋友喜欢在Foxbase中写些小程序。我们可以利用vfloppy支持2.88MB容量软盘映像文件的特点,
第一步:在C盘新建Foxbose目录。从http://www.wuyouschool.cn/download/foxbase.zip下载Foxbase程序包,解压所有文件到C:\Foxbase目录中,然后从http://software.pchome.net/php/download2.php?sid=5094&url=/utility/=lan/chinese/Tway32.exe&svr=4下载世界上最小的中文环境——天汇汉字系统,把下载的tway32.exe也复制到C:\Foxbase目录中。
第二步:打开 记事本,输入如下三行内容:
@echo off
tway32.exe
mfoxplus.exe
然后单击“文件→保存”,注意在保存对话框中要选择“保存类别”为“所有文件”,然后输入“文件名”为“autoexec.bat”,保存到C:\Foxbase目录中。
第三步:按照实例一中的介绍制作一张启动软盘,接着将其中的文件全部删除,然后运行Winlmage, 单击菜单“Disk→Read disk"读取软盘中内容,再点击“lmage→Changeformat”,在弹出的对话框中选择“2.88MB”后单击“OK”按钮,将软盘映像容量修改为2.88MB然后单击“lmage→lnject a directory”选择C:\Foxbase目录,可以把该目录下所有文件添加到磁盘映像中,其中会提示是否覆盖“autoexec.bat”文件,选择:“Yes”进行覆盖,最后,单击“File”菜单中的“Save”命令将软盘内容保存为映像文件“foxbase.ima”。
第四步:在C盘建立一个新目录“Foxbase”,并把vfloppy.exe vloader.bin .vmemdsk.bin .和foxbase.ima复制到目录中。
第五步:在DOS提示符下进入c:\Foxbase目录中,运行命令:vfloppy -1 vloader.bin -2 vmendsk.bin -i foxbase.ima,然后在boot.ini文件最后添加C:\foxbase\vloader.bin="Foxbase Chinese"。
第六步:重启系统,在启动菜单中选择“Foxbase chinese”即可自动进入中文显示的Foxbase系统了。
二、扩展应用
1、添加多个启动映像
上面的介绍都以添加一个启动映像为例,实际Vfloppy还支持添加多个启动映像,例如可以添加一个多功能DOS启动盘,再添加一个小型Linux系统(也就是采用软盘映像包装的那种)或其他特色启动盘,多启动映像制作的基本步骤与上面类似,不过要为每个映像文件单独建立一个新目录,并把vfloppy.exe . vloader.bin vmemdsk.bim三个核心文件分别复制到每个映像文件目录中,然后在每个目录中执行vfloppy来添加每个映像文件。最后,在修改Boot.ini文件时只需要添加多个启动菜单,并使其指向不同的目录即可。
2、轻松实现多系统并存
以前也有人提到修改MSDOS.SYS文件安装多个Windows 98,但还需要用批处理来回替换文件,很不方便。现在有了Vfloppy就方便多了,你可以创建多个启动映像,然后修改每个映像文件中的MSDOS.SYS,使其指向不同的widows98路径即可。再结合OSloader的技巧,制作出来的多系统并存,绝对既漂亮又方便,而且不会破坏系统,绝非其他多系统软件可比。
Install Floppy Drive into Hard Drive
Vfloppy 1.0
http://bbs.wwwfox.net/non-cgi/usr/2/2_10476_17.rar
I. Basic Usage
There are three necessary files in the Vfloop download compressed package: vfloppy.exe, vloader.bin, and vmemdsk.bin. Among them, vfloppy.exe is the main executable program, and vloader.bin and vmemdsk.bin are the boot sector and boot code files. The software execution format is:
vfloppy -1 vloader.bin -2 vmemdsk.bin -i floppy.img
"-d device": Optional, used to specify which disk partition the file is stored in. The C partition format is "-d (hd0.0)", and the D partition format is "-d (hd0.4)". Actually, this parameter can be omitted, and the software will set it automatically.
"-i floppy.img": Used to specify the path and filename of the floppy image file to be started. If the image file is in the same directory as vfloppy.exe, just write the image name.
It is recommended to save the above three files and the image file in the same directory during actual use, and execute vfloppy.exe according to the above format to write the boot code and image file name into the system, and then add the startup item in the osloader's startup configuration file Boot.ini. The following are two examples for illustration.
Example 1: Add Pure DOS Support to Windows 2000/xp
Although DOS has been excluded since Windows Me, we still can't do without it in many cases.
Step 1: Download the Windows Me boot floppy making tool from http://utils.skull-tech.com/bootdisks/bootme.exe, insert a floppy disk after downloading, and then double-click bootme.exe to start making the boot floppy.
Step 2: Install and run Winlmge (download address http://www.winimage.com/winima61.exe), click the menu "Disk → Read disk" to read the content of the just-made floppy disk, then click the menu "File → Save", select "image file (*.IMA)" in the "Save as type" option, and save the content of the floppy disk as an image file: "boot.ima" (note that the extension is not IMG, but actually it is the same).
Step 3: Create a new directory "DOS" on the C drive, that is, C:\dos. Then copy vfloppy.exe, vloader.bin, vmemdsk.ini, and boot.ima to the c:\dos directory.
Step 4: Enter "CMD" in the "Run" command line in the Start menu to enter the DOS prompt, enter the C:\dos directory and run the following command:
vfloppy -1 vloader.bin -2 vmemdsk.bin -i boot.ima.
Step 5: Find the boot.ini file in the root directory of the C drive, remove its read-only attribute, then open it with Notepad, and add the following content at the end of the file: c:\dos\vloader.ini="microsoft DOS PromPt".
Step 6: Restart the system, and you will see the "microsoft DOS PromPt" item in the system startup menu. Select it, and you can start the system like using the Windows Me boot floppy.
Tip: You can directly install the "Super DOS Universal Boot Disk" into the hard drive using the above method.
Example 2: Enable Pure DOS Support for Windows 98 to Have CD and USB Device Support
Step 1: Download from http://newdos.yginfo.net/dosware/mdos71bd.zip, and unzip it to get the super universal DOS boot disk MSDOS.IMG.
Step 2: For users who only install WINDOWS 98
1. Find a Windows 2000 or XP installation CD, and copy the three files bootfont.bi n, ntdetect.com, and ntldr (this file has no extension) from the i386 directory to the root directory of the C drive.
2. Create a new directory OSLoader on the C drive, then copy the two files Winnt.exe and dosnet.inf from the i386 directory in the Windows 2000 installation CD (cannot use the XP installation CD, otherwise it will not succeed) to the C:\OSloader directory.
3. Restart the system to enter pure DOS mode, then enter the C:\OSloader directory and run "Winnt.exe /s". At this time, some information will be prompted on the screen, just press the Enter key, and keep pressing the Enter key until there is no change on the screen after pressing the Enter key again. Then directly press the Ctrl+Alt+Del combination key, and you can see the dual-boot menu. Select "Microsoft Windows" to enter "Windows 98, then delete" the $win_nt$.~bt folder.
Step 3: Create a new directory 98DOS on the C drive, then copy vfloppy.exe,.wloader.bin, vmemdsk.bin, and msdos710.img to this directory.
Step 4: Click "Start → Run", enter "command" to enter the DOS prompt, enter the C:\98DOS directory, and enter: "vfloppy -1 vloader.bin -2 vmemdsk.bin -i msdos710.img". After running, it may prompt "The system cannot find the specified file", just ignore it and exit the command line directly.
Step 5: Find the Boot.ini file in the root directory of the C drive, remove its read-only attribute, then open it with Notepad, and modify the content as follows:
timeout=30
default=c:\
c:\="Microsoft Windows"
c:\98dos\vloader.bin="DOS Prompt With CD&USB"
Step 6: Restart the system, and you will see a new item "DOS Promt With CD&USB" in the system startup menu. Select it, and you can enter pure DOS mode that can start the CD drive and USB devices.
Example 3: Build Foxbase System
Many student friends like to write some small programs in Foxbase. We can use the feature that vfloppy supports 2.88MB capacity floppy image files.
Step 1: Create a Foxbose directory on the C drive. Download the Foxbase program package from http://www.wuyouschool.cn/download/foxbase.zip, extract all files to the C:\Foxbase directory, then download the world's smallest Chinese environment - Tianhui Chinese system from http://software.pchome.net/php/download2.php?sid=5094&url=/utility/=lan/chinese/Tway32.exe&svr=4, and copy the downloaded tway32.exe to the C:\Foxbase directory.
Step 2: Open Notepad, enter the following three lines of content:
@echo off
tway32.exe
mfoxplus.exe
Then click "File → Save", note that in the save dialog box, you need to select "Save as type" as "All files", then enter "File name" as "autoexec.bat", and save it to the C:\Foxbase directory.
Step 3: Make a boot floppy as introduced in Example 1, then delete all files in the floppy, then run Winlmage, click the menu "Disk→Read disk" to read the content in the floppy, then click "Image→Changeformat", select "2.88MB" in the pop-up dialog box and click the "OK" button to modify the floppy image capacity to 2.88MB, then click "Image→Inject a directory" to select the C:\Foxbase directory, you can add all files in this directory to the disk image, and it will prompt whether to overwrite the "autoexec.bat" file, select "Yes" to overwrite, and finally click the "File" menu's "Save" command to save the content of the floppy as an image file "foxbase.ima".
Step 4: Create a new directory "Foxbase" on the C drive, and copy vfloppy.exe, vloader.bin,.vmemdsk.bin, and foxbase.ima to the directory.
Step 5: Enter the c:\Foxbase directory under the DOS prompt, run the command: vfloppy -1 vloader.bin -2 vmendsk.bin -i foxbase.ima, then add C:\foxbase\vloader.bin="Foxbase Chinese" at the end of the boot.ini file.
Step 6: Restart the system, and select "Foxbase chinese" in the startup menu to automatically enter the Chinese-displayed Foxbase system.
II. Extended Applications
1. Add Multiple Boot Images
The above introductions all take adding one boot image as an example. Actually, Vfloppy also supports adding multiple boot images. For example, you can add a multi-functional DOS boot disk, then add a small Linux system (that is, the one packaged with a floppy image) or other characteristic boot disks. The basic steps for making multi-boot images are similar to the above, but you need to create a new directory for each image file separately, and copy the three core files vfloppy.exe,.vloader.bin, and vmemdsk.bim to each image file directory respectively, then execute vfloppy in each directory to add each image file. Finally, when modifying the Boot.ini file, just add multiple startup menus and make them point to different directories.
2. Easily Achieve Multi-system Coexistence
Previously, some people also mentioned modifying the MSDOS.SYS file to install multiple Windows 98, but it also needs to use batch processing to replace files back and forth, which is very inconvenient. Now with Vfloppy, it is convenient. You can create multiple boot images, then modify MSDOS.SYS in each image file to point to different Windows 98 paths. Combined with the skills of OSloader, the multi-system coexistence made is absolutely both beautiful and convenient, and will not damage the system, which is far better than other multi-system software.
|