Reducing the amount of E2B text messages

Some messages may be in English, but others, such as user questions and information will be in the selected language.

If you don't want to see the messages and auto-suggest prompts when you run a .ISO file, use a file extension of.isodefault - see here for more information.

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).

Note: Using any value for redir and redirp will work for recent versions of E2B (e.g. set redir=1).

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.

Note: If you create a matching .txt file, the QRUN Auto-suggest text and user prompt will be suppressed. If you wish to see it, turn on SCROLL-LOCK before selecting the menu entry. (E2B v1.96+).

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).

Other MyE2B.cfg settings

You can try one of these three settings in your MyE2B.cfg file (examples taken from Sample_MyE2B.cfg)...

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)

# 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)