中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-10-27 05:33
47,815 topics / 349,928 posts / today 0 new / 48,289 members
DOS启动盘 & LOGO技术 (启动盘室) » Please provide the text in Chinese again. The original input seems to be incomplete. If you want to translate "求DOS启动时选择从光盘、硬盘、软盘的最简单的方法,不用gr", the full Chinese text should be "求DOS启动时选择从光盘、硬盘、软盘的最简单的方法,不用grub" probably. So the translation would be "Ask for the simplest method to choose to boot from CD - ROM, hard disk, floppy disk when DOS starts, without grub"
Printable Version  1,638 / 3
Floor1 suiyuanye Posted 2006-09-17 11:31
中级用户 Posts 94 Credits 289
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%
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 ]
Floor2 suiyuanye Posted 2006-09-18 07:16
中级用户 Posts 94 Credits 289
If the forum owner and webmaster don't come to answer me, I'll just sit here and not leave!!
Floor3 suiyuanye Posted 2006-09-19 01:15
中级用户 Posts 94 Credits 289
It's unreasonable! You guys reply quickly, I'm in urgent need.
Floor4 xuantian Posted 2006-09-19 01:20
高级用户 Posts 282 Credits 587
This can't be achieved in the config, right? :)
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023