『楼 主』:
求DOS启动时选择从光盘、硬盘、软盘的最简单的方法,不用gr
使用 LLM 解释/回答一下
求DOS启动时选择从光盘、硬盘、软盘的最简单的方法,不用grub行吗?
我想自己制作一个DOS光盘启动盘,在启动时,能出现一个菜单,如下:
1.Boot from Disk
2.Boot from CD-ROM
3.Boot from Floppy
4.reboot
当用上下方向键选择相应的菜单并回车后或输入1、2、3 or 4时能分别从硬盘启动、从光盘启动、从软盘启动、重新启动。,一简单一好,如果不按回车,30秒后自动在相应的盘上启动。最简单的方法有吗,不用grub可以实现吗?请高手帮我一下。
我已经知道了在config.sys中后面加上
MENUITEM=DISK, Boot from Disk
MENUITEM=CDROM, Boot from CD-ROM
MENUITEM=FLOPPY, Boot from Floppy
MENUITEM=reboot, reboot
了,然后呢?有了这个启动时就会出现菜单了,但是如何按了1 2 3 4后就会从相应的的盘上启动呢?
又在AUTOEXEC.BAT里加入了下面的内容,只有reboot成功,其它的全不行,怎么回事?
goto %config%
<img src="images/smilies/face-smile-big.png" align="absmiddle" border="0">ISK
boot 80
GOTO END
:CDROM
MSCDEX.exe /D:IDE-CD
GOTO END
:FLOPPY
boot 0
GOTO END
:reboot
reboot
GOTO END
:END
Last edited by suiyuanye on 2006-9-17 at 13:37 ]
The simplest way to select from CD, hard disk, and floppy during DOS startup without using GRUB?
I want to make a DOS CD boot disk myself. When booting, a menu like the following should appear:
1. Boot from Disk
2. Boot from CD-ROM
3. Boot from Floppy
4. reboot
When using the up and down arrow keys to select the corresponding menu and pressing Enter, or when entering 1, 2, 3, or 4, it can boot from the hard disk, CD-ROM, floppy, and restart respectively. It should be simple and good. Can it be achieved without GRUB? Please help me, experts.
I already know that adding the following in config.sys:
MENUITEM=DISK, Boot from Disk
MENUITEM=CDROM, Boot from CD-ROM
MENUITEM=FLOPPY, Boot from Floppy
MENUITEM=reboot, reboot
Then what? With this, the menu will appear during startup, but how to boot from the corresponding disk after pressing 1, 2, 3, 4?
I also added the following content in AUTOEXEC.BAT. Only the reboot is successful, and the others are all not working. What's the matter?
goto %config%
:DISK
boot 80
GOTO END
:CDROM
MSCDEX.exe /D:IDE-CD
GOTO END
:FLOPPY
boot 0
GOTO END
:reboot
reboot
GOTO END
:END
Last edited by suiyuanye on 2006-9-17 at 13:37 ]
|