Tuesday 31 July 2018

How to add new menu folders to Easy2Boot (e.g. BIOS Flash tools)

If you are a Tech, you may want to keep many BIOS Flash utilities on your E2B USB drive for each of the different models that you encounter.

So you may wish to have a menu structure like this:

Main Menu -> BIOS Flash Menu -> [Manufacturer] -> [Series]


For instance for Lenovo T-series systems, the menu structure would be:

Main Menu - BIOS Flash Menu - Lenovo - T Series - T560_v1.25.imgPTN




E2B Folder structure

1. Even though the menu system is 'nested', we do not use a nested folder structure on the E2B drive. Instead we must create all the folders under the \_ISO folder. In the example above we would create these three new folders:

\_ISO\BIOS\
\_ISO\BIOS_LENOVO\
\_ISO\BIOS_LENOVO_T\

Note that all three folders are at the same 'level' under \_ISO\.

2. The next step is to make a .mnu file for each of these menu folders.

Just click on the \_ISO\docs\E2B Utilities\E2B SUBMENU Maker.cmd file on the E2B USB drive and follow the prompts to make a new .mnu file.

You will need to do this for each new menu folder, i.e.  'BIOS', 'BIOS_LENOVO' and 'BIOS_LENOVO_T'.

Tip: If you want to specify a hotkey for your menu entry, do not use one that is already in use (e.g. E2B uses Ctrl+B for the Backup Menu hotkey in the Main Menu, so don't use Ctrl+B for your BIOS menu - use Alt+B or perhaps Ctrl+F for 'Flash').

3. You will now have some new ZZSubMenu$xxxxx.mnu files in the \_ISO\MAINMENU folder on your E2B USB drive. However, some of these now need to be moved (not copied) because we don't need to be able to reach them all from the Main menu.

The ZZsubMenu$BIOS.mnu file is in the correct location because we want the BIOS Menu to be listed in the Main Menu.

The ZZSubMenu$BIOS_LENOVO.mnu file should be moved to the \_ISO\BIOS folder however, because we want this menu entry to appear in the BIOS menu and not the Main Menu.

The ZZSubMenu$BIOS_LENOVO_T.mnu file should be moved to the \_ISO\BIOS_LENOVO folder, because we want the T-series menu entry to be listed in the Lenovo Menu and not the Main Menu.

4. Finally, don't forget to add your payload files because if you leave the \_ISO\BIOS_LENOVO_T folder empty, then E2B will not display any menu entry for the T-Series menu in the Lenovo menu.

The .mnu and payload files are alphabetically ordered by E2B and this determines their order in each menu. The new .mnu files start with 'ZZ' so that they are listed at the end of each menu. You can rename the .mnu files to any name you like to change their position in the menu entry list (e.g. $SubMenuBIOS.mnu).

Menu Navigation

Your menu system should now work as you expect, however you will find that the only way to go backwards through the menu system is to press the F8 key which takes you back to the Main menu.

You can fix this by adding new .mnu files to the two new folders:

\_ISO\BIOS_LENOVO_T\Z_ReturnToBIOSL.mnu

title ^Ctrl+F8 Return to Lenovo Menu [Ctrl+F8]\nGo back to the previous menu
set MFOLDER=/_ISO/BIOS_LENOVO
set HDG=Lenovo Menu
#HDG will be the heading for the menu
(bd)/%grub%/SubMenu.g4b
boot


\_ISO\BIOS_LENOVO\Z_ReturnToBIOS.mnu

title ^Ctrl+F8 Return to Bios Menu [Ctrl+F8]\nGo back to the previous menu
set MFOLDER=/_ISO/BIOS
set HDG=BIOS Menu
#HDG will be the heading for the menu
(bd)/%grub%/SubMenu.g4b
boot

Now Ctrl+F8 will take us back to the previous menu.

You can change the file name of the .mnu file to change the order in which it appears in the menu.

Read more: http://www.easy2boot.com/configuring-e2b/add-a-new-menu-folder/


Toshiba\Lenovo UEFI-bootable Flash ISOs

Some of the more recent Lenovo Flash ISOs are UEFI-bootable only and will not MBR-boot using E2B or even if you make a CD from them.

For UEFI-booting, we need to convert them to FAT32 .imgPTN files.

The ISOs however do not work with MakePartImage or the MPI_FAT32 shortcut because most tools such as 7Zip, WinRaR and PowerISO, etc. have problems accessing the files inside these types of ISOs.

The solution is to first extract the large .img file from within the ISO file manually using ISOBuster.

See here for more details.

No comments:

Post a Comment