China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-24 02:44
中国DOS联盟论坛 » 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" View 1,494 Replies 3
Original Poster Posted 2006-09-17 11:31 ·  中国 陕西 榆林 电信
中级用户
★★
Credits 289
Posts 94
Joined 2006-06-06 00:00
20-year member
UID 56670
Gender Male
Status Offline
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 ]
Floor 2 Posted 2006-09-18 07:16 ·  中国 陕西 榆林 电信
中级用户
★★
Credits 289
Posts 94
Joined 2006-06-06 00:00
20-year member
UID 56670
Gender Male
Status Offline
If the forum owner and webmaster don't come to answer me, I'll just sit here and not leave!!
Floor 3 Posted 2006-09-19 01:15 ·  中国 陕西 榆林 电信
中级用户
★★
Credits 289
Posts 94
Joined 2006-06-06 00:00
20-year member
UID 56670
Gender Male
Status Offline
It's unreasonable! You guys reply quickly, I'm in urgent need.
Floor 4 Posted 2006-09-19 01:20 ·  中国 四川 绵阳 电信
高级用户
★★
Credits 587
Posts 282
Joined 2006-04-10 03:40
20-year member
UID 53599
Gender Male
Status Offline
This can't be achieved in the config, right? :)
Forum Jump: