If you want to UEFI64 (or legacy) boot to an MX-Linux ISO and have persistence, you can use a .grubfm file. The .grubfm file must be the same name as the ISO file and in the same folder, e.g.
- \_ISO\LINUX\MX-21.1_x64.iso
- \_ISO\LINUX\MX-21.1_x64.grubfm
1. Copy on the two files. The grubfm file can be found on Partition 2 at "\e2b\Sample agFM menu files\LINUX\MX-21.1_x64.grubfm" folder or download from here.
2. The persistence files that will be created by MX-Linux must be stored on either Partition 2 of the E2B USB drive or Partition 3. Check that you have enough room (the default files are 8GB and 10GB but you can choose a smaller size). If you do not have a Partition 3 on the E2B USB drive then you could resize the partitions using EaseUS Home Partition Master or a similar tool.
3. Edit the .grubfm file and change the partition number to the one that you are going to use - either 2 or 3, e.g. line 15-17, make sure set PERSIST_PTN= 2 (or 3) as the only line and comment out any other set PERSIST_PTN= line...
