Friday, 5 October 2018

E2B v1.A4a Beta available (with bugfix for SWITCH_E2B.exe sometimes not listing the E2B drive)

Download here (unpack and run Make_E2B.exe - Update E2B Drive).

Changes from v1.A3 are:
  • New file extension suffixes recognised ('4GB'=only lists file in E2B menu if RAM >4GB, '3GB'=only listed in menu if RAM size <4GB) - e.g. Ubuntu_amd64.iso4GB, Ubuntu_i386.iso3GB.
  • New grub4dos variable %GB4% now in E2B environment, so can be used to test for systems which have more or less than 4GB RAM (e.g. 'if exist GB4 pause This system has more than 4GB RAM').
  • File extensions suffixes can now be in any order and not case sensitive (pwd, 32, 64, 4GB, 3GB, AUTO). 
  • File suffixes for .iso and .imgptn files in \_ISO\WINDOWS folders (except XP folder) also recognised. e.g. .isopwd4GB64, .imgPTN3GBAUTO. 
  • SnipStr.g4b grub4dos subroutine added which can remove a sub-string from a variable,
  • SWITCH_E2B.exe v1.0.20 has bugfix for sometimes E2B drive not listed.
  • Txt_Maker.exe v1.0.9 now has option for > or < 4GB RAM detection.



Notes:

I only found the bug in SWITCH_E2B.exe by accident. After running an ISO file, I found that SWITCH_E2B would not list the E2B drive in SWITCH_E2B any more! The problem turned out to be caused by the byte 0x4D appearing in the MBR partition table which caused SWITCH_E2B to throw an unhandled exception and exit out of a subroutine without any error message. This would explain why one user (many months ago) found that SWITCH_E2B.exe would not list his particular E2B drive, even though we could not find anything wrong with his drive!

The code to recognise file extension suffixes in any order is new and there may be bugs, so if you are using any of the file extension suffixes (pwd, 32, 64, 4GB, 3GB, AUTO) and see a problem, please let me know.