How to make files CONTIGUOUS

Nearly all payload files need to be contiguous (this applies to all types of USB drives).

If an .ISO file is below 500MB (default limit) and is not contiguous, E2B will often try to copy the contents to a contiguous file (\_ISO\CONTIG.ISO) first so that it can be booted successfully. This can be quite slow! For more details about CONTIG.ISO see here.

E2B can also boot some linux ISOs that it recognises by name, without needing them to be contiguous (ISOBOOT). For more details see here.

Persistence files (e.g. \ubuntu-rw) and .imgPTN files need to be contiguous.

Most .WIM and .VHD files do not need to be contiguous.

To avoid any 'not contiguous' error messages from E2B, double-click on the \MAKE_THIS_DRIVE_CONTIGUOUS.cmd file (v1.62+) on the E2B USB drive to run WinContig and make all E2B files on the USB drive contiguous - OR - run RMPrepUSB - CTRL+F2 to run WinContig on the whole drive instead.

For more information see this page.

Tip: You can copy the *.cmd files from \_ISO\docs\WINCONTIG to the root of the E2B USB drive if you wish. Then you can double-click on any one of them to run them.

  • \MAKE_ISO_FOLDER_CONTIGUOUS.cmd
  • \MAKE_ROOT_FOLDER_CONTIGUOUS.cmd
  • \MAKE_THIS_DRIVE_CONTIGUOUS.cmd

 

Persistence files

If you have created persistence files for various linux ISOs in the root (\) of the E2B volume, these will also need to be contiguous.

Either use the \MAKE_THIS_DRIVE_CONTIGUOUS.cmd script to make all files on the E2B partition contiguous, or move the persistence files from the root of the USB partition to the same folder as the .mnu file - then edit the path of the persistence file inside the .mnu file. Then you can use the \MAKE_ISO_FOLDER_CONTIGUOUS.cmd script and this will avoid having to make all your files contiguous.

e.g.

Before: \_ISO\LINUX\MNU\ubuntu-13.04-desktop-amd64.iso and \ubuntu1304-rw

iftitle [if exist $HOME$/ubuntu-13.04-desktop-amd64.iso] Ubuntu 13.04 PERSISTENT\n Boot using .mnu file with persistence
 
set ISO=$HOME$/ubuntu-13.04-desktop-amd64.iso
set PF=/ubuntu1304-rw
iftitle [if exist $HOME$/ubuntu-13.04-desktop-amd64.iso] Ubuntu 13.04 PERSISTENT\n Boot using .mnu file with persistence
set ISO=$HOME$/ubuntu-13.04-desktop-amd64.iso
set PF=/ubuntu1304-rw
 
 
After: \_ISO\LINUX\MNU\ubuntu-13.04-desktop-amd64.iso and \_ISO\LINUX\MNU\ubuntu1304-rw
 
iftitle [if exist $HOME$/ubuntu-13.04-desktop-amd64.iso] Ubuntu 13.04 PERSISTENT\n Boot using .mnu file with persistence
 
set ISO=$HOME$/ubuntu-13.04-desktop-amd64.iso
set PF=/ubuntu1304-rw
iftitle [if exist $HOME$/ubuntu-13.04-desktop-amd64.iso] Ubuntu 13.04 PERSISTENT\n Boot using .mnu file with persistence
set ISO=$HOME$/ubuntu-13.04-desktop-amd64.iso
set PF=$HOME$/ubuntu1304-rw