Tuesday, 20 January 2015

Boot to TrueCrypt, only by using your USB drive

If you don't want your system to boot to the TrueCrypt password entry prompt (thus making it obvious it has been encrypted using TrueCrypt), you can make it so that it is unbootable and boot the system from your grub4dos USB drive and then from the USB drive you can boot to the encrypted Windows installation on your hard drive.

There is no 'unique' data or files on the USB drive, if you lose it you can easily make another.

see http://www.rmprepusb.com/tutorials/131truecryptusb for more details.

You can add the TrueCrypt Rescue ISO ( the one that is made when you start encryption), to your E2B USB drive, but you must rename the file extension to .iso01.

Saturday, 17 January 2015

E2B v.1.62 BetaA now available

It includes the True Hide\Unhide support discussed previously and the latest version of grub4dos.
Beta Downloads are in the Alternate Download folders (link on Download page), as usual.

Note: Previous True/Hide files have been tweaked/bugfixed - this is a new Mark 4 version!

Wednesday, 14 January 2015

'True partition' hiding/unhiding in grub4dos

The built-in grub4dos command 'hide' will set bit 4 of the partition type in the partition table of the Master Boot Record (MBR) or the Extended MBRs used for logical partition table entries - e.g.

FAT32 Type 0C hex - now run grub4dos hide command:
hide (hd0,1) 
Partition type is now 1C hex  (hidden FAT32)

However, in some cases the partition and the files inside it will still be accessible to Windows (for instance, if the volume was previously assigned a drive letter by Windows). This is because the partition is still present and still valid. Windows will still mount and display FAT16 and FAT32 partitions even if the Partition type number is of the Hidden type (e.g. 16, 1B or 1C).
Linux may also be able to access the partition and the files within it, if hidden in this way.

We can however hide the files and the partition from any operating system, by also making the PBR invalid (it will appear to the OS to be unformatted or of a 'foreign' format). In this way the file contents cannot be seen by any OS and the volume will not be mounted by Windows or given a drive letter. Grub4dos however, can still access the files within all the hidden partitions.

Monday, 12 January 2015

E2B 1.62Beta8/9 (monthly PIN code support)

A few new tweaks.
Beta9 fixes a bug - if you deleted CONTIG.ISO then it ran isoboot without using the normal partnew code! Thanks to Cristian for reporting this!


  • If you hold down either Left-CTRL key (think 'Ctrl=Crc') whilst selecting a payload file (not a .mnu file) and keep it held down for a few seconds after pressing ENTER to boot to the payload file, E2B will calculate and display the CRC32 value of the file before it runs the payload file. For instance, if an ISO file does not seem to boot correctly, you can find it's CRC32 value and compare it with the CRC32 value of the original file. Note that this feature only works with files that run using QRUN.g4b  - so this CRC32 feature does not work with .mnu menu entries and Windows Install ISOs in the \_ISO\WINDOWS\xx folders.
  • If you hold down a SHIFT key whilst selecting a (linux) ISO file (think 'Shift to isoboot') and keep it held down for a few seconds after pressing ENTER to boot to the payload file, E2B will run it using only isoboot.g4b - in this way you can test out the E2B isoboot feature even if your ISO file is contiguous. Note that isoboot is a 'last resort' attempt to boot a non-contiguous linux ISO - it probably won't work for old or non-standard linux ISOs and quite a few others too!
  • Monthly PIN code - use the MyE2B.cfg file to request a 4-digit pin number from the user before it will load the E2B Main menu. The PIN code automatically changes every month, so you will need to tell the users the PIN code for the next month at the end of the previous month. A small Windows utility (see below) can be provided which the admin can use to display the  monthly PIN numbers. The seed value can be changed so that your E2B version will have a unique set of PIN numbers.

Saturday, 10 January 2015

Install Windows 8.1 ToGo to a Removable Flash drive

Thanks to devdevadev from reboot.pro, we can install Win8.1 to a removable drive if we use a VHD to hold the Windows files.

Also works with Windows 10 Tech Preview  (choose 'Pro' for OS to install in WinNTSetup).

See here for the nitty-gritty...

Wednesday, 7 January 2015

E2B 1.62 Beta7 with Parted Magic LIVE SAVE support

The Parted Magic Parted_Magic_2014_09_21.iso (490MB) can be booted just by adding it to your E2B USB drive. Note: This Parted Magic release is not free but it is only $10.

See end of article for PMagic 2022-09-04.iso with Save feature

However the file must be contiguous or else it will copied using dd to the CONTIG.ISO each time you boot it (if it exists).

I have now modified isoboot.g4b so that it will boot directly from a non-contiguous Parted Magic iso file and it also will support LIVE boot so that you can save the settings on exit.

To run it using isoboot, select the ISO file in the E2B (v1.62+) menu and hold down the SHIFT key before pressing ENTER (or use a .mnu file).

Note: If you make an .imgPTN file from the PMagic iso using the MPI Tool Pack and MakePartImage, it can boot in MBR or UEFI mode and you can select LIVE or non-LIVE mode and choose from a range of supported languages. No modifications or menu editing is required but you will need to allow for at least 200MB of extra free space for storage of the session settings..

P.S. For non-E2B users (why not?!!!) - there is an article on RMPrepUSB.com here.

Tuesday, 6 January 2015

E2B v1.62 Beta5 available

I have added WinContig to the E2B zip file now. There will be a file called:

MAKE_THIS_DRIVE_CONTIGUOUS.cmd 

in the root of your E2B USB drive. Just double-click on this script to run WinContig.exe.

This adds 3MB of WinContig files to the USB drive but it means that you don't need to use RMPrepUSB just to make the files contiguous. So you can easily add more ISO files, etc. to your E2B drive and then run WinContig with just a few clicks of the mouse - even if the Windows system that you are using does not have RMPrepUSB or WinContig installed.

Let me know if you think this is a bad idea and I should remove it!

Bug in Beta5! Please try Beta6.

E2B v1.62 Beta4 new password protection feature

A new E2B password protection feature has been added.

If you want the user to have enter a password before a certain ISO or any other payload file can be run, you can now just add the three letters "pwd" to the end of the file extension.

Bug in this version - please try latest Beta!

Friday, 2 January 2015

E2B v1.62 Beta 2 for .dmg and HFS partition images now available



E2B v1.62 Beta 2 now recognises 4 new file extensions and it is now available from the Alternate Downloads Area as usual on the www.easy2boot.com website:

  • .dmg and .dmgHFS - these behave identically. The file must be uncompressed disk image and contain a single bootable Type AF  HFS+ partition
  • .HFSptn and .HFS - this must be a bootable partition image (not a disk image) and should be of Type AF (HFS+ partition)

Thursday, 1 January 2015

Add an OS X Installer for your E2B drive using just Windows

If you only have a Windows system, you can prepare a USB Flash drive by using RMPrepUSB - File->Drive and specifying the Yosemite.dmg file as the source. Then check that the USB drive now contains a Type AF partition by using RMPrepUSB - Drive Info - 0  to list the partitions - e.g.

Partition 1   SIZE=5235.382MiB   Type: AF   *ACTIVE*
START POS   = CYL:1023 HD:254 SEC:63       END POS = CYL:1023 HD:254 SEC:63
START (LBA) = 1 (00000001) SIZE (LBA) = 10,722,062 (00A39B0E) [End=10,722,062]

Partition 2   SIZE=0MiB   Type: 00        
START POS   = CYL:0 HD:0 SEC:0       END POS = CYL:0 HD:0 SEC:0
START (LBA) = 0 (00000000) SIZE (LBA) = 0 (00000000)

Partition 3   SIZE=0MiB   Type: 00        
START POS   = CYL:0 HD:0 SEC:0       END POS = CYL:0 HD:0 SEC:0
START (LBA) = 0 (00000000) SIZE (LBA) = 0 (00000000)

Partition 4   SIZE=0MiB   Type: 00        
START POS   = CYL:0 HD:0 SEC:0       END POS = CYL:0 HD:0 SEC:0
START (LBA) = 0 (00000000) SIZE (LBA) = 0 (00000000)

P1   Start=1 (512 bytes) End=10,722,062 (5,489,695,744 bytes)

Once the USB flash drive has been written, you can now use RMPrepUSB - Drive->File to make a .HFSPTN file (start = P1 - or whatever partition number the AF partition is).

Later versions of E2B support the .dmg file extension - so just copy the .dmg bootable single-partition image file over to the E2B drive and boot!

Another alternative is to use 7Zip to extract the .img file from the .dmg file. Then just rename the extracted file to a .HFSPTN file.

See the previous blog for more details.

Saturday, 27 December 2014

Add MemTest/KonBoot, etc. UEFI-boot files to your dual-boot WinPE USB drive (32/64-bit)

I have added a new section to the bottom of Tutorial 127 which describes how to add rEFInd to your E2B USB drive so that you can boot to other payload EFI files directly from your E2B USB drive besides Windows PE.

rEFInd will create a menu automatically by searching for .efi boot files, so it is really simple to add it to your UEFI-bootable drive - just copy over the folder and move a few files!


For E2B users - see here for the download.

Note that a few UEFI systems will not MBR-boot if a \efi\boot\bootx64.efi file is present on the USB drive - they do not show any MBR boot option and will only UEFI boot. This means you cannot boot to the E2B grub4dos menu even if they support MBR\CSM mode booting! This is why E2B does not include any \EFI boot folder or rEFInd by default.

Tuesday, 23 December 2014

Make a dual-boot (MBR+UEFI) WinPE USB drive (32/64-bit)

I have written a new Tutorial 127 here which describes how to make a WinPE dual-boot payload that will boot from a 32-bit or 64-bit UEFI system or a normal MBR BIOS system.

Although the Win8.1SE project by ChrisR is supposed to have this Multi-WIM capability, I found that I could not get it to work without having to use BootIce to fix the BCD, so it was easier just to manually merge the files from two WinPE's into one.

This shows just how easy BootIce is to use for simple BCD editing!

Once you have made the FAT32 USB drive, you can make a partition image from it using MakePartImage and add the image file to your E2B USB drive.

Saturday, 20 December 2014

Add Mac OS X Installers (e.g. Yosemite) to your E2B multiboot USB drive

Mitch recently asked me if he could add an OS X Installer ISO to his E2B USB drive. After two nights of work by Mitch (mostly!) and myself (I don't have an x86 Mac - or indeed any Mac to test it on), we got something working!

You will need a spare 8GB+ USB drive, a Mac (or Virtual Machine with OS X) and the UniBeast download...

Note: New E2B feature! If your .dmg file contains a .img file which is an HFS+ single partition and is x86-bootable - you can now just copy the .dmg file to your Easy2Boot v1.62+ USB drive and boot from it on any x86 Hackintosh PC - no need to use a OS X system or UniBeast!

Tuesday, 16 December 2014

Deleting the 'System Volume Information' folder from a USB drive (and other system files\folders)

Note for new visitors: The method described below will work for any Windows volume (not just E2B or .imgPTN files).

If you want to copy a whole partition or make a .imgPTN file from a partition volume by dragging-and-dropping the volume letter icon onto a MPI_FAT32 or MPI_NTFS Desktop shortcut, you may find that the process reports an error if Windows fails to copy some of the protected files and folders that it may already be present on the partition.

You can use strarc to copy all WindowToGo OS files to a different folder and preserve symbolic links, etc.

A simple way to avoid this is to copy the files from the entire USB drive to an empty folder on your PC's hard disk. This way you only copy the files and folders you need. You can then drag-and-drop the folder onto one of the MPI shortcuts.

If using XCOPY to copy files use /cherky instead of /herky so that errors will not stop XCOPY from continuing,

However, it may not be practical to do this, so how do we delete these pesky files and folders?

Monday, 15 December 2014

E2B v1.62Beta1, Windows XP Install ISOs and Winnt.sif files!


Here are some notes on getting 'special' versions of Windows XP Install ISOs to work with E2B.

If you just want to skip this and get to the best solution, then scroll down to the 'How to add a non-standard XP Install ISO to E2B' heading!

Friday, 12 December 2014

Add a Master Password screen to E2B

On the E2B Forum, I was recently asked by a user how to display a wallpaper bitmap on first boot and then only proceed to the E2B Main menu if the user entered the correct password.
He did not want any prompt or indication to be visible - just the wallpaper.
A Master password can be set in the E2B  \_ISO\MyE2B.cfg user configuration file but the example code displays a user prompt. This user did not want any prompt or cursor to be visible.

Thursday, 11 December 2014

Add the Polish Arcabit Rescue CD to your Easy2Boot USB multiboot drive


You can use the following .mnu file to add Arcabit to E2B (FAT32\ext2\3 drives only)

Easy2Boot will boot directly from the ISO file, but updates will not be persistent. By extracting the files from the ISO and making a .mnu file, we can get the virus updates to be stored on the FAT32 USB drive.

There is a solution for NTFS E2B drives too...

Sunday, 7 December 2014

Easy2Boot v1.61 released

Changes from v1.60 are:

  • .mnu files for Windows Install ISOs menu entries in the Main menu can now be added by the user which can specify both the .ISO file AND the .XML file to use. See the $$AddWin2Main.mnu sample menu. This means a Windows Install ISO will boot without the user needing to choose a specific XML or Key file.
  • New grub4dos version
  • Menu heading positions have been altered - menu headings are now left-aligned instead of being centred. STRINGS.txt files updated.
  • HEADPOS variable is now easier to use (can place the menu heading on any line just by changing HEADPOS). See here for details.
  • Help Footer text at the bottom of the screen is no longer padded out by HPAD, so now HBTM determines it's absolute position in the menu. See here for details.
  • \_ISO\docs\mythemes and \_ISO\docs\Templates files updated
  • \_ISO\Sample_MyE2B.cfg file updated (for HEADPOS, HBTM)
  • Italian language files added (thanks to Fabrizio)
  • German language STRINGS.txt improved (thanks to Frettt).
  • FreeDOS bootable floppy disk image changed (some FreeDOS utilities added)
  • Some superfluous files deleted from \_ISO\e2b\firadisk folder
  • Support for .isonousb and .imgnousb/.imanousb file extensions added - see here for details
  • Sample .mnu files added: DOS_ISONoUSB.mnu and DOS_IMAnoUSB.mnu, CentOS7_FAT32_ISO.mnu, Fedora20_FAT32_ISO.mnu
  • isoboot.g4b added to boot some non-contiguous linux ISOs, See here for details.

If you are using a MyE2B.cfg file and your own background, you may find you need to change the HEADPOS and HBTM values in your MyE2B.cfg file.

isoboot.g4b

If an ISO is not contiguous, E2B will try to copy the contents of the ISO to \_ISO\CONTIG.ISO which is 500MB in size by default. If this fails for some reason (e.g. CONTIG.ISO has been deleted to save space or the ISO is bigger than the size of CONTIG.ISO) then E2B will now use the isoboot.g4b batch script to attempt to boot directly from the linux ISO file by loading it into memory and using linux 'cheat codes' to boot it. This may not work for all versions of linux and it will only boot to the default 'live' version (no full boot menu is displayed).

Thursday, 4 December 2014

Easy2Boot v1.61 Beta5 available (adds booting from DOS .iso or .ima floppy images but hides the USB drive)

Changes since Beta4

  • FreeDOS bootable image changed (some FreeDOS utilities added)
  • Some superfluous files deleted from \_ISO\e2b\firadisk folder
  • Support for .isonousb and .imgnousb/.imanousb file extensions added
  • Sample .mnu files added DOS_ISONoUSB.mnu and DOS_IMAnoUSB.mnu
I was contacted recently by Drake to ask if he could boot a bootable DOS ISO from Easy2Boot but hide the E2B drive (which normally appears as the first hard disk (hd0) in the system).

So I have now added support for the file extensions .isonousb and .imgnousb (and .imanousb).

Monday, 1 December 2014

Easy2Boot v1.61Beta3 available (adds direct boot from non-contiguous linux ISOs)

For Beta2 changes see here.

Beta3 additions are:

1. When installing directly from a Windows Install ISO (Vista or later), the cfadisk device driver is now loaded automatically. This means that by the time Windows Vista/7/8/10 Setup GUI is displayed, all partitions on a Removable USB drive are accessible to WinPE\Setup. Normally, Windows will only mount and make accessible the first partition of a Removable drive.
This means that, in theory, (not yet tested!), if you use a special .mnu file, you can locate your Windows Install ISO files (and whatever .xml and .key files too) on a different partition on a Flash drive.

Note: Now removed in Beta4 because the driver causes problems with Win 8.1 64-bit Install ISOs!

If you would like to be able to treat Removable USB drives as a Hard Disk for Windows installs, you can add the cfadisk driver to the boot.wim file using 'devadevs' method, described here.

2. More direct ISO booting support for more linux non-contiguous ISO, list is now:

Thursday, 27 November 2014

Boot Fedora and CentOS directly from ISO using grub4dos

I have added another small tutorial on how to boot Fedora 20 and CentOS 7 directly from an ISO file using grub4dos.

http://www.rmprepusb.com/tutorials/126_Fedora

I found that they are rather fussy in their requirements...

Wednesday, 26 November 2014

E2B v1.61Beta 2 available

v1.61 Beta2 has these additions (compared to v1.60):

1. Italian language files added (thanks to Fabrizio)
2. Can specify both a specific ISO and XML file for a single Windows Install ISO from a mnu file.
3. German language STRINGS.txt improved.
4. isoboot.g4b added to boot some non-contiguous linux ISOs,
5. Fix problem with F1 menu heading
6. Better menu heading positioning using HEADPOS variable, menus left-aligned, Footer Help text directly positioned by HBTM variable.



Friday, 21 November 2014

MPI Tool Pack updated to v0.040

Devadev found that the default partition size calculated by MakePartImage was not quite large enough for one particular ISO, so I have slightly increased the volume size in the new version.

However, whilst testing this on my Windows 7 64-bit notebook, I found that the code I use to display the amount of free space in the virtual volume did not work. The code I used was this (simplified):

WMIC.EXE LogicalDisk Where DeviceID="C:" Get DeviceID,FileSystem,FreeSpace  /Format:csv

It turns out that the /Format:csv part was causing the problem and generating the error message:

Invalid XSL format (or) file name.

By Googling I found that this switch only works on en-US locale systems! Nice one Microsoft - not everyone in the world lives in the US! Still not fixed by a Windows 7 update!

Wednesday, 19 November 2014

Easy2Boot 1.61Beta1 available

v1.61Beta1
  • STRINGS.txt files updated.
  • Can now have .mnu files for Windows Install ISOs menu entries in Main menu which specify both the .ISO file AND the .XML file to use. The ISOs must go in the usual \_ISO\WINDOWS\xxx folders.
  • Updated grub4dos versions.
  • Menu Heading positions changed and HEADPOS now easier. Menu headings are now left-aligned instead of being centred. 
  • Help text Footer text no longer padded out by HPAD, so HBTM determnes it's absolute position in the menu.
  • \_ISO\docs\mythemes and \_ISO\docs\Templates files updated
  • \_ISO\Sample_MyE2B.cfg file updated (HEADPOS)
  • Bugfix - menu headings on submenus not always moved if HEADPOS used.

Sunday, 16 November 2014

Add multiple WindowsToGo MBR+UEFI payloads to your E2B USB drive

If you want to UEFI-boot from a WindowsToGo .imgPTN file on Easy2Boot, the system partition needs to be FAT32 to support UEFI-booting.

Wednesday, 12 November 2014

Easy2Boot v1.60 now released

No problems reported in last two days, so I have released v1.60.
This version should be faster to boot to the Main menu on slower systems (especially if you make a new E2B drive from scratch).

Don't forget to use the new \UPDATE_E2B_DRIVE.cmd file to update your existing E2B USB drive (requires RoboCopy which is already included on Vista/7/8 systems), otherwise you will get multiple menu entries for the sub-folders!

Monday, 10 November 2014

E2B v1.60 Beta6 now available


  • New grub4dos (fixes minor issue of cursor left on screen when p for password is pressed)
  • wimboot file added

Thursday, 6 November 2014

Two new Introductory E2B videos uploaded




E2B 1.60Beta2 now uploaded. Includes an Update script that will automatically update your v1.5 E2B drives.

Tuesday, 4 November 2014

Easy2Boot 1.60 Beta 1/2/3/4

In an attempt to speed up file enumerations as E2B boots, I have modified E2B so that the number of .mnu files in the \_ISO\MAINMENU folder is reduced.

Easy2Boot_v1.60Beta1.zip is now available on the Alternate Download sites at the bottom of the Download page.

Saturday, 1 November 2014

Use RoboCopy to update your E2B USB drive


I use RoboCopy (included in Windows Vista and later versions) to update all my E2B USB drives to the latest version.

I have a UPDATE_E2B_DRIVE.CMD file in the same folder as my new E2B files (after unzipping them).

To update any E2B USB drive with the new version, I just double-click the CMD file and enter the drive letter. It then copies the new files over but does not bother copying any unaltered files, resulting in a much faster update as only the files with a different size or timestamp are copied.


Only 1 file has been updated as all the others were already present and current,

My version excludes copying over all .zip files and the UPDATE_E2B_DRIVE.CMD file itself by using the /XF switch. Note that the /MT:1 parameter ensures only one execution thread is used (the robocopy default is 8) and this ensures that the files have the best chance of being contiguous (a multi-threaded copy tends to cause fragmentation of large files).

@echo off
cls
echo.
color 1f
echo %~n0
echo.
echo COPY ALL FILES FROM %~dp0
echo.
echo TO THE ROOT OF ANOTHER DRIVE
echo.
echo Only new and changed files are copied.
echo.
set ask=%1
if "%ask%"=="" set /P ask=Enter Drive Letter to copy files to (e.g. E) : 
if "%ask%"=="" goto :EOF
REM exclude .zip files and this file
robocopy %~dp0 %ask%:\ /E /NFL /NDL /NJH /MT:1 /XF *.zip %~nx0
pause

Friday, 31 October 2014

E2B v1.58 Released

  • Large exFAT drive issue fixed (debug off in LstFExt.g4b needed due to grub4dos bug),
  • .isopup fixed in QRUN.g4b
  • Small fix to allow $$main.mnu user file to load new splashimage for Main menu.
  • Reduce number of file accesses in \_ISO\e2b\grub\menu.lst code for faster boot up. 
  • Added support for multiple wallpaper backgrounds, even if FASTLOAD is used. 
  • Redundant environment variables tidied up. 
  • New grub4dos for exFAT (no Warning messages). 
  • \EFI (memtest86) folder removed (stopped some systems booting to grub4dos!).
  • New features, etc. added to the \_ISO\Sample_MyE2B.cfg file
  • Warns user if no BIOS system hard disk is found
Note that I have now removed the MemTest86 UEFI boot files so that you can no longer boot to MemTest from a FAT32 E2B drive directly. Instead you can download the ISO file from the PassMark MemTest86 website and convert it to a .imgPTN file using MakePartImage if you want a UEFI memory test feature.

If you are updating your FAT32 E2B USB drive, I would advise you to delete the \EFI folder from it, as this can prevent E2B from booting on some UEFI systems as I detailed in my previous blog here. If you have an NTFS E2B drive then the \EFI folder serves no purpose anyway as UEFI will not boot from an NTFS partition.

Wednesday, 29 October 2014

Fujitsu LifeBook AH532 always boots to MemTest86 from an Easy2Boot USB drive!

Ali contacted me today about his Fujitsu LifeBook.
He had made an external E2B USB FAT32 160GB hard disk which booted to the E2B Main menu just fine under QEMU. However, when he tried it on his LifeBook, it booted from the E2B USB drive but ran MemTest86 instead of displaying the E2B menu!

My first thought was that the BIOS was not set for CSM\Legacy BIOS mode. However, it was set correctly:

Advanced – Boot Configurations – Fast Boot : [Disabled] 
Advanced – Boot Configurations – CSM : [Enabled] 
Security – Secure Boot Configuration – Secure Boot Option : [Disabled]

When he pressed F12, a boot selection menu was displayed which listed his internal hard disk and the external USB E2B hard disk. However, there was only one menu choice for the E2B drive and not two. The E2B USB menu entry did not mention UEFI or EFI but nevertheless still booted via UEFI to the \EFI\boot\bootx64.efi MemTest86 file!

Just to see what would happen, I suggested that he deleted the \EFI folder from the E2B FAT32 partition.

When he did this, he still got the same BIOS boot menu with the same USB boot drive entry option, but this time it booted to the E2B Main menu!

It seems that this Fujitsu LifeBook Firmware does not allow the user the choice of UEFI and non-UEFI booting, but always UEFI-boots if there is a suitable file present.

So, if your E2B USB drive is formatted as FAT32, you may need to delete the \EFI folder to prevent this problem from happening on some systems.

Tuesday, 28 October 2014

RMPrepUSB v2.1.725 released

RMPrepUSB v2.1.725 is now available. It includes the new version of grub4dos grldr (20141027) which is now the same version used by E2B v1.57aBeta9.
I have also changed the RMPrepUSB - Install grub4dos code so that it always asks you if you want to copy the grldr file over (even if 'No user prompt' is ticked) and it also now warns you that it will overwrite the \grldr file if there was one already present on the target USB drive.

E2B v1.57aBeta9 is looking good so far. Hopefully, I can release it as 1.58 in a few days. Please try it and let me know if you find any problems.

Hide your E2B partition from Windows

Ric asked me how to add a menu to hide\unhide the E2B partition from Windows so that it could not be accessed by unwanted programs and viruses, if he plugged it into an infected Windows system.

Here are the HidePtn.mnu file contents:

# Use this menu to hide or unhide the hd0,0 partition (first partition of the E2B drive) so that Windows cannot access it

iftitle [hiddenflag (hd0,0) > nul] UnHide E2B Partition\n Unhide the 1st partition
unhide (hd0,0)
configfile (md)0xa000+0x50 || configfile /menu.lst

iftitle [checkrange 0 hiddenflag (hd0,0) > nul] Hide E2B Partition\n Hide the 1st partition
hide (hd0,0)
configfile (md)0xa000+0x50 || configfile /menu.lst

If you need to access the contents of the E2B drive from Windows when it is the 'hidden' state you can boot it using an emulator (e.g. RMPrepUSB - QEMU or MobaLiveCD.exe or VirtualBox+VMUB or VMWare) and then run the UnHide E2B Partition menu entry. Then unplug and reconnect it and the E2B partition should be visible to Windows.

If you want to hide/unhide the 2nd partition of an E2B USB hard disk, change (hd0,0) to (hd0,1) in the menu.

This HidePtn.mnu file will be  included in the \_ISO\docs\Sample mnu Files folder of E2B v1.58 and later versions.

Monday, 27 October 2014

Tonights build is 1.57aBeta9

There were a few small niggles reported. Hopefully this new version fixes them.
There is also a new version of PassPass  1.6 available on the E2B Alternate Download Area.
The previous PassPass 1,5 version was rather messy and created lots of grub4dos variables which then interfered with the E2B menu system when you returned back from the PassPass menu to E2B and then ran a .imgPTN file.

I also found a workaround for having multiple wallpapers even if FASTLOAD is enabled. Also both wallpapers should now be shown if the user presses the F8 in the Main menu. For a demo see my previous blog with a video.

E2B v1.57aBeta6 has new grub4dos

Chenall has fixed the exFAT and cat --hex bugs in grub4dos and 1.57aBeta6 has the new versions of grub4dos. Please check it out and let me know of any issues. The new version is in the Alternate Download areas on the E2B Download page as usual.
If no problems reported within the next few days I will release it as v1.58.

Saturday, 25 October 2014

E2B 1.57a - new bug found in new grub4dos versions

It seems that the format of the output of the cat --hex command has been changed in later versions of grub4dos and this has broken the delptn3.g4b code in E2B. The latest E2B v1.57aBeta5 will thus display an empty and broken partition table if E2B detects that ptn 4 contains an existing partition entry.


I have reported the problem and hopefully grub4dos will be fixed and made compatible with earlier versions. Current issues are reported on github here.

With an older Sept 03 2014 version of grub4dos this table is shown correctly:


Tuesday, 21 October 2014

E2B v1.57 released!

The new version is 1.57 as there have been quite a few Betas (v1.56 and 1.56a versions which weren't officially released). This version is available in the Alternate Downloads Area at www.easy2boot.com/download/ as usual.

Changes in 1.57 (from 1.55)
  1. New grub4dos \grldr (20141021) fixes exFAT bug with >4GB files + other small bugs 
  2. CPU 32/64 bit & Total memory displayed in Main Menu heading and Windows Install menu 
  3. New Sample mnu Files examples. 
  4. Weird characters such as ()!''&| may now work if used in Windows ISO and .imgPTN filenames. 
  5. 'Boot any key to boot from CD or DVD' Windows install prompt suppressed. 
  6. Default Aurora background compressed using lzma (reduced size). 
  7. .iso64 family of file extensions recognised (only listed if 64-bit CPU). 
  8. Fastload menu has changed (only seen if FASTLOAD is enabled) - now press F8 to refresh the menu instead of the separate REFRESH entry. 
  9. Change Automn.g4b and Automn.g4b to use 56MB area of memory instead of 74MB area so can use E2B on systems with 64MB of memory or more. 
  10. German STRINGS.txt and F1.cfg updated (thanks Frettt) 
  11. Aurora Wallpaper changed slightly to remove English text. 
  12. XP Install ISO won't prompt to press a key to boot from CD 
  13. Add compatibility for USB drives made using FlashBoot when using .imgPTN files. You must use RestoreE2B.cmd to restore the MBR though! 
  14. Polish language added (thanks 'no-way'!) 
  15. \_ISO\docs\Sample mnu Files\Change_Language.mnu changed 
  16. Change_Font.mnu added to \_ISO\docs\Sample mnu Files folder (temporarily changes menu font). 
  17. If FASTLOAD is enabled, E2B now does not re-enumerate (count) all the Windows ISO files on first boot, so booting is now even faster! 
  18. Windows 10 menu added 
  19. Some corrections made for correct filename case if using a case-sensitive filesystem for E2B like ext2/3/4.
Frettt has kindly spent some time translating into German (proper German, not 'machine-translated German) the E2B text and F1 help text. He mentions E2B on his site here. His site(s) also contains a useful selection of freeware and tips.
http://www.frettts-freeware.com/
http://www.frettts-freeware.de/
http://www.frettts-surftipps.de/

Polish is also now available thanks to 'no-way'. Special thanks to Simone and Stephan for bug-finding and suggestions too!

There is a slightly new look to the background wallpaper (I have removed the English text from the wallpaper and moved it to the bottom so you can have a wider menu).

1.57 auf Deutsch (Main menu heading and footer can be changed using MyE2B.cfg file)

Let me know if you spot any problems (but try latest 'bleeding edge' Beta version first!).

Wednesday, 15 October 2014

E2B v1.56aBeta11 update

Seems to be a small incompatibility in the new grub4dos which affect calculations involving the shift >> operator. This has the affect that E2B reports the memory size incorrectly in the Main menu heading when using the new version of grub4dos.
I have updated some .g4b batch files to fix the issue so that it should work with both old and new versions. The issue is reported here.
Thanks to Simone for reporting it (I didn't notice!).

Easy2Boot v1.56a Beta 10 now available

This version has a few changes (CheckAccess.g4b has been tweaked) and the latest versions (at last!) of grub4dos (both 0.4.5c and 0.4.6a).
Please let me know if you experience any problems.
If you see an 'OLD GRUB4DOS VERSION' message, be sure to update the \grldr file with the version in the 1.56aBeta10 download.
The download is in the Alternate Download Areas accessible from the Downloads page as usual.
To update, just unzip the file to the root of your USB drive as usual.

Unless there are any problems reported, this version will be the official 'release' version of 1.56 in a few days.

Friday, 10 October 2014

E2B v1.56aBeta9 now has a Windows 10 menu

The Windows 10 technical preview ISO could be installed from E2B by adding it to the \_ISO\WINDOWS\WIN8 folder and using the correct Product Key, however I have added a new \_ISO\WINDOWS\WIN10 folder to E2B now so that any new Windows 10 ISOs can be kept in their own folder and have their own menu.

The download is available in the Alternate Download Areas as usual.

1.56a will be released as soon as chenall has time to fix a bug in grub4dos so that I can release it with the latest version of grub4dos.

Monday, 29 September 2014

FakeFlashTest v1.1.1 now available

This version of FFT allows you to list all drives in the system (including internal hard drives - dangerous!).

Some users have reported that v1.0.9 did not list their SD Card Readers as they were not USB devices. This new version gets round this problem if the user ticks the List all drives checkbox.

Take care not to destroy the data on your internal hard disks!

Download is at the bottom of this page.



Saturday, 27 September 2014

32-bit UEFI booting using E2B

It seems quite a few people want use E2B to try linux and other OS's on their 32-bit UEFI-only Tablets. Some Intel Atom-based Tablets are 32-bit UEFI only (even if the Atom CPU itself is a 64-bit CPU).

The first thing they find is that when they try E2B on these UEFI-only devices, it just boots and runs MemTest86 because they have formatted the E2B drive as FAT32 and E2B includes Memtest86 in the form of the bootable UEFI files \EFI\boot\bootx64.efi (for 64-bit UEFI systems) and \EFI\boot\bootia32.efi (for 32-bit systems).

If they have formatted the E2B USB drive as NTFS, then of course, it will not UEFI-boot at all because the default bootable filesystem must be FAT/FAT32 for UEFI systems.

The next thing I have to explain, is that they need to make a FAT32 .imgPTN file of their 'payload' and make sure that the correct .efi boot file is present.

The problem is that if the user's Tablet is a 32-bit UEFI system (that does not support CSM\MBR mode) then they need to find an OS that is 32-bit UEFI bootable - and there are not many of these around!

Clonezilla zip files (e.g. clonezilla-live-2.2.4-12-i686-pae.zip) seem to contain both 32-bit and 64-bit EFI files and so will boot from both a 64-bit and 32-bit UEFI system. For this reason, I always recommend that a new user tests UEFI-booting with this first (after converting it to a .imgPTN file).

The only other OS or utility I have been able to find (other than Memtest86) that supports 32-bit UEFI-booting is Fedora-17-i686-Live-SoaS.iso (note: version 20 does not seem to support 32-bit UEFI booting). Parted Magic also supports 32-bit and 64-bit UEFI-booting.

If you know of any others ('live' CDs, etc.) , please let me know and I will add it to the list of tested payloads on my E2B site so that others can try them.

Note: If they are 32-bit UEFI bootable, then they will contain the \EFI\boot\bootia32.efi file (amongst others). If they don't contain that file then they won't boot from an E2B USB drive on a 32-bit UEFI system.

If you have a 32-bit UEFI-only system, you won't be able to boot the E2B USB drive to get to the E2B menu and select the .imgPTN file. You therefore need to boot the E2B USB drive in MBR-mode in another way first. You can use RMPrepUSB - QEMU (F11), or MobaLiveCD.exe or VMWare or VirtualBox to do this (or another real system that will MBR-boot).

As soon as you get to the CSM menu after selecting the desired .imgPTN file, you can then boot from the E2B USB drive on your 32-bit UEFI Tablet.

You can switch it back to the E2B menu is the same way, or you can run the RestoreE2B (run as admin).cmd file which is located on the E2B drive's \e2b folder (when in CSM mode) from Windows. This file can also be run from the MPI ToolKit folder that you downloaded (RMPrepUSB should be pre-installed).

Instructions (found by Karan) for booting Ubuntu from the Asus T100 are here. Karan found that he could copy the bootia32.efi file from here to a Ubuntu 14.04 64-bit .imgPTN file (\EFI\boot\bootia32.efi) and his Intel Atom system booted. I suspect this will only work if your firmware is 32-bit UEFI but your CPU is 64-bit though, like Karan's Notion Ink CN89553G.

Friday, 26 September 2014

How to retrieve files from a computer without booting it to an OS (via PXE)!

I needed to get some files from the internal hard disk of a notebook recently. The problem was that it had no CD/DVD drive and would not boot from a USB drive or the internal hard drive either!

I could have removed the internal hard disk from the notebook, but then I remembered about a Tutorial I had written using Toolwiz Remote Backup. It seems this is still available (free) and has been updated too.

This utility allowed me to PXE boot from the notebook and then look at the internal hard disk partition and retrieve files from it within 1 minute of installing it onto my other Windows system. It is really easy to use too.


A useful utility to add to your toolkit!

E2B 1.56aBeta1 available

Still waiting for a bugfix in grub4os, but meanwhile I have added latest Beta to the Alternate Download areas.
For changes see here.
Let me know if you find any problems.


Friday, 12 September 2014

Bug in E2B 1.55 & 1.56beta (XP installs)

E2B v1.55 uses a version of grub4dos which has a bug. If you try to install XP from an ISO using DPMS, then XP Setup complains that it cannot detect any disks! This bug appears to start in grldr 2014-08-19 and later versions but is not in 2014-08-17 and earlier versions. I have reported this to chenall and hopefully he can find the problem.  If you have a later version, you can replace the \grdlr file with the 2014-08-17 version of 0.4.5c from http://grub4dos.chenall.net/categories/downloads/.

Please update to v1.55a or 1.56a.

Note: As of 2014-09-19 I am still having weird issues with grub4dos later versions (e.g. losing USB drive, not enumerating all items, hanging).

P.S. 20141027 and later seem OK.


Thursday, 11 September 2014

Bug in E2B v1.56 (in grub4dos)

It seems something is broken in the new version of grub4dos!
If using XP Install and DPMS, you will get a FAT disk I/O error.
I have withdrawn v1.56 until chenall can fix grub4dos.
You can replace \grldr with the 2014-08-17 version if you like, but E2B v1.56 will complain about it being too old.

Wednesday, 10 September 2014

E2B v1.56 released

PLEASE NOTE: Discovered a bug in the new grub4dos version! I have withdrawn v1.56 until a grub4dos is fixed! Please use v1.55 for now.

Changes in 1.56
  • New grub4dos \grldr (20140908) fixes exFAT bug with >4GB files + other small bugs
  • CPU 32/64 bit & Total memory displayed in Main Menu heading and Windows Install menu
  • New Sample mnu Files examples. 
  • Weird characters such as ()!''&| may now work if used in Windows ISO and .imgPTN filenames.
  • 'Boot any key to boot from CD or DVD' Windows install prompt suppressed. 
  • Default Aurora background compressed using lzma (reduced size). 
  • .iso64 family of file extensions recognised (only listed if 64-bit CPU). 
  • Fastload menu has changed (only seen if FASTLOAD is enabled) - now press F8 to refresh the menu instead of the separate REFRESH entry. 
  • Change Automn.g4b and Automn.g4b to use 56MB area of memory instead of 74MB area so can use E2B on systems with 64MB of memory or more.
Let me know if you spot any problems. The F1.cfg Help menu is in English in all languages and also some of the new text in STRINGS.txt (see end of file). Any translations welcome!

Monday, 8 September 2014

Easy2Boot v1.56Beta10 now available for testing

E2B v1.56 Beta10 is now available in the Alternate Download area on the Easy2Boot Download page here. I consider this to be a Release Candidate and will release it as the official v1.56 soon unless anyone spots any bugs. It uses the latest versions of grub4dos which have several new minor bug fixes thanks to Chenall. The E2B version history is here.

To update your E2B drive, just extract all files from the zip file directly onto your E2B USB drive (even if you have the DPMS version on your E2B USB drive, it will still be updated correctly).

P.S. I have updated RMPrepUSB to include the same new version of grub4dos too. Download from here.

Saturday, 6 September 2014

How to make your own linux ISO .mnu files

I was asked today about LXLE with persistence. This distro is based on Lubuntu and the user wanted to get persistence working. There was a lubuntu-13.04-desktop-i386_Persistent.mnu menu available but not one for LXLE.

I thought I would describe how I went about changing this lubuntu-13.04-desktop-i386_Persistent.mnu file to get it working with LXLE.

  • First I copied the lubuntu-13.04-desktop-i386_Persistent.mnu file and the lxle ISO file to the \_ISO\MAINMENU\MNU folder of my E2B NTFS USB drive which I use for testing.
  • Next, I renamed the file to lxle-1404-x64_Persistent.mnu.
  • Next, I edited the .mnu file in Notepad to change all occurrences of the  lubuntu-13.04-desktop-i386.iso file to lxle-1404-x64.iso.
  • Next, I changed all occurrences of the persistent file lubuntu-rw to lxle-rw
  • Finally, I made a persistent ext2 file in the root of the E2B USB drive using RMPartUSB's - Create ext2 FS button. When prompted I used:
               File Name = lxle-rw
               Volume Name = casper-rw
               Size = 500
  • I then ran WinContig on the drive (RMPrepUSB - Ctrl+F2).

Unfortunately, I got an error when I tried to boot from the menu entry in E2B


This indicated that the file \casper\initrd.lz was not actually present inside the .iso file.

Looking inside the ISO file using 7Zip to view it, I found:


Normally, in a linux ISO that uses isolinux to boot, there is an isolinux folder which holds several .cfg files, the main one being isolinux.cfg. If grub is used, there may be a \grub folder containing config files. If grub4dos is used, it may have a \menu.lst file and other .lst files.

I double-clicked isolinux.cfg to open it up in Notepad ++ (if you try to use Windows NotePad, it will merge all the lines together due to a CR/LF problem - see below).

The isolinux.cfg main LiveCD menu entry seems to be:

label live
  menu label live - boot the Live System
  kernel /casper/vmlinuz
  append  file=/cdrom/preseed/custom.seed boot=casper initrd=/casper/initrd.gz quiet splash --

So I converted this to grub4dos as follows:

kernel /casper/vmlinuz file=/cdrom/preseed/custom.seed boot=casper persistent quiet splash --
initrd /casper/initrd.gz 

As you can see, we just need to re-arrange a few things. The reason for the error is now apparent, because the file used for the initial ramdrive (initrd) is initrd.gz and not initrd.lz as it was in the Lubuntu .mnu file.

Warning: Do NOT copy and paste whole lines from a linux .cfg file into a grub4dos .mnu file. The carriage-return/line-feed end-of line characters are not the same in a linux file and although it may look OK in NotePad, it won't work in grub4dos due to embedded invisible CR/LF characters! It is better to type them in manually rather than copy and paste in lines from a linux text file!

We need to add in the 'persistent' parameter so that it will look for a casper-rw volume when it boots.

In the end, after tidying up the .mnu file a bit to make it easier to modify for the end user, we have:

# Make a ext2 file using latest version of RMPrepUSB in the root of the drive 
# File Name=lxle-rw  Volume Name=casper-rw
# Place this .mnu file and the ISO in either \_ISO\MainMenu\MNU or \_ISO\Linux\MNU
# This menu will work even on an NTFS USB boot drive
# IMPORTANT: you MUST run WinContig (Ctrl+F2) before booting E2B.
# e.g.
#\lxle-rw
#\_ISO\MAINMENU\MNU\lxle-1404-64.iso
#\_ISO\MAINMENU\MNU\lxle-1404-64_Persistent.mnu


iftitle [if exist $HOME$/lxle-1404-64.iso] LXLE 14.04\n Boot using .mnu file with persistence

set ISO=$HOME$/lxle-1404-64.iso
set PER=/lxle-rw

if exist CD echo WARNING: Cannot use partnew command! && pause && configfile (bd)/menu.lst
if "%E2BDEV%"=="" set E2BDEV=hd0 && pause E2BDEV forced to hd0!
#enable parttype output
debug 1
# make empty table entry in 3rd position in ptn table
parttype (%E2BDEV%,2) | set check=
debug off
set check=%check:~-5,4%
if "%check%"=="0x00" partnew (%E2BDEV%,2) 0 0 0
if not "%check%"=="0x00" echo WARNING: PTN TABLE 3 IS ALREADY IN USE - PERSISTENCE MAY NOT WORK! && pause
debug 1
if not exist %PER% echo WARNING: %PER% persistence file not found! && pause
errorcheck off
if "%check%"=="0x00" partnew (%E2BDEV%,2) 0x0 %PER%
errorcheck on
#map ptn 4 to ISO
partnew (%E2BDEV%,3) 0x0 %ISO%
map %ISO% (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz file=/cdrom/preseed/custom.seed boot=casper persistent quiet splash --
initrd /casper/initrd.gz 


This .mnu file will be in the Sample mnu Files folder in the next E2B 1.56Beta download and is also in the Alternate Download area now (though it may be removed later when 1.56 is released).