Using other partitions or drives
Note: The small, dummy, Type 21h 2nd partition that is created on the USB drive if you ticked the 'Boot as HDD' in RMPrepUSB or used the automated E2B creation script, is only used to ensure that a BIOS boots from the USB as a hard disk rather than boot as a SuperFloppy\ZIP drive.
If you create a larger 2nd partition, you do should delete this small Type 21h partition first. The E2B USB drive must only have a maximum of two Primary partition entries in the MBR Partition table (use RMPrepUSB - Drive Info - 0 to view the MBR partition table entries - only two should be used). You can either have two primary partitions, or one primary partition + any number of Logical partitions.
If you are using E2B from a USB hard disk that has two Primary partitions, place some payload files (e.g. ISO files, .VHD files, etc.) in the \_ISO\AUTO folder on the 2nd partition of the USB hard disk and copy the PTN2_AUTO.mnu file (in the \_ISO\docs\Sample mnu files\E2B Menus folder) to the \_ISO\MAINMENU folder of your E2B drive (or to any other 'normal' menu folder).
\_ISO\docs\Sample mnu Files\E2B Menus
Any .mnu file used (e.g. (hd0,1)\_ISO\ANTIVIRUS\MNU\Ubuntu.mnu) may need to be changed\tweaked if moved to a different partition. Any paths to files that begin with / may need to be changed to a full path (e.g. you may need to use set PER=(hd0,1)/ubuntu-rw instead of set PER=/ubuntu-rw).
Note: Payload files on a different partition will need to be made contiguous manually. The 'MAKE_THIS_DRIVE_CONTIGUOUS.cmd' script and the CTRL+F2 WinContig key in RMPrepUSB only operates on the E2B partition. You will need to run WinContig manually (or use SHIFT+F2 in RMPrepUSB) and pick the correct drive volume to make all files contiguous on that volume.
Alternatively, copy the 'MAKE_THIS_DRIVE_CONTIGUOUS.cmd' file to the root of the 2nd partition and copy the \_ISO\docs\WINCONTIG folder to the 2nd partition (same path). You should then be able to make all files on the 2nd partition contiguous by running the script from the 2nd drive (v1.71+).
Please Note: The old PTN2_Menu.mnu file in the Sample mnu Files folder had a BUG/TYPO and did not work. The correct version uses (md)0x3000+0x50 (corrected in E2B v1.70).
Example using PTN2_AUTO.mnu
Example using PTN2_MNU.mnu
How to make a 2nd partititon
- Prepare the USB Flash drive using RMPrepUSB but enter a reduced Size (e.g. 40GB for a 64GB Flash drive) and format it as NTFS but do NOT tick the 'Format as HDD' box.
- Then install grub4dos (to MBR and PBR) and copy over the E2B files.
- Then add the second FAT32 or NTFS partition using EaseUS Home Partitions Ma ster.
- Then, in RMPrepUSB, press Ctrl+O to swap Windows access over to partition 2 (choose 2) - this is only necessary for Removable-type USB Flash drives if you cannot access the 2nd partition under Windows.
- Now create a _ISO folder on the 2nd partition and copy over any payload files that you want to run automatically (avoid Windows-based payloads).
- Then press Ctrl-O again to swap back to the E2B NTFS partition (choose 2 again).
- Add the PTN2_Menu.mnu file to \_ISO\MAINMENU folder
Note: Many BIOSes have a bug and are not able to access files past 137GB on a USB drive, this means E2B (grub4dos) will fail to boot from those files. Therefore, I strongly recommend you ensure that any partitions used by E2B do not extend past 137GB (e.g. PTN1=60GB, PTN2=60GB). If the drive is larger than 137GB, then use the following partition arrangement:PTN1 = Primary E2B boot = 60GBPTN 2 = Logical = 60GBPTN 3 = Logical = (rest of disk) - can be used to store data files or executables that are accessible under Windows\linux
*PTN1+PTN2 should not exceed 137GB. This arrangement is only suitable for hard disks (not removable flash drives).
FAT32 + NTFS partitions
More than two partitions (HDD/Fixed disk only)
If you need more than two usable formatted partitions on the E2B USB drive, then you will need to create one primary partition and the other partitions must all be Logical partitions. In grub4dos, the first logical partition on the USB drive is (hd0,4), then second Logical partition on the 2nd (internal hard drive) would be (hd1,5), etc. etc. The four primary partition table entries in the MBR of the E2B USB drive will thus be:
Recommended for Easy2Boot (fastest!) - SanDisk Extreme SDCZ880-128G-G46
BitCoin also accepted.