Speeding up E2B
E2B enumerates the files and folders on the E2B USB drive every time you boot from it - this can take time, especially on slow USB drives or with slow BIOSes.Tip: If you press the ! key (SHIFT+1) during file enumeration of the MAINMENU folder, E2B will pause and show you how long each stage took.
99% of the time, slow performance is caused by slow file access times from the USB drive. However, this is usually because of a slow USB drive and/or a poorly-written USB driver within the BIOS. There is a 'Measure BIOS USB Performance' menu entry in the Utilities Menu which will allow you to compare the BIOS USB driver performance of different systems - you may be surprised by the results if you compare different system BIOSes!
Sometimes, selecting the 'Install fast Grub4dos USB 2.0 drive' option in the Utilities Menu can dramatically increase performance by replacing the BIOS USB driver with grub4dos's own, much-faster, USB driver (USB 2.0 only - limited USB controller support). You can configure the MyE2B.cfg file to always load this driver by default (but it may cause problems on some systems).
Reduce the number of files in the MAINMENU folder
When E2B boots, it enumerates all the files in the \_ISO\MAINMENU folder and any files in sub-folders under that. The more files there are, the longer it will take to get to the Main Menu. You can move files to the other menu folders to improve the initial boot time. If you want a lot of files under the MAINMENU folder, then consider using FASTLOAD (see below).
Use a FAT32 E2B drive
Enable FASTLOAD (Main menu is cached on first boot)If you find that the Main menu takes too long to enumerate all your files and create a new menu on every boot, copy the file \_ISO\docs\FASTLOAD\FASTLOAD.YES to the root folder on the USB drive:
FASTLOAD: REMEMBER to use F8 if you add an ISO file!
When Easy2Boot is in FASTLOAD mode, and if you then change the contents of the USB drive, you will need to use the REFRESH (F8) option in the Main menu to update the cached copy of the menu so that the Main menu will be updated with the new contents. See my blog for more details here.
How FASTLOAD works
Information: If \FASTLOAD.YES contains the word REFRESH then Easy2Boot will build a new menu in memory and write it to the FASTLOAD.MNU file and then remove the word REFRESH from the FASTLOAD.YES file so that on the next boot, Easy2Boot will use the contents of the file FASTLOAD.MNU file as the Main menu. When you choose the REFRESH (F8) menu option, it writes the word REFRESH to the \FASTLOAD.YES file and re-runs menu.lst to restart Easy2Boot and generate a new Main menu.The 'Enable\disable FASTLOAD' menu entry can be suppressed using 'set NOFLDMNU=1' in your \_ISO\MyE2B.cfg file
To use a text-mode menu that uses the BIOS font, use set GFX=NONE in your MyE2B.cfg file. See the TextMinimal example in the \_ISO\docs\Templates folder for an example.
Special fonts and non-English languages are not supported in text mode.
Use a compressed background bitmap
Use only a few colours in your bitmap so it will compress well.
The smaller the file, the quicker it will load.
E2B v1.72+ versions can also use .jpg files as a background file - these often tend to be smaller than .bmp.gz files (but I recommend you use LZMA-compressed .bmp files for best performance and compatibility).
The system's BIOS font will be used.
Suppress searching for a 'Helper' USB Flash drive (E2B Removable drives only)
E2B searches for a USB 'Helper' Flash drive on startup and when the Windows menu is loaded. If your E2B USB drive is a Removable USB Flash drive (as listed by RMPrepUSB) then you can suppress this search as a Helper USB drive is not needed. In your \_ISO\MyE2B.cfg file add:
set NOHELPER=1 ;; #Only use if E2B USB drive is a Removable drive
set redir=> nulIf you also want to suppress the initial E2B startup messages (not recommended because it hides important warning and error messages too!), use:
set redirp=> nul
Note there is one space between the > and the nul.
Delete any of the files in the \_ISO\MAINMENU folder or below that you don't need. This includes files with no extension, readme.txt files, etc. The fewer files you have, the faster E2B can enumerate the files.
It may make a small difference if you compress some of the larger files (use 7zip .gzip compression or better yet, lzma by using \_ISO\docs\E2B Utilities\LZMA\LZMA_Encode.cmd). Try compressing the menu.lst, E2B.cfg and all .g4b files in the \_ISO\e2b\grub folder. Don't compress payload files! Keep the filename of the compressed file the same (with the same file extension). This also can help to make the E2B drive more secure. In practice, the speed benefit will be very slight though and only worth doing on large files or if you want to 'hide' the plain text inside the file from prying eyes.
If you use a large \_ISO\MyE2B.cfg file, delete all comment lines (starting with # or ###) as they are ignored by E2B anyway (the benefit will be small though!).
!BATset CXP=3set CV=0set C7=5set C28=1set CT8=9set C12=0set C10=1set CALL=19
To support this site, please disable AdBlock for this domain.
Recommended for Easy2Boot (fastest!) - SanDisk Extreme SDCZ880-128G-G46
BitCoin also accepted.