硬盘无法启动,无光、软驱,没关系!不死系统让你电脑维护不耽误!
前些时候在系统维护区看到一个《清理 BIOS 垃圾,提高系统启动速度》的帖子。非常感兴趣,回去自己抽时间试验了一下,其实感觉启动速度提高并不明显。在失望之余,我又看到了 fujianabc 大侠在此帖的回复,说是在 BIOS 中加入一个 freedos。不怕各路大侠笑话,我的确是第一次听说可以将 freedos 放入 BIOS 中。于是开始怕怕地想自己搞一搞。在 fujianabc 提供的链接中间接的找到了 freedos 的 rom 版下载地址
http://rayer.ic.cz/romos/romose.htm ,好在这个 E 文网站自己还大致能够看懂。于是就一不做,二不休,干起来了。
先是将这个 romos.bin(64kb 的那个)下载下来,再准备好其他的工具,如 CBROM(老毛桃他用的是 CBROM 2.19 版),WinFlash(Windows 下刷新/备份 BIOS 的工具)。具体操作步骤如下:
1.备份 BIOS,以防万一
先运行 WinFlash,将当前的主板 BIOS 被分为一个文件,比如 I815_BAK.BIN。然后要制作 BIOS 应急恢复盘,就是在一张 Win98 启动软盘中添加上 BIOS 的自动恢复功能。具体方法:
(1)制作一张干净的 Win98 启动软盘,里面只保留 IO.SYS、MSDOS.SYS、COMMAND.COM 等着几个最基本的文件,然后将这个 I815_BAK.BIn 放到软盘的根目录下,再将 AWDFLASH.EXE(DOS 下的 AWARD BIOS 刷新工具)也放到软盘根目录,然后在软盘根目录中建立 AUTOEXEC.BAT 文件,内容如下:
AWDFLASH I815_BAK.BIN /PY /SN /SB /R
这样,万一修改的 BIOS 出了问题,刷新后无法启动,可以找来一台软驱,放入这张软盘,重新启动机器就可以自动恢复原来的 BIOS 了,切忌 /SB 参数一定要用上,这样的话刷新 BIOS 时不会更新 BIOS 的 BootBlock 部分,至少刷坏了后,主板还能够启动软驱和 ISA 的显卡。(ISA 显卡难求,软驱应该好找吧)
2.清理 BIOS 垃圾,腾出 64KB 空间
将 I815_BAK.BIN 做一个副本让我们来对其编辑,比如命名为 I815_DOS.BIN。先运行 CBROM219.EXE I815_DOS.BIN /D。用来查看一下当前 BIOS 的空间占用情况,发现剩余空间已经只剩 56.12k。
由于 I815 主板集成了 i752 显卡,因此会看到一个 VGA 模块,另外还有一个 VRS 模块,将这两个模块去掉后就可以腾出 64kb 的空间了。
依次运行 CBROM219.EXE I815_DOS.BIN /VGA Release 和 CBROM219.EXE I815_DOS.BIN /VRS 就可以将这两个模块去掉了,
我们再运行一次 CBROM219.EXE I815_DOS.BIN /D。此时我们会发现剩余空间已经增大到了 85.18kb。
3.加入 freedos 到 BIOS 文件中
既然有了足够的空间,我们就可以将这个 freedos 加进 BIOS 中了。
运行 CBROM219.EXE I815_DOS.BIN /ISA romos.bin,
我们就会看到新添加进去的 freedos 模块了。
4.刷新新的 BIOS 文件
将新的 BIOS 文件刷入当前主板中。这一步同样使用 WinFlash 就可以实现。不多说了
让我们来看看刷新后的效果吧,重新启动后,在自检跳过的第一个画面后,会出现 Press to boot ROMOS ! 这样的提示。
赶紧按下键盘上的 ScrollLock 键,自检会在列出设备清单以后出现 freedos 的加载画面,一行黄色的“Welcome to ROMOS ver. 1.02 by Martin Rehak (c) 2001-2006;
rayer@seznam.cz”。
很短的时间就启动完成了。
OK 了,至此,我们在 BIOS 中加入 freedos 微型操作系统(算是操作系统吗?嘿嘿!)的操作大功告成,只要你的硬盘上存在一个 FAT32 的分区,而且上面有一些比如 FDISK.COM、FORMAT.COM、DISKGEN.EXE、GHOST.EXE 等 DOS 下能够运行的程序的话,放心的运行它吧。你可以这样运行你的 GHOST 来恢复你的系统盘数据,也可以这样来分区、格式化,甚至还能够来安装操作系统。怎么样,是不是很爽?最重要的,即使你的光驱、软驱都没有了,硬盘的启动信息丢了无法启动了,也没有关系,启动到 freedos,运行 GHOST.EXE,搞定!
Hard drive fails to boot, no light, no floppy drive, no problem! The immortal system keeps your computer maintenance on track!
Some time ago, I saw a post "Clean BIOS Junk, Improve System Boot Speed" in the system maintenance area. I was very interested and went back to test it in my spare time. Actually, I felt that the improvement in boot speed was not obvious. In disappointment, I saw大侠 fujianabc's reply in this post, saying that adding a freedos in the BIOS. Don't be laughed at by all the great experts, I really heard for the first time that freedos can be put into the BIOS. So I started to be a little scared and wanted to do it myself. I indirectly found the download address of the rom version of freedos from the link provided by fujianabc
http://rayer.ic.cz/romos/romose.htm. Fortunately, I can generally understand this English website. So I went ahead and did it.
First, I downloaded this romos.bin (the 64kb one), and then prepared other tools, such as CBROM (Lao Maotao used CBROM version 2.19), WinFlash (a tool for flashing/backing up BIOS under Windows). The specific operation steps are as follows:
1. Backup BIOS, just in case
First, run WinFlash to divide the current motherboard BIOS into a file, such as I815_BAK.BIN. Then, we need to make a BIOS emergency recovery disk, that is, add the automatic recovery function of BIOS to a Win98 boot floppy disk. The specific method:
(1) Make a clean Win98 boot floppy disk, which only retains the most basic files such as IO.SYS, MSDOS.SYS, COMMAND.COM, etc. Then put this I815_BAK.BIn in the root directory of the floppy disk, and also put AWDFLASH.EXE (DOS-based AWARD BIOS flashing tool) in the root directory of the floppy disk. Then create an AUTOEXEC.BAT file in the root directory of the floppy disk with the following content:
AWDFLASH I815_BAK.BIN /PY /SN /SB /R
In this way, if there is a problem with the modified BIOS and it cannot boot after flashing, you can find a floppy drive, insert this floppy disk, and restart the machine to automatically restore the original BIOS. Be sure to use the /SB parameter, so that the BootBlock part of the BIOS will not be updated when flashing the BIOS. At least after bricking, the motherboard can still boot the floppy drive and ISA graphics card. (ISA graphics cards are hard to find, floppy drives should be easy to find)
2. Clean BIOS junk, free up 64KB space
Make a copy of I815_BAK.BIN for us to edit, for example, name it I815_DOS.BIN. First, run CBROM219.EXE I815_DOS.BIN /D. Use this to check the current BIOS space usage, and find that the remaining space is only 56.12k.
Since the I815 motherboard integrates an i752 graphics card, a VGA module will be seen, and there is also a VRS module. Removing these two modules can free up 64kb of space.
Run CBROM219.EXE I815_DOS.BIN /VGA Release and CBROM219.EXE I815_DOS.BIN /VRS in sequence to remove these two modules,
We run CBROM219.EXE I815_DOS.BIN /D again. At this time, we will find that the remaining space has increased to 85.18kb.
3. Add freedos to the BIOS file
Now that there is enough space, we can add this freedos to the BIOS.
Run CBROM219.EXE I815_DOS.BIN /ISA romos.bin,
We will see the newly added freedos module.
4. Flash the new BIOS file
Flash the new BIOS file into the current motherboard. This step can also be realized using WinFlash. Not much to say
Let's take a look at the effect after flashing. After restarting, after skipping the first screen in the POST, the prompt "Press to boot ROMOS!" will appear.
Hurry up and press the ScrollLock key on the keyboard. After listing the device list in the POST, the loading screen of freedos will appear, with a line of yellow "Welcome to ROMOS ver. 1.02 by Martin Rehak (c) 2001-2006;
rayer@seznam.cz".
It starts up in a very short time.
OK, so far, the operation of adding the freedos micro operating system (is it considered an operating system? Hehe!) in the BIOS is a great success. As long as there is a FAT32 partition on your hard drive and there are some programs that can run under DOS, such as FDISK.COM, FORMAT.COM, DISKGEN.EXE, GHOST.EXE, etc., run it with confidence. You can run your GHOST to restore your system disk data like this, you can also partition, format like this, and even install the operating system. How about it, isn't it very cool? Most importantly, even if your CD-ROM drive, floppy drive are gone, and the boot information of the hard drive is lost and cannot boot, it doesn't matter. Boot to freedos, run GHOST.EXE, done!