无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 5629|回复: 23
打印 上一主题 下一主题

从光盘启动windows98

[复制链接]
跳转到指定楼层
1#
发表于 2002-3-4 08:10:28 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Tobias Remberg, Hajo Schulz
Last Aid
Booting Windows From CD-ROM
Regular backups often only offer a false feeling of security: After a system crash Windows frequently doesn't even start up anymore, and this puts the restore program out of reach, too. Therefore, a bootable and virus-proof Windows installation on CD ROM should really be found in every well-stocked emergency kit.
'To start Windows 95 or 98 in GUI mode, it must be installed on a writeable medium. You cannot start Windows from CD.' Similar statements have been published in various PC magazines, and c't has said it, too. The time has come to revise this statement.
The reason for this assumption lies in the fact that Windows spits out masses of error messages when unable to access the registry during startup. However, this is essentially only cosmetic: If you can live with it, Windows 9x can indeed be started from a CD ROM. This article will deal with how to eliminate the error messages and optimize CD ROM booting.
The advantages of starting Windows from CD sound like a list of things administrators and teachers, power users and normal users have always wanted. For one thing would there are the long file names: When there is no Windows running - be it because of a system crash or because of user thoughtlessness (format c:) - it is often very problematic to save long file names. Windows normally also needs to be up for extracting a file from a backup archive or an encoded file system. According to Murphy's Law, however, it is exactly after a system crash when there is no time for re-installing the system. In addition, a re-installation would possibly overwrite the very data you want to rescue.
Another advantage is the option to run one's own system and customized programs on someone else's computer. This may prove the last resort to rescue things on business trips. A cryptographically secure system which can only be accessed by booting one's own system on someone else's computer is a must in security sensitive areas.
In addition, bootable CDs could be advantageous for schools and Internet caf閟, i.e. places where computers are subjected to games and hack-loving users. This way, computer loving students find their popular dice game of 'how to install a Trojan horse on the school computer to log password entries and then acquire admin rights' turns into a Gordian knot. It could be the silver lining stressed-out first generation computer science and maths teachers have been looking for in the land of invincible computer freaks.

Take...
To make a bootable Windows CD, you need a CD ROM burner and the respective software as well as at least 500 MBytes of hard disk space and a few freeware programs from the Internet we'll tell you about later. Also, you should already have installed Windows on a computer and know a few basic DOS commands - it does get a bit tricky, you see. And time-consuming: You'll probably need at least three hours because of the numerous reboots.
What's being described will so far only work with Windows 95b upwards and Windows 98. Windows 95a gets stuck during installation. Windows NT or 2000 can - until further notice - not be put on CD due to their completely different structure.
In fact it's all down to registry write access. There are two places which make sense for starting Windows from CD. Number one would be directly on CD. A system which has its registry on a CD will work. It proves wrong to assume that Windows 95 needs a writeable medium during startup. Although Windows will constantly moan about the hard disk being full things like backups can be restored without difficulties.
The second - and more elegant - place for the registry is a RAM disk. A RAM disk is a part of main memory pretending to be a normal hard disk which doesn't retain its data beyond a reboot. The trick is that you don't have to copy all of the Windows files into RAM disk, only the registry files. This takes the RAM disk space required for the 40MB of a minimal Windows installation down to less than 4MB. All the other files which won't change after startup anyway will remain on CD. Then, Windows will run on a combination of RAM disk and CD ROM. This way, the registry has write access without a hard disk being present.

Temporary Injunction
Before you set out to install Windows on CD ROM you should make a bootable startup disk from a running system and copy the \win95 or \win98 directory from you Windows CD onto your hard disk. This will for one thing speed up installation and will in addition - trivial as it may seem - prove advantageous because you don't need any CD ROM drivers. You may find yourself in trouble when you boot from a disk which includes CD ROM drivers and then try to reboot after running the installation procedure.
Then, you must create a few hard disk directories: c\w serves for preparing the CD ROM boot image, c:\cdrom will store everything that will afterwards be put on CD. The data which needs to go into RAM disk will initially be saved in c:\cdrom\ramdisk, the RAM disk's 'Windows directory' will be c:\cdrom\ramdisk\w. Also, you should create a c:\backup directory and copy msdos.sys, io.sys, config.sys and autoexec.bat into it from c:\.
The c:\w directory should also hold dblbuff.sys, himen.sys, ifshlp.sys and setver.exe from your Windows directory as well as attrib.exe, keyb.com, keyboard.sys, mscdex.exe, subst.exe, xcopy.exe, xcopy32.exe and - for Windows 98 - xcopy32.mod from \windows\command. Plus the DOS driver(s) for your CD ROM drive and a RAM disk driver. Ramdrive.sys, which comes with Windows, is unsuitable because you cannot assign a drive letter. A well-tested alternative is xmsdsk.exe, a free utility you can among others download at [1]. If you want to use a different one, change the settings in autoexec.bat accordingly.
Before re-installing Windows you should delete c:\config.sys and c:\autoexec.bat (have you really made backups?) and then create a new autoexec.bat containing the following:
c:\w\subst.exe x: c:\cdrom
path c:\;c:\w
Because the system will later run from CD and the CD ROM drive can only be assigned a drive letter which hasn't been assigned yet, the system should be installed on a drive with a letter from the back of the alphabet. This is important to make all registry links and paths partition-independent. Instead of setting up a number of dummy partitions, you can use the subst DOS command to assign a drive letter to a hard disk directory of your choice. The first line in autoexec.bat makes the c:\cdrom drive accessible as drive X: the same way the CD will be accessed after booting the system.
To avoid overwriting existing installations with the following Windows setup you should rename all win.com and system.ini files in all Windows directories on all partitions, even in the current one. Similar things apply to files called system.dat. However, to get to them you must leave Windows and reboot the computer to its command line. Then, you make the system.dats accessible by typing attrib -r -h -s and giving them a new name. This precaution has a background: When Windows can't find the registry in the place it is looking for it during startup, it will look for a system.dat file - which contains the registry - on all the other partitions and will start it from there. This may cause the wrong system.dat to be booted and might even influence other installations.
New From The Start
Then proceed to re-install Windows by starting setup.exe from the hard disk directory containing the Win9x branch you copied from your Windows CD. Setup will complain that subst.exe is loaded. Ignore this message by pressing ESC against the program's recommendation. Use X:\W as the installation path.
The first installation reboot must be done from the Windows startup floppy you made previously. You should therefore ignore the instruction to remove all floppy disks from the drives. When installed on a network drive - and virtual drives created with subst belong in this category - Windows does not automatically choose the right paths for autoexec.bat and config.sys. Therefore, the first reboot must be done from the startup floppy, enabling you to correct these paths and add ifshlp.sys, a missing file which supports VFAT, to your config.sys. Use edit to load c:\config.sys from the command line and make sure it contains at least the following lines with correct path instructions:
devicehigh=c:\w\himem.sys
devicehigh=c:\w\ifshlp.sys
devicehigh=c:\w\dblbuff.sys
devicehigh=c:\w\setver.exe
Then check autoexec.bat in the same way. Here, the path must be extented to include the Windows and Windows\Command directories on our future CD. Without this information, the system won't find win.com when booted from CD, a file which initializes the GUI mode startup process. Your minimal configuration looks like this:
c:\w\subst.exe x: c:\cdrom
path c:\w;x:\w;x:\w\command;x:\w\system
Remove the startup floppy, restart your computer using ctrl-alt-del and finish your installation. Now, you should adapt this Windows setup to include your own preferences. Whatever you configure at a later date will be forgotten again as the registry will reside in a RAM disk. Therefore, you should also be sure to install all required drivers - for example sound and graphics boards drivers - and to prepare any other programs which are to be included on CD. To make the following steps a bit easier, do install the TweakUI utility. In Windows 98, you find it in the \tools\reskit\powertoy directory on your Windows CD; the free Windows 95 version is available on the Internet at [2].

Separate Ways
Preparing a RAM disk for the registry again involves the DOS command subst. Add the following line as the second one to c:\autoexec.bat:
c:\w\subst.exe w: c:\cdrom\ramdisk
Windows expects to find the registry files in \msdos.sys on the startup volume. To edit it, you must first make it accessible with attrib -s -h -r. Then, you can adapt the path instructions in the first four lines:
[Paths] WinDir=w:\w
WinBootDir=w:\w
HostWinBootDrv=w
While you're editing msdos.sys, you should add a line at the end of the last text section with
DisableLog=1
If there's already a DisableLog=0, don't add another entry for this, but just change it to 1.
To prevent the system from using a hard disk system.dat when booted from CD, causing the side effects described, the registry should be renamed. Its name is noted in c:\io.sys. To patch it, you must again render it visible. Then, edit it in a hex editor - failing that use edit /70 c:\io.sys in a DOS window -, search for the character sequence system.dat and change it to system.tat. This little operation makes sure only files named system.tat will be recognized as registry files, any system.dat files will be ignored.
This patch is very recommendable for Windows 95, but for Windows 98 there are more things to consider: Here, the registry name is not only wired into the io.sys file but also in the program files responsible for automatically checking the registry during startup. If you make the change, you face a registry error message every time you boot. In addition, scanregw.exe must be prevented form being loaded, for example by deactivating it with msconfig.exe in its autostart folder.
For the next Windows reboot to work smoothly, copy the start menu folder from c:\cdrom\w to c:\cdrom\ramdisk\w now.
To fill your temporary RAM disk substitute, close Windows and start a command prompt only. Copy system.dat, system.ini, user.dat and win.ini from c:\cdrom\w to c:\cdrom\ramdisk\w after having made them accessible with attrib. In case you included the io.sys patch, rename the system.dat file in the target directory to system.tat.
Restarting Windows will now make the program use the drive W: registry. However, the system needs write access not only to the registry but also to the Windows directory. Therefore, this directory should be put into RAM disk after booting from CD. Its position is noted in the registry at the HKLM\Software\Microsoft\Windows\CurrentVersion key. Use regedit.exe to change the value systemroot to 'w:\w'.
At present, the start menu resides in the RAM disk simulated with subst, but it only uses up unneccessary space there. You should therefore move it back to the CD: Start TweakUI from the system controls folder, choose 'General' and readjust the 'Special Folders' entries for 'Programs', 'Start Menu' and 'Startup' to read 'x:\w\startmenu or the respective subdirectories. For Windows 98, you should also readjust the 'Desktop' entry to read 'x:\w\Desktop'. After rebooting, the w:\w\Startmenu and w:\w\Desktop folders can be deleted.

Casual Aquaintance
Setting up a real RAM disk requires rebooting to DOS again. The command attrib -s -h -r c:\cdrom\ramdisk\*.* /s removes 'bad' flags in the files which are to go into the RAM disk. Now, use edit in c:\autoexec.bat to delete or disable the line subst w: c:\cdrom\ramdisk per REM. In its place, add the following lines:
c:\w\xmsdsk 4000 w: /y
copy c:\command.com w:\
set COMSPEC=w:\command.com
c:\w\xcopy c:\cdrom\ramdisk\*.* w:\ /s
During startup, this sets up a 4000KByte RAM disk instead of a subst drive. The copy commands fill it with a command line interpreter which has been designated current shell via COMSPEC, and with the contents of the directory containing the registry.
If everything runs smoothly after rebooting, you can delete all files in c:\cdrom\ramdisk\w except system.ini, user.dat, win.ini, control.ini and system.tat or system.dat respectively.

Burnt Out
To create a bootable CD, you need a startup disk or - varying with burner software - an image of it. Should your software not be capable of burning bootable CDs you can still make a normal CD and start it with this (write protected) disk. With computer BIOSs which don't support booting from CD, a disk is again the only way of breathing life into you CD.
Therefore, create a normal startup disk using format a:/s or sys a:. Copy the patched io.sys and msdos.sys files as well as the config.sys and autoexec.bat you just made from c:\, replacing existing files. In addition, put the entire c:\w directory onto your disk.
Now, a:\config.sys must be amended to include the right paths and any CD ROM driver(s). The result should look something like this:
devicehigh=a:\w\himem.sys
devicehigh=a:\w\ifshlp.sys
devicehigh=a:\w\dblbuff.sys
devicehigh=a:\w\setver.exe
device=a:\w\aspi8dos.sys
device=a:\w\aspicd.sys /D:CD001
Again, paths must also be changed in a:\autoexec.bat; in addition, the subst command must be replaced with mscdex.exe. The finished file should read like this:
a:\w\mscdex.exe /D:CD001 /L:X /M:50
a:\w\xmsdsk 4000 w: /y
copy a:\command.com w:\
set COMSPEC=w:\command.com
a:\w\xcopy x:\ramdisk\*.* w:\ /S
path w:\;x:\w;x:\w\command; x:\w\system
x:
Make sure the mscdex.exe data buffer isn't too small. With the usual /M:12 and a fast drive, Windows might get stuck during startup when the drive doesn't provide the data fast enough. The parameter /L:X states that the CD ROM drive is to be given the drive letter X:. The reasoning behind the last line can be found in the box called 'bull fight'.
Before reactivating your old hard disk system it might be advisable to copy io.sys, msdos.sys, config.sys and autoexec.bat from c:\ to a separate directory so you don't have to start from scratch if the CD doesn't work or you want to create a different version. Then, copy the files from c:\backup back to c:\ and change the altered system.dat, system.ini and win.com back to their original names.
If your burner software can't read a bootable disk, use a free command line tool like getbtimg [3] or the Windows shareware program WinImage [4] to create an image of the disk you just made. What happens next varies strongly with the respective burner software. Make sure you use attrib -s -h c:\cdrom\*.* /s to remove unwanted flags from the directory contents to be copied before burning your CD. The CD is to have a Joliet file system and contain all of c:\cdrom in its root directory.
In [3], you will also find instructions on how to create a bootable CD without the burner software being equipped for it.
Should reading this article have left you with the impression that creating a bootable Windows CD is quite a strenuous task you can put your mind at ease: It may seem complicated, but actually doing it will be more of a stroll than anything else. (hos)
Bibliography
[1] Free Software For DOS, http://www.geocities.com/SiliconValley/Lakes/1401/softlib1.htm
[2] Windows 95 Power Toys Set, http://www.microsoft.com/windows95/downloads/contents/wutoys/w95pwrtoysset/
[3] How to make a PC-bootable CD, http://www.os.rim.or.jp/~gigo/bootcd/index_e.html
[4] WinImage, http://www.winimage.com/
[5] Klaus Ditze, Booten von CD, Neues Feature neue Fragen, c't 12/95, S. 72
[6] Curtis E. Stevens, Stan Merkin, `El Torito?Bootable CD-ROM Format Specification, PDF-Dokument at http://www.ptltd.com/techs/specs.html
[7] Ahead Software GmbH, Nero Burning ROM, http://www.ahead.de/
2#
 楼主| 发表于 2002-3-4 18:30:30 | 只看该作者

从光盘启动windows98

我认为这个方法是可行的
哪位做做试试看
回复

使用道具 举报

3#
发表于 2002-3-4 23:12:27 | 只看该作者

从光盘启动windows98

能不能翻译成中文的?这个我以前看过,
可这些豆芽真的很难,用词霸翻译了一会,
就看不下去了。:(
回复

使用道具 举报

4#
发表于 2002-3-5 12:32:52 | 只看该作者

从光盘启动windows98

我来试试,不过可能没有那么快有结果,这段时间比较忙,我也认为是可行的,不知大家有没有见过ZIP100的那种启动盘,就是一张100M的ZIP做的WINDOWS启动盘
回复

使用道具 举报

5#
 楼主| 发表于 2002-3-7 18:30:04 | 只看该作者

从光盘启动windows98

3x
我也是没时间
等新机器配好会试一下
我曾经刻过一张模拟硬盘启动的光盘
启动98时问题跟文中提到的一样
在vmware中如果把物理分区设成虚拟机的硬盘的话
只读访问也是用ramdisk实现的
所以我认为这种方法是可行的
回复

使用道具 举报

6#
发表于 2002-3-8 10:10:13 | 只看该作者

从光盘启动windows98

你这篇东东从哪里找来的,看得好累啊
回复

使用道具 举报

7#
 楼主| 发表于 2002-3-8 13:19:32 | 只看该作者

从光盘启动windows98

地址忘了
是从www.nu2.nu上点过去的
回复

使用道具 举报

8#
发表于 2002-3-8 13:33:57 | 只看该作者

从光盘启动windows98

从光盘启动windows98,要这么罗嗦,你也简直也太罗嗦。
简单的事搞复杂了太累,复杂的事搞简单那才叫贡献!!!
回复

使用道具 举报

9#
 楼主| 发表于 2002-3-10 16:52:25 | 只看该作者

从光盘启动windows98

Booting Windows From CD-ROM
Windows无法从光盘启动的原因是启动时Windows会报告无法访问注册表。本文将解释如何消除这些错误并优化光盘启动。
制作一张可启动的Windows光盘,需要至少500M磁盘空间,一些自由软件。并且需要了解一些DOS命令。
本文所介绍的方法只可用于Windows 95b以上的系统和Windows 98,不可用于NT和2000的启动光盘。
实际上所有的问题就是处理Windows对磁盘的写访问。考虑两个问题:其一,注册表位于光盘的系统可以正常启动并运行。其二,将注册表置于RAM盘。RAM盘是主存的一部分并被模拟成一个硬盘。其中的窍门是只需要拷贝注册表文件到RAM盘,因此该RAM盘只需4M左右的内存空间。所有启动时无需写访问的文件都留在光盘上。用这种方法,在没有硬盘的情况下注册表将也可以被写访问。
开始安装Windows之前,需要制作一张启动盘,并且将Win98的安装目录拷贝到硬盘上,这将加速安装的过程。
然后需要创建一些目录:
c:\w 将用于光盘的启动镜像
c:\cdrom 将作为光盘的目录
c:\cdrom\ramdisk 用于存放光盘启动时讲被拷贝至RAM盘的文件
c:\cdrom\ramdisk\w 作为RAM盘的Windows目录
c:\backup 将msdos.sys, io.sys, config.sys, autoexec.bat拷入,用于当前系统的备份
将下列文件拷入c:\w
dblbuff.sys, himen.sys, ifshlp.sys, setver.exe(位于windows目录)
attrib.exe, keyb.com, keyboard.sys, mscdex.exe, subst.exe, xcopy.exe, xcopy32.exe, xcopy32.mod
(位于windows\command目录)
DOS下的光驱驱动,RAM驱动(ramdrive.sys是不合适的,因为不能为它指定盘符,可以使用xmsdsk.exe,可以从【1】免费下载,如果使用了别的驱动,需要修改autoexec.bat中的配置)
重装windows之前必须删除c:\config.sys和c:\autoexec.bat,并且创建一个新的autoexec.bat,加入下列配置:
c:\w\subst.exe x: c:\cdrom
path c:\;c:\w
因为系统将要从光盘运行,而光盘只能分配未被分配的盘符,因此系统必须被安装在后面的驱动器上。这对于使注册表与盘符独立很重要。因此使用subst命令将你安装windows的目录映射为一个虚拟的盘符,autoexec.bat中的第一行将c:\cdrom映射到x:盘。
为了防止现存的系统被覆盖,需要重命名硬盘上所有的win.com和system.ini文件,另外也包括system.dat。因为windows启动时若无法在系统目录下找到这些文件,系统将自动在所有分区上寻找system.dat这将可能影响其他系统。
现在开始安装windows。运行setup.exe,它将报告subst.exe已经被加载。忽略这个信息,按esc拒绝程序的建议继续安装。并且使用x:\w作为安装路径。安装时的第一次重启必须从先前制作的软盘启动,忽略取走软驱的提示。从软盘启动后编辑c:\config.sys,加入如下配置,其中ifshlp.sys用于支持VFAT文件系统:
devicehigh=c:\w\himem.sys
devicehigh=c:\w\ifshlp.sys
devicehigh=c:\w\dblbuff.sys
devicehigh=c:\w\setver.exe
同样再编辑c:\autoexec.bat,加入以下配置:
c:\w\subst.exe x: c:\cdrom
path c:\w;x:\w;x:\w\command;x:\w\system
取走软盘,按ctrl-alt-del重启并且完成安装。至此,你可以在这个系统上安装一些必须的驱动和应用程序,这些最终都将放入光盘,比如声卡和显卡驱动。为了使稍后的安装更为简便,你需要安装TweadUI工具。在windows98中你可以在\tools\reskit\powertoy目录中找到,windows95版本可以在【2】免费下载。
现在来为注册表准备RAM盘,依旧使用subst命令,在c:\autoexec.bat中加入下面这行:
c:\w\subst.exe w: c:\cdrom\ramdisk
windows将在启动分区的\msdos.sys中寻找注册表文件的位置,所以需要修改它。这个文件具有系统属性,用attrib msdos.sys -s -h -r命令去掉它的系统,隐藏,只读属性。然后可以修改它的前四行如下:
[Paths]
WinDir=w:\w
WinBootDir=w:\w
HostWinBootDrv=w
编辑msdos.sys时需要加入以下这行:
DisableLog=1
注意如果已经包含一行DisableLog=0则只需将0改为1即可。
如上述,为了防止光盘启动时系统读取硬盘上的system.dat,注册表文件必须被改名。它的名字包含在c:\io.sys中,使用16进制编辑器修改它,搜索所有的system.dat字符串,将它改为system.tat。这个改动将确保只有system.tat将被认为是系统的注册表文件,而system.dat将被忽略。
在windows95系统中推荐进行这个修改,而在windows98中需要考虑更多的问题:注册表文件名并非只在io.sys中指出,在一些启动时运行的应用程序中也将自动检测这个注册表文件,如果做了这个改动,你可能在每次启动时都面临注册表错误的信息。而且scanregw.exe在启动时必须被禁止,可以使用msconfig.exe来禁止它。
为了使接下来的一次重启更为安全,将start menu从c:\cdrom\w拷贝至c:\cdrom\ramdisk\w
然后关闭windows至命令行状态,将system.dat, system.ini, user.dat, win.ini从c:\cdrom\w拷贝至c:\cdrom\ramdisk\w,若你按上述方法修改了io.sys,此时需要将system.dat改名为system.tat
当再次重启windows时将使用w:盘中的注册表。然而,系统启动时不仅要写访问注册表文件,而且要写访问系统目录。因此从光盘启动系统后系统目录必须改为RAM盘的路径,这个位置在注册表中由以下键值指出,使用regedit.exe修改这个键值为'w:\w':
HKLM\Software\Microsoft\Windows\CurrentVersion
目前start menu驻留在RAM盘上(由subst命令模拟的),但它占用了不需要的空间,因此你需要将其移回光盘:从system controls目录启动TweakUI,选择'General'并且并且调整'Special Folders'的入口,将'Programs', 'Start Menu', 'Startup'改为'x:\w\startmenu'和各自的子目录。在windows98中同时需要调整'Desktop'目录的入口至'x:\w\Desktop',重启后w:\w\Start Menu目录和w:\w\Desktop目录可以被删除。
接下来配置一个真实的RAM盘,再次重启至DOS,用attrib c:\cdrom\ramdisk\*.* -s -h -r /s去掉c:\cdrom\ramdisk下所有文件的系统,隐藏和只读属性。编辑c:\autoexec.bat,删除以下这行:
subst w: c:\cdrom\ramdisk
并且加入如下几行:
c:\w\xmsdsk 4000 w: /y
copy c:\command.com w:\
set COMSPEC=w:\command.com
c:\w\xcopy c:\cdrom\ramdisk\*.* w:\ /s
在启动过程中这些设置分配了4000K内存作为RAM盘,取代了先前由subst命令虚拟的RAM盘。copy命令将命令解释器和系统目录中的注册表文件拷贝至RAM盘,COMSPEC参数则指定了命令解释器的位置。
如果重启后一切运行正常,这时便可删除c:\cdrom\ramdisk\w下的所有文件,除了保留system.ini, user.dat, win.ini, control.ini, system.dat(或者system.tat,如果修改了io.sys的话)。
刻录:
刻录一张启动光盘,你需要一张启动盘活者一个启动盘的镜像文件,这取决于所使用的刻录软件。
因此,需要制作一张普通的启动盘,使用format a:/s或sys a:,复制c:\下先前修改过的io.sys, msdos.sys, config.sys, autoexec.bat至该启动盘,覆盖原来的文件,并且将整个c:\w目录拷入软盘。
现在必须修改a:\config.sys以包含正确的路径。修改的结果如下:
devicehigh=a:\w\himem.sys
devicehigh=a:\w\ifshlp.sys
devicehigh=a:\w\dblbuff.sys
devicehigh=a:\w\setver.exe
device=a:\w\aspi8dos.sys
device=a:\w\aspicd.sys /D:CD001
同样的,a:\autoexec.bat中的路径也必须修改,subst命令必须用mscdex.exe取代,最终修改如下:
a:\w\mscdex.exe /D:CD001 /L:X /M:50
a:\w\xmsdsk 4000 w: /y
copy a:\command.com w:\
set COMSPEC=w:\command.com
a:\w\xcopy x:\ramdisk\*.* w:\ /S
path w:\;x:\w;x:\w\command; x:\w\system
x:
确认mscdex.exe的数据缓冲不至于太小,/M:12的参数和一个快速的光驱,windows可能在启动是因为光驱无法以足够快的速度提供数据而死机。参数/L:X指定了光驱的盘符为x:。
恢复原系统之前你可以将io.sys, msdos.sys, config.sys, autoexec.bat从c:\备份到某一无关的目录,以备后需。并且将c:\backup中的原系统备份拷回c:\并且将先前更名的system.dat, system.ini, win.com改回原名。然后可以启动原系统进行刻录。
该光盘必须含有一个Joliet文件系统并且将c:\cdrom作为它的根目录。
参考书目:
[1] Free Software For DOS, http://www.geocities.com/SiliconValley/Lakes/1401/softlib1.htm
[2] Windows 95 Power Toys Set, http://www.microsoft.com/windows95/downloads/contents/wutoys/w95pwrtoysset/
[3] How to make a PC-bootable CD, http://www.os.rim.or.jp/~gigo/bootcd/index_e.html
[4] WinImage, http://www.winimage.com/
[5] Klaus Ditze, Booten von CD, Neues Feature neue Fragen, c't 12/95, S. 72
[6] Curtis E. Stevens, Stan Merkin, `El Torito?Bootable CD-ROM Format Specification, PDF-Dokument at http://www.ptltd.com/techs/specs.html
[7] Ahead Software GmbH, Nero Burning ROM, http://www.ahead.de/
回复

使用道具 举报

10#
 楼主| 发表于 2002-3-11 10:20:44 | 只看该作者

从光盘启动windows98

我已经做出来了
很简单
就是启动有点慢
做一张当急救盘还是很值的
回复

使用道具 举报

11#
发表于 2002-3-11 12:52:30 | 只看该作者

从光盘启动windows98

今天晚上要加班,明天不上班我来试一试,好象是不难做,不过我想问一下,能不能要配置不同的机启动,好好象不行吧
回复

使用道具 举报

12#
 楼主| 发表于 2002-3-11 13:36:48 | 只看该作者

从光盘启动windows98

启动应该是没问题的
不过就是显卡声卡什么都没了
回复

使用道具 举报

13#
发表于 2002-3-11 15:13:55 | 只看该作者

从光盘启动windows98

是不是应该把系统设备里的“即插即用BIOS”删掉?
回复

使用道具 举报

14#
 楼主| 发表于 2002-3-11 18:05:23 | 只看该作者

从光盘启动windows98

[这个贴子最后由solospace在 2002/03/11 02:08am 编辑]

应该装了驱动也是无妨的
拿到别的机器上如果硬件不一样
98启动时会自动调整
还有建议大家做95的盘试试
我做了一张98的运行起来实在太慢了
光驱跟硬盘毕竟差得太多
还有文中提到的io.sys中改注册表文件名,我没有改
不改也没碰到问题,改了反而容易出错
回复

使用道具 举报

15#
发表于 2002-3-11 19:36:23 | 只看该作者

从光盘启动windows98

明天我做个Win97吧,好的话放出来给大家,但我没有空间
回复

使用道具 举报

16#
发表于 2002-3-12 08:58:30 | 只看该作者

从光盘启动windows98

唉~做Windows 3.1就可以啦~95、97太慢啦~
我大概在97年就见过光盘里启动Windows 3.1啦~
回复

使用道具 举报

17#
发表于 2002-3-12 13:51:31 | 只看该作者

从光盘启动windows98

下面引用由pk43212002/03/11 04:58pm 发表的内容:
唉~做Windows 3.1就可以啦~95、97太慢啦~
我大概在97年就见过光盘里启动Windows 3.1啦~
这个我有啊,不是在光盘上用的,是COPY到硬盘就可以用了,不用安装,还装有WORD EXCEL和FoxPro
回复

使用道具 举报

18#
发表于 2002-3-12 14:42:53 | 只看该作者

从光盘启动windows98

solospace :有两个问题问一问你的,我把注册表COPY到了做RAMDISK的目录,做如何使系统用这个注册表而不用WINDOWS的目录里的呢?还有一个,就是我用XMSDSK 建立RAM盘好如何把Start MENU什么的几个目录COPY到RAM盘里啊,都是长文件名,而且我一加载了RAM 盘,系统就进入DOS兼容模式,用不了长文件名啊。
回复

使用道具 举报

19#
 楼主| 发表于 2002-3-13 10:54:10 | 只看该作者

从光盘启动windows98

可以按照文中介绍的方法
系统安装完成后
1)将Start Menu, Desktop, Web三个目录拷入ramdisk
然后从软盘重启
去掉system.dat, system.ini, user.dat ....的只读和隐藏属性
也将他们拷入ramdisk
在命令行下运行regedit修改ramdisk中的注册表
首先导出
将当前目录置为ramdisk\w
regedit l:system.dat r:user.dat /e s.reg HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion
然后用文本编辑器打开s.reg将SystemRoot的值改为w:\\w
存盘再导入:
regedit l:system.dat r:user.dat s.reg
注册表就该好了
2)第二次重启,从硬盘
这时启动时用的start menu和desktop都是ramdisk上的
启动后用tweak工具将start menu, desktop,program,启动等目录都改到x盘
这样ramdisk中用到的只有几个注册表文件和web目录
这些都不是长文件名
用xcopy就可以拷过去
下面就按他说的做,没什么特别的地方
另外web中的wallpaper目录是长文件名
但是启动时不需要,用默认桌面就不需要这个目录,可以干脆把它删掉
回复

使用道具 举报

20#
 楼主| 发表于 2002-3-13 10:57:10 | 只看该作者

从光盘启动windows98

建议用cdrwin刻盘
因为windows中有些快捷方式用的是msdos文件名
而用nero刻盘会改掉msdos文件名,所以一些快捷方式会不能用
cdrwin就没有这个问题
回复

使用道具 举报

21#
发表于 2002-3-23 13:21:27 | 只看该作者

从光盘启动windows98

谁能给我“xmsdsk.exe”,文中提供的网址打不开,我在网上也没找到!
万分感谢!
回复

使用道具 举报

22#
发表于 2002-3-23 21:04:17 | 只看该作者

从光盘启动windows98

你说的是什么东东啊,看不懂啊,你可不可以打个包传上去啊,我来下载然后再做成启动盘
回复

使用道具 举报

23#
 楼主| 发表于 2002-3-25 15:34:54 | 只看该作者

从光盘启动windows98

我现在没时间
你可以用google搜一下
过几天传上来
回复

使用道具 举报

24#
发表于 2002-3-27 11:56:03 | 只看该作者

从光盘启动windows98

谢谢,已找到!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2025-12-17 02:59

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表