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 ]
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%
ISKboot 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 ]
