|
ironchen
初级用户
 
积分 30
发帖 10
注册 2007-6-14
状态 离线
|
『楼 主』:
grub4DOS启动软盘启动后怎么设置从光盘重新启动?
使用 LLM 解释/回答一下
自己做了个dos软盘,
下面是我的menu.lst
color white/green yellow/green
timeout 10
default 0
title 1. MS-DOS 7.10
root (fd0)
chainloader /io.sys
title 2. Boot from Hard Drive
root (hd0,0)
chainloader +1
title 3. Boot from CD Drive
cdrom --init
map --hook
root (cd0)
chainloader /io.sys
title 4. Reboot computer
reboot
关键是从CD启动的选项,dos的启动光盘没问题,但如果是winpe的启动光盘或者安XP、VISTA安装光盘之类的根本没有io.sys就提示找不到文件???有没有通用的CD启动方法,怎么改才可以啊?
还有个问题是软盘启动后没有进入这个选单前,屏幕上有一大堆例如int??的asm代码,看起来很乱,有没有沉默启动的选项,除了选单和出错之后的提示外不要有其他信息?
谢谢!
I made a DOS floppy disk by myself.
Below is my menu.lst
color white/green yellow/green
timeout 10
default 0
title 1. MS-DOS 7.10
root (fd0)
chainloader /io.sys
title 2. Boot from Hard Drive
root (hd0,0)
chainloader +1
title 3. Boot from CD Drive
cdrom --init
map --hook
root (cd0)
chainloader /io.sys
title 4. Reboot computer
reboot
The key is the option to boot from CD. The DOS boot CD is okay, but if it's a WinPE boot CD or an XP, VISTA installation CD, etc., which have no io.sys, it prompts that the file is not found??? Is there a universal CD boot method, how to modify it?
Another problem is that after booting from the floppy disk and before entering this menu, there are a lot of asm codes like int?? on the screen, which looks messy. Is there an option for silent boot, with no other information except the menu and error prompts?
Thank you!
|
|
2007-8-12 08:03 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
你在用旧的版本。新版本默认时没有那些 int?? 信息了。除此之外,新版本还有一个 debug off 命令,可以关闭绝大多数不严重的问题报告。
启动光盘大概应该这样:
title 3. Boot from CD Drive
cdrom --init
map --hook
root (cd0)
chainloader (cd0)
这并不能保证 100% 成功。有两方面的原因:
1. 当 cdrom --init 失败时,你的硬件是不被 grub4dos 支持的。这就不用再说了。
2. 当 chainloader (cd0) 失败时,一般是由 cdrom 的引导模式引起的。只有 no-emulation 模式的 cdrom 盘片才可以顺利经由 chainloader (cd0) 启动,其它的模式,目前是不支持的,但将来会支持的。
你当然还可以在网络上搜索到其它有关 CDROM 的启动方法的,它们可以和 grub4dos 的软盘仿真功能配合起来一起使用,这里不再细说了。
You are using an old version. In the new version, there is no such int?? information by default. In addition, the new version has a debug off command that can turn off most non-severe problem reports.
The boot CD should probably be like this:
title 3. Boot from CD Drive
cdrom --init
map --hook
root (cd0)
chainloader (cd0)
This doesn't guarantee 100% success. There are two reasons:
1. When cdrom --init fails, your hardware is not supported by grub4dos. That goes without saying.
2. When chainloader (cd0) fails, it is generally caused by the boot mode of the CDROM. Only CDROM discs in no-emulation mode can be successfully booted via chainloader (cd0). Other modes are not supported currently, but will be supported in the future.
Of course, you can also search the Internet for other startup methods related to CDROM, which can be used in conjunction with the floppy disk emulation function of grub4dos. I won't go into details here.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2007-8-12 10:46 |
|
|
ironchen
初级用户
 
积分 30
发帖 10
注册 2007-6-14
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
换了新版本,那些信息没了,谢谢
title 3. Boot from CD Drive
cdrom --init
map --hook
root (cd0)
chainloader (cd0)
我试了一下,并不成功
最后发现只要改成这样
title 3. Boot from CD Drive
cdrom --init
map --hook
chainloader (cd0)
boot
可以顺利启动,十分怪异,不过试了各种启动盘和安装盘iso,winpe,dos,等都可以顺利从光盘启动
好像关键就是最后一行
boot
Changed to a new version, and those information are gone, thank you
title 3. Boot from CD Drive
cdrom --init
map --hook
root (cd0)
chainloader (cd0)
I tried it, but it didn't work.
Finally, I found that just change it to this:
title 3. Boot from CD Drive
cdrom --init
map --hook
chainloader (cd0)
boot
Can boot smoothly, very strange, but tried various boot disks and installation disk isos, winpe, dos, etc. can all boot from the CD smoothly.
It seems that the key is the last line
boot
|
|
2007-8-12 20:15 |
|
|