Creating a DR-DOS 6.0 Boot Menu

by Pete
5 minutes read

If you’re a DR-DOS 6.0 user looking to enhance your boot experience with a customized boot menu, you’re in the right place. A boot menu allows you to choose from different configurations, making it a versatile tool for various system setups. In this guide, we’ll walk through the steps to create a DR-DOS 6.0 boot menu using real-world examples.

Prerequisites

Before you begin, ensure you have the following:

  • A system running DR-DOS 6.0.
  • Administrative access to edit system files.
  • Basic knowledge of DR-DOS configuration.

Open CONFIG.SYS

Open config.sys using editor:

EDITOR C:\CONFIG.SYS

Define the Boot Menu

In the CONFIG.SYS file, add the following lines to set up the boot menu:

TIMEOUT=15
ECHO=[DRDOS BOOT MENU]
ECHO=
ECHO=Please make your selection:
ECHO=1. Normal Boot
ECHO=2. Normal Boot with Mouse
ECHO=3. LAN Support
ECHO=
ECHO=Please enter your choice [123]:
SWITCH DOS, MOUSE, LAN
EXIT
  • TIMEOUT=15: Sets a 15-second timeout for user selection.
  • ECHO: Displays messages on the screen.
  • SWITCH: Initiates the boot menu and defines the options.
  • EXIT: Exits the boot menu configuration.

Define Configuration Sections

Below the menu definition, add sections for each configuration (DOS, MOUSE, LAN) using labels (:DOS, :MOUSE, :LAN). We’ll use the examples you provided:

:DOS
set config=DOS
ECHO
ECHO=Normal Boot ..
SHELL=C:\COMMAND.COM C:\ /P /E:256
BREAK=OFF
HIBUFFERS=8
FILES=20
FCBS=2,2
FASTOPEN=512
LASTDRIVE=E
HISTORY=ON, 256, OFF, OFF, OFF
REM COUNTRY=001,,C:\DRDOS\COUNTRY.SYS
HIDOS=ON 
DEVICE=C:\DRDOS\HIDOS.SYS /B=AUTO
RETURN
:MOUSE
set config=MOUSE
ECHO
ECHO=Normal Boot with Mouse Support ..
SHELL=C:\COMMAND.COM C:\ /P /E:256
BREAK=OFF
HIBUFFERS=8
FILES=20
FCBS=2,2
FASTOPEN=512
LASTDRIVE=E
HISTORY=ON, 256, OFF, OFF, OFF
HIDOS=ON 
DEVICE=C:\DRDOS\HIDOS.SYS /B=AUTO
RETURN
:LAN
set config=LAN
ECHO
ECHO=Normal Boot with LAN and Mouse Support ..
SHELL=C:\COMMAND.COM C:\ /P /E:256
BREAK=OFF
HIBUFFERS=8
FILES=20
FCBS=2,2
FASTOPEN=512
LASTDRIVE=E
HISTORY=ON, 256, OFF, OFF, OFF
HIDOS=ON 
DEVICE=C:\DRDOS\HIDOS.SYS /B=AUTO
HIDEVICE=C:\NET\ifshlp.sys
RETURN

Each section sets a configuration variable (config) and includes specific settings for that configuration.

Open AUTOEXEC.BAT

Edit the AUTOEXEC.BAT file to define actions for each configuration:

@ECHO OFF
if "%config%"=="DOS" goto DOS
if "%config%"=="MOUSE" goto MOUSE
if "%config%"=="LAN" goto LAN
:DOS
REM Normal DOS boot without Mouse support
ECHO NO MOUSE SUPPORT
PATH C:\DRDOS;C:\BATCH;C:\XTG;C:\APPS\PKWARE
PATH C:\NU;%PATH%
SET SYMANTEC=C:\SYMANTEC
SET NU=C:\NU
VERIFY OFF
PROMPT $P$G
SET TEMP=C:\TEMP
IF NOT "%TEMP%"=="" MD %TEMP% >NUL
DISKMAP C: 
MEMMAX -U >NUL
GOTO END
:MOUSE
REM Normal DOS boot with Mouse support
ECHO MOUSE SUPPORT
PATH C:\DRDOS;C:\BATCH;C:\XTG;C:\APPS\PKWARE
PATH C:\NU;%PATH%
SET SYMANTEC=C:\SYMANTEC
SET NU=C:\NU
VERIFY OFF
PROMPT $P$G
SET TEMP=C:\TEMP
IF NOT "%TEMP%"=="" MD %TEMP% >NUL
DISKMAP C: 
C:\APPS\MOUSE\MOUSE.COM
MEMMAX -U >NUL
GOTO END
:LAN
REM LAN support with Mouse support
ECHO LAN SUPPORT
PATH C:\DRDOS;C:\BATCH;C:\XTG;C:\APPS\PKWARE
PATH C:\NET;C:\NU;%PATH%
SET SYMANTEC=C:\SYMANTEC
SET NU=C:\NU
VERIFY OFF
PROMPT $P$G
SET TEMP=C:\TEMP
IF NOT "%TEMP%"=="" MD %TEMP% >NUL
DISKMAP C: 
C:\NET\DRIVERS\NE2000.COM 0x60
MEMMAX -U >nul
GOTO END
:END
MEM

This batch file uses labels (:DOS, :MOUSE, :LAN) to execute specific actions based on the chosen configuration.

Save and Reboot

Save your changes to both CONFIG.SYS and AUTOEXEC.BAT. Reboot your system to see the newly created DR-DOS 6.0 boot menu in action.

Glorious, no?

Conclusion

Congratulations! You’ve successfully created a customized boot menu for your DR-DOS 6.0 system. This menu allows you to choose different configurations at startup, providing flexibility and convenience for your computing needs.

Feel free to customize the menu further, add more configurations, or enhance it based on your specific requirements. Happy booting!