Try FlashBoot for 99% Bootability of Easy2Boot!
RMPrepUSB\RMPartUSB (as used by MAKE_E2B_USB_DRIVE.cmd) can make most USB drives bootable and includes a specially modified version of grubinst.exe, but some older BIOSes may have problems booting from USB devices. I recommend FlashBoot if you need to create a USB drive that will boot on these badly behaved systems.
Please click here to test a time-limited trial version and see if it works for you. How to prepare a Easy2Boot USB drive using FlashBoot
'File Not Contiguous' and 'Too Many Fragments' Errors
Note: The text '(hd0,0)304+8,993472+232,16776+292624,311320+292864' shows that there are four fragments in the file.
OR Error 60: File for drive emulation must be in one contiguous disk area
Nearly all E2B payload files need to be contiguous (in sequential sectors/clusters on the disk). If you see this error reported by E2B, then E2B will probably not work correctly! This error most often occurs after you have been deleting and adding several files to the E2B drive and/or it is nearly full.
Tip: Most Windows Installer .ISO files, .VHD and .WIM files do not need to be contiguous, but .imgPTN files always need to be contiguous.
The easiest way to fix this error is to double-click on \MAKE_THIS_DRIVE_ CONTIGUOUS.cmdon the E2B USB drive.
This will run WinContig and make ALL the files on the volume contiguous (actually the drive is not 'defragged', only each individual file in the E2B volume)
OR if you install Piriform Defraggler then you can right-click on an individual file and make it contiguous.
Note: You can also use RMPrepUSB to run WinContig. Please use the latest version of RMPrepUSB - older versions contained an older version of WinContig which sometimes reported that all files were contiguous when they were not!
RMPrepUSB will only make files contiguous on one partition (a single drive letter) - if your USB drive has more than one partition, check that the correct E2B partition has been selected by running WinContig manually!
WinContig will require at least as much contiguous free space on the USB drive as the size of the file it is trying to make contiguous. e.g. to make a 5GB file contiguous, you will need at least 5GB of contiguous free space on the USB drive. Note that you may have enough free space on the drive, but it may not be in sequential contiguous clusters!
Note: It is almost impossible for an 8GB NTFS USB drive to contain a contiguous 6GB file (see bottom of this page for an explanation)!
Under linux, try a defrag program such as defragfs for FAT32 or udefrag for NTFS (see \_ISO\docs\linux_utils folder) (other filesystems such as ext2/3/4 and exFAT may not defrag files properly under linux).
WinContig doesn't work even though there is enough unused space?
WinContig requires contiguous free space. If the free space on the drive is scattered all over the drive, you must use defraggler to consolidate the free, unused space.
Not much free space available and WinContig is too slow?
If you need to fit as many ISO and other payload files onto your USB drive and make them all contiguous, simply add the payload files to the extracted E2B download folder on your Windows hard drive and then run the MAKE_E2B_USB_DRIVE.cmd script to make a new E2B USB drive. This will be a lot faster than trying to run WinContig on the drive, if you have a fragmented drive with little free space. if you are having problems with some large files read my blog posts here and here.
Corrupt file or Read-only?
WARNING: If you are using Plop! to boot from the USB drive then you may see this error a lot. Plop! uses a read-only USB 2.0 driver and it is not compatible with E2B because E2B requires read/write access to the USB drive. If you need to use Plop! then please add a set GRUB_USB=Y line to \_ISO\MyE2B.cfg file. This will load grub4dos 0.4.6a and use it's own USB 2.0 driver to replace the Plop! USB driver, and it does support write operations to the USB drive.
If you still get this error, even though you are sure it is contiguous - this error can also occur if the file is corrupt or if it is not of the correct type or if the E2B USB drive is read-only.
Tip: If the file is in a normal menu folder (e.g. MAINMENU or LINUX or AUTO, etc.) - you can hold down the CTRL+SHIFT keys whilst pressing ENTER to run the ISO and keep the SHIFT+CTRL keys held down - E2B will then calculate and display the CRC32 value of the ISO file for you and you can compare it with the original file's value.
Note that E2B may permanently modify Windows Install ISOs on the E2B drive, so that they do not ask the user to 'press a key to boot from CD\DVD' - therefore the checksums of these files may be different from the original files.
What are contiguous files?
Most ISO files will need to be contiguous for E2B to work. In most filesystems, files are stored in 'clusters'. So a single file can occupy for instance, clusters 234, 235 and 236 on a disk or it could occupy clusters 99, 278 and 1081 on the disk. In the first case (234-236) we have a contiguous file because all the clusters are sequential. In the second case (99,278,1081) the file is not contiguous as it is spread across the disk in 'chunks' with gaps inbetween. To make all files on your USB drive contiguous, run RMPrepUSB and select the USB drive in the drive list, then press Ctrl+F2 to run WinContig. Alternatively download and run WinContig.
Another very useful program is Piriform Defraggler - this shows you a 'cluster map' of fragmented and unfragmented files and you can select and defragment single files by clicking on a square on the map. This is really useful for showing you where the files are located on the drive. Defraggler can aslo consolidate free space too. See also the blog post here.
Under linux, the defragfs utility (see \_ISO\docs folder) is able to make files on a FAT32 volume contiguous, however it does not work on NTFS or ext2/3/4 volumes. Also, even if you use E2B on a freshly formatted ext2/3/4 volume, all the files seem to be non-contiguous (which is why I recommend FAT32 only for linux users - if there was a working file-defrag utility for linux, you could use NTFS).
WinContig fails to make all file(s) contiguous
Sometimes WinContig or Defraggler may be unable to make all the files contiguous. This is usually because there is not enough contiguous free space on the volume. At least as much free space as the size of the file being defragmented is required - e.g. a 5GB file will require at least 5GB of contiguous free disk space so that it can be copied to a contiguous space on the disk.
Note: Defraggler can make contiguous all the unused free blocks on a drive. Use the Action - Advanced - Defrag Freespace option in Defragger to consolidate the free space before running WinContig.
In this case, you can either delete some large, unwanted files (e.g. \_ISO\CONTIG.ISO can be deleted) and run WinContig again OR it is often much quicker to:
1. Copy all files from you USB drive to an empty folder on your hard drive
2. Re-partition your USB drive and re-install grub4dos
3. Copy all the files back again (use Explorer but do not use multiple copy sessions at the same time)
Defraggler also adds a right-click function to Windows - select the file, right-click and select 'Defraggler - defrag' to defragment (make contiguous) a single file. This is quicker than having to run WinContig/RMPrepUSB.
You can also make a 'master folder' on your system disk by adding your payload files to the extracted E2B files, and then run MAKE_E2B_USB_DRIVE.cmd to make a fresh USB drive.
If this still doesn't work, make a new E2B USB drive, copy on your largest payload file and then run WinContig. Repeat this for the next largest files until you only have files <2GB. Then copy all the other files over.
Making files contiguous on a small NTFS drive
In some cases, if using NTFS, you may find that you cannot get a large ISO file to be contiguous on a smallish drive (e.g. a 6GB ISO file on an 8GB USB NTFS flash drive cannot be made contiguous!), even if you copy over the files to a freshly formatted NTFS USB Flash drive.
Here is how to make a bootable 8GB USB drive containing a 6GB contiguous file using the partitioning tool EaseUS Home Partition Master(EHPM):
1. Erase all partitions on the flash drive
2. Make a small 20MB NTFS PRIMARY partition using EHPM - or RMPrepUSB if you want a special bootloader
3. Re-size the partition using EHPM to ALMOST the full drive capacity - e.g. 7.8GB
4. Now add a small 2nd FAT PRIMARY partition (this is to improve boot compatibility with some BIOSes - the partition is not actually used)
5. Copy over your large file first and check it is contiguous using WinContig.
6. Use RMPrepUSB to install grub4dos to the MBR and PBR and copy over all the E2B files.
If you have Vista or Win7/8/10, then you can use Disk Manager instead of EaseUS Home Partition Master to resize the partition in Step 3.
Large files (over 4GB?) may be reported as 'not contiguous or corrupt' by E2B if they are on an exFAT E2B drive due to a bug in grub4dos. Please update to the latest version of E2B (easily done by double-clicking the UPDATE_E2B_DRIVE.CMD file in the new E2B download and specifying the drive letter of the E2B drive that you want to update).