Reducing the amount of E2B text messages

E2B produces many messages whilst booting and during operation.
 
Some messages may be in English, but others, such as user questions and information will be in the selected language.
 
Here are some ways to reduce the E2B progress and informational messages:
 

redir

 
In the \_ISO\MyE2B.cfg file (first line must be !BAT), you can use a setting of
 
set redir=> nul
 
This will reduce the payload enumeration messages and also prevent most of the the QRUN 'auto-suggest' messages for .ISO files from being seen.
 
Note that this will mean that you will not see any of the informational messages that will inform you about the best file extension to use to fix any possible problems.
 
It will not suppress error messages.
 
*Tip: if you want to reduce the file enumeration messages without affecting QRUN auto-suggest, use set redir=> nul and set TSUG=6. This will still prompt the user with auto-suggest messages for the best file extension to use (RECOMMENDED).
 
 

redirp

 
In the \_ISO\MyE2B.cfg file (first line must be !BAT), you can use a setting of
 
set redirp=> nul
 
This will suppress all the payload enumeration messages and most other 'progress' messages too, if used together with redir.
 
Note that this will mean that you will not see any informational messages that will inform you about the best file extension to use or any possible problems.
 
It will not suppress error messages.
 
I do not recommend using redirp unless all the payloads on your E2B drive have been fully tested, because it may hide helpful hints, prompts and information from the user.
 
 

NOSUG

In the \_ISO\MyE2B.cfg file (first line must be !BAT), you can use a setting of
 
set NOSUG=1
 
This will prevent any QRUN 'auto-suggest' messages for all types of files from being displayed.
It also suppresses the user prompt when ISOBOOT is used.
 
Tip: You can use TSUG to change the default timeout and behavour for auto-suggest.
 
 

SCROLL LOCK (E2B v1.91+)

If SCROLL LOCK is on (press the Scroll Lock key once), then redir, redirp and NOSUG will be removed/cleared. This allows you to see all E2B messages when a payload is executed. This is useful if you have used one or more of these settings in your MyE2B.cfg file but wish to see the E2B messages when running a new payload file if it does not work as required. SCROLL LOCK will be cleared once QRUN.g4b has been run.
 
 

AUTOCSM

If you use
 
set AUTOCSM=1
 
in your \_ISO\MyE2B.cfg file, when a user selects any .imgPTN file, they will not be warned or prompted to switch partitions - it will just immediately switch partitions and load the CSM menu.
 
Tip: You can use a file extension of .imgPTNAUTO instead (just add 'AUTO' to any type of .imgPTNxxxx file extension).
 
 

Patching grub4dos

When grub4dos boots, you may see several text messages generated by the grub4dos boot process before E2B is loaded.
 
It is possible to patch grub4dos so that no grub4dos boot messages are seen.
 
Cut and past the following lines from \_ISO\Sample_MyE2B.cfg into your \_ISO\MyE2B.cfg file:
 
# Silent MBR boot of stage 1.5 grub4dos (works for both 0.4.5c and 0.4.6) - one reboot is required for it to permanently take affect.
### if exist /_ISO/docs/PatchMyMBR call /_ISO/docs/PatchMyMBR > nul
# Silent startup of grub4dos - no diagnostic/info messages (only works for 0.4.6a by changing debug msg=2 to debug msg=0) - permanently changes /grldr files (please use \_ISO\docs\patchme for patch if not using 0.4.6)
### cat --locate=\x02 --replace=\x00 --skip=0x2073 --length=1 /grldr > nul
### if exist /%grub%/grldr_046 cat --locate=\x02 --replace=\x00 --skip=0x2073 --length=1 /%grub%/grldr_046 > nul
# Silent MBR boot of stage 1.5 grub4dos (works for both 0.4.5c and 0.4.6) - one reboot is required for it to permanently take affect.
### if exist /_ISO/docs/PatchMyMBR call /_ISO/docs/PatchMyMBR > nul
# Silent startup of grub4dos - no diagnostic/info messages (only works for 0.4.6a by changing debug msg=2 to debug msg=0) - permanently changes /grldr files (please use \_ISO\docs\patchme for patch if not using 0.4.6)
### cat --locate=\x02 --replace=\x00 --skip=0x2073 --length=1 /grldr > nul
### if exist /%grub%/grldr_046 cat --locate=\x02 --replace=\x00 --skip=0x2073 --length=1 /%grub%/grldr_046 > nul
 
Then remove the ### symbols from the three lines.
 
This modifies the /grldr file and the MBR of the E2B drive each time it boots to E2B.
If it slows down booting, you can remove the lines once they have been run once and have taken effect.