
Change the order of the menu entries
The order that ISO and other payload files and .mnu files are listed in, is determined by E2B alphanumerically sorting the payload and .mnu files and folders (not case-sensitive).
For example: all you need to do is rename your payload and .mnu files, eg. 010fred.iso, 020doris.iso, 030debian.iso, etc..
You can aslo use a .txt file of the same name to have nicer menu entry text (e.g. 010fred.txt, 020doris.txt).
Tip: By using numbers in increments of 10, you can later add another ISO, (e.g.) use '012fred.iso' to place it between the 010fred.iso and 020fred.iso menu entries.
If you have any .mnu files, these will be listed depending on the name of the .mnu file itself (not the payload file or title which is used inside the .mnu file). If you have 'Ubuntu.mnu' for instance, it will therefore be listed after the 'PassPass.mnu' (say). To change the order, simply rename ubuntu.mnu to 010ubuntu.mnu.
Note that folders will also be searched alphabetically. If you have:
\_ISO\Mainmenu\Utility\PassPass.mnu
\_ISO\Mainmenu\Ubuntu.mnu
MENU entry order will be:
Ubuntu
PassPass
Note that the menu entry for PassPass will be listed after the menu entry for Ubuntu because Ubuntu.mnu alphabetically precedes \Utility. If you want PassPass to be listed before Ubuntu, rename Ubuntu.mnu to ZUbuntu.mnu.
Tip: If you press the SPACE key during file enumeration, E2B will pause at the end of enumeration, to allow you to see the order it has enumerated the files and folders in (v1.72+).
Now you can easily see the order that the folders and files are enumerated in by E2B.
Example
Now change the name of ZZSubMenuDos.mnu and wattOS-R8-Microwatt.iso...
If you want the $wattOS-R8-Microwatt.iso menu entry to be listed as 'Microswatt OS R8' then create a .txt file:
$wattOS-R8-Microwatt.txt
title Microswatt OS R8\n WattOS Micro R8
AUTO folder
.mnu files are ignored if you put them in the AUTO folder (so they won't work!). Also, all payload files in and under the AUTO folder are enumerated and added to the DIRECT BOOT menu. So you can have multiple folders under \_ISO\AUTO,
If you have a lot of ISO files, and you don't want to change the filenames but you want to change their order in the menu, then put them in sub-folders under \_ISO\AUTO with a .txt file for each one, e.g.:
\_ISO\AUTO\A\ubuntu_x64.iso
\_ISO\AUTO\A\ubuntu_x64.txt
\_ISO\AUTO\B\acronis.iso
\_ISO\AUTO\B\acronis.txt
Note: These will be listed in the DIRECT BOOT sub-Menu - using folders like this for payload files, only works for the special AUTO folder. For the other menu folders (ANTIVIRUS, BACKUP, etc.) you will need to use a .mnu file or place the payload+.txt file in the main folder.
If you later want to add an entry in between these two, create a \_ISO\AUTO\A1\ folder. The entries will be listed in alphabetical order of both the files and folders.
Use of .mnu files
If you do not want to change the ISO filenames but want to change their order in the Main menu (or one of the other sub-menus), then you will need to use .mnu files for each one and place them all in a sub-folder - e.g. \_ISO\MAINMENU\MNU.
The .mnu files should be of the following format:
e.g. \_ISO\MAINMENU\MNU\AAA_Ubuntu64.mnu contents:
title Ubuntu ISO\n Help text
/%grub%/qrun.g4b $HOME$/Ubuntu-x64.iso
boot
You can also change the name of the sub-menu folder or create new 3rd level folders. See my blog here for details.
Sub-Menus listed in the Main Menu
The sub-menus entries (for ANTIVIRUS, BACKUP, etc.) are defined in the \_ISO\MAINMENU\ZZSubMenuAll.mnu file.
As this begins with 'ZZ' the sub-menu entries will be listed at the end of all other menu items in the Main menu. If you want the sub-menu entries listed first in the Main menu, rename it to $$ZZSubMenuAll.mnu.
Note: If you ever update your E2B USB drive with a later version of E2B, you will need to delete the new \_ISO\MAINMENU\ZZSubMenuAll.mnu file again.
Recommended for Easy2Boot (fastest!) - SanDisk Extreme SDCZ880-128G-G46
- Home
- Start & Intro
- YouTube Videos
- Quick Setup Guide
-
Make a USB drive >>
- Make a multi-partition E2B USB drive using RMPrepUSB
- Use an existing USB HDD for E2B
- Use LINUX to make an E2B drive + defrag
- How to Update E2B
- How to make a WINHELPER USB Flash Drive (fix 'Required DVD drive driver is missing')
- Multiple partitions on a USB Flash drive
- Using other partitions or drives
- Copy (clone) any E2B USB drive
- Make and burn an E2B DVD
- Using E2B with a Zalman/IODD
- Add E2B to your own grub4dos USB drive
- How to remove E2B
- E2B Menu system
- UEFI booting from E2B
-
Adding Payload Files and Using E2B >>
- Make files CONTIGUOUS
- File Extensions recognised by E2B
- UEFI+MBR and how to make .imgPTN files
- MakePartImage and changing the CSM Menu
- Using SWITCH_E2B with .imgPTN files
- Using the \_ISO\AUTO folder
-
WINDOWS payloads >>
- E2B USB HDD - Installing Windows with a 'WinHelper' drive
- Windows XP Install ISOs
- Install XP 32-bit using DPMS
- Install XP using WinPE (one step process)
- Add XP Install ISOs using WinSetupFromUSB
- Windows Vista/7 Install ISOs
- UEFI boot from Windows 7 Install ISOs
- Windows 8/10 Install ISOs
- Unattended Installs
- Unattend.XML files and XMLtoE2B.exe
- Adding >4GB Windows Install ISOs using .imgPTN files
- Automating Windows Installs from .imgPTN files
- Split_WinISO
- Windows AIO ISOs
- WindowsToGo
- WinNTSetup
- WinLite10 XML files
- SDI_CHOCO (install drivers, apps and updates) >>
- .VHD and .WIM files
- PassPass (bypass the Windows Password)
- Hack into Windows OS (UtilMan.exe)
- Windows 2000
- Multipoint Server
- Add the latest XP drivers (DPMS)
- LINUX payloads >>
- MSDart ERD ISOs
- WinBuilder, Medicat, Gandalf and WinPE ISOs
- Hirens/Strelec/DLC/F4 ISOs
- DOS (MS-DOS and FreeDOS)
- OS X
- FreeBSD
- MOVE_IMGPTN
- List of tested ISOs (+ instructions)
- Tutorials and How To's
-
Configure E2B >>
- E2B Menu Demo
- E2B Files and Folders explained
- E2B_Editor
- MyE2B.cfg - E2B configuration file >>
- Change the payload menu entries and help text using a .txt file
- Change the background wallpaper
- Different background wallpaper for each menu
- Default Menu and Timeout
- Change the Language, Headings, Menu and text
- Change the menu entry order
- 'Change File Extension' prompt (Auto-Suggest)
- Changing the Keyboard Layout
- About .mnu files
- Sample .mnu files
- PimpMyDrive.cmd
- Reducing the E2B messages
- Add a new Sub-Menu folder
- Stamps, Animation and Tunes
- Draw lines and boxes on the screen
- Write text to the menu screen
- Global Hotkeys
- Themes (Skins)
- Fonts
- Speeding up E2B (inc. FASTLOAD)
- One Single Menu
- The E2B F1 Help menu
- Add your own Help Menu
- Add Help text files (.help)
- Add Windows Install ISOs to the Main Menu
- Change the Windows Install Menu
- Passwords and Security
- Hide Payloads
- Guest Mode
- GFX Boot Menus
- Dual Booting
- Change the CSM .imgPTN Menu
- Configure Clover
- Right-to-Left Languages
- Create new language files
- How to modify LOADISO.CMD (Repair message)
- UEFI things to know
-
FAQ, TroubleShooting, QEMU and Virtual Machines >>
- 'File Not Contiguous' and 'Too Many Fragments' Errors
- 137GB 'BAD BIOS' bug
- TroubleShooting E2B
- E2B Error Messages
- Grub4dos Error Numbers
- Common problems with payload files
- Repair a corrupt E2B drive
- Known Issues and Bugs
- Slow and buggy BIOSes
- How E2B Works
- QEMU and using Virtual Machines >>
- Debugging E2B
- CONTIG.ISO
- ISOBOOT
- grub4dos
- Useful resources
- Removable v. Fixed
- Gallery
- Guestbook
- Forum
- Blog
- DOWNLOADS >>
- Grub2 Menu System (UEFI_GRUB2_PTN2)
- Site Map
- eBooks
- Contact Me >>
- Donate
- Licensing
- Privacy policy (GDPR)