You can remove all the E2B Main Menu entries and sub-menus and just have the one menu if you wish.
This shows the default E2B menu with just one Clonezilla ISO file added to the \_ISO\MAINMENU folder.
If you do not want the DOS and UTLILITIES menu entries to appear, simple ensure that the \_ISO\DOS and \_ISO\UTILITIES folders are empty (or rename them).
The menu heading is set by the HEADING variable in \_ISO\MyE2B.cfg.
If you want to remove the Windows Install menu entry, simply ensure there are no .ISO or .IMGPTN files under \_ISO\WINDOWS. You can suppress the Windows Install menu entry even if there are .ISO or .IMGPTN files under \_ISO\WINDOWS by using set NOWINMAIN=1 in your \_ISO\MyE2B.cfg file.
The Help, Boot to first HDD, Rebuild Main Menu, Reboot and Power Off menu entries (F1/F7/F8/F9/F10) can also be suppressed by using settings in the \_ISO\MyE2B.cfg file.
To use an existing template, copy the \_ISO\docs\Templates\MainMenu Only\MyE2B.cfg file to \_ISO folder on your E2B USB drive.
This shows the same E2B USB drive but with the 'MainMenu Only' MyE2B.cfg file added.
The 'Set default menu entry and timeout' Main menu entry can be suppressed by using set DEFMENU=0 in your \_ISO\MyE2B.cfg file.
Note: If you have no user payload files or .mnu files present and you use the MainMenu Only configuration file and use set DEFMENU=0, then because the menu will be empty, E2B will just boot to the grub4dos prompt. Please ensure that at least one payload file is present in the \_ISO\MAINMENU folder.
If you want to add Windows Install ISOs to the Main menu, please see this page.
# For all settings, see \_ISO\Sample_MyE2B.cfg
# This removes the Windows Install menu and all other Main Menu entries
# To remove the DOS and UTILITIES menu entries, simple ensure the \_ISO\DOS and \_ISO\UTILITIES folders are empty (or rename the folders)
# For other menu folders - just ensure they are empty if you don't want them in the main menu
# WARNING: If DEFMENU is used, there must be at least one payload or new .mnu file in \_ISO\MAINMENU or else you will get the grub4dos console prompt on boot!
# change the background by specifying a different 800x600 .bmp file (or just add a \_ISO\mybackground.bmp file)
# set resolution to 800 x 600
set HEADING=EASY2BOOT MAINONLY - MAIN MENU
set HELPTEXT=Reload Main Menu [F8] Reboot [F9] Power Off [F10] Help [F1]
# e.g. 0133 is non-blinking bright aqua text (on a dark aqua background if not in graphics mode)
# remove border by setting width to 0
# use tophelp = topstart + noitems for menu help text just under menu box - for 640x480 noitems=18 tophelp=20 - for 800x600 noitems=24 tophelp=26
#set /a tophelp=%topstart% + %noitems% > nul
# choose a colour scheme (foreground/background)
color normal=yellow/black highlight=red/black helptext=yellow/black standard=light-cyan/black border=light-gray/black
# Use 'set AUTONUM=0' to turn off menu numbers and 'write 0x8308 0 > nul' to turn off menu marker arrow
write 0x8308 0 > nul
# Don't display the 'Set default menu entry and timeout' menu entry - uncomment if you don't want this (must be at least one payload in the \_ISO\MAINMENU folder)
# Don't display the F1 HELP entry in the Main menu
# don't display F7 reboot to HDD in Main menu
# If NOF9R is set then the 'F9 Reboot menu' item will not be listed in any menu (remember to change HELPTEXT too)
# If NOF10H is set then the 'F10 Power Off/Halt' menu item will not be listed in any menu (remember to change HELPTEXT too)
# NO FASTLOAD MENU - If you don't want the user to see the Main Menu entry to enable or disable FASTLOAD
# NOWMENU causes a Windows Install sub-sub menu to return back to the Main menu rather than return to the Windows Install menu
# NOWINMAIN cause the Windows Main Menu entry to be suppressed (even if there are \_ISO\WINDOWS\xxx\yyy.ISO files present)
# If the NOF8B is set then the Windows menu will not display 'F8 Back to Main Menu'
# if NOF8MAIN is set then no F8 Main menu entry will be available
#don't show any progress messages at all!
#set redirp=> nul
#set redir=> nul
# no pwd for menu
# don't load large unifont file (fonts only work in graphicsmode and only useful for English)