Tuesday 25 August 2015

Easy2Boot and VHD BSOD 0xc00000bb boot problem

I have just found that the Windows 10 version of bootmgr is incompatible with NTBOOT for directly booting VHD files in Easy2Boot.

I have posted the problem on reboot.pro here.

If you have used a Windows 10 system to make an Easy2Boot USB drive, you may find that the version of bootmgr will give a BSOD 0xc00000bb error if you try to directly boot from a VHD.


To fix this, replace the version of bootmgr in the folder \_ISO\e2b\grub\DPMS\NTBOOT.MOD with an older version.

Older versions 2, 3 and 4 all work OK,

1. bootmgr 10-07-2015 395268 CRC32=45B6D6D7   - WINDOWS 10 version  INCOMPATIBLE!
2. bootmgr 22-08-2013 427680 CRC32=87783488
3. bootmgr 25-07-2012 398156 CRC32=4B1A74EF
4. bootmgr 14-06-2014 404250 CRC32=CB810D1B

Monday 24 August 2015

Windows Answer File Generator site now has Windows 10 support

I just noticed that the WAFG site now has a Windows 10 page, so you can generate your own Windows 10 Unattend.xml answer files (and then use XMLtoE2B.exe to convert them for use with E2B).

Don't forget to say thanks by donating to the WAFG site if you find it useful!

Sunday 23 August 2015

Add a global hotkey to Easy2Boot

You can define global hotkeys to do various things by adding hotkey commands to the \_ISO\MyE2B.cfg file. Some examples are given in the \_ISO\Sample_MyE2B.cfg file.

Do you have a favourite ISO file that you always like to boot to in Easy2Boot?
Why not set up a global hotkey for it so you can boot to it from any E2B menu?
What about booting Hirens or WindowsToGo or WinPE, using a hotkey from any menu?

For instance, set up the F11 hotkey to always run an Ubuntu Live ISO (or any ISO file) from any menu, by adding the line below to your \_ISO\MyE2B.cfg file:

(bd)/%grub%/hotkey [F11] "(bd)/%grub%/qrun.g4b force.isodefault  (bd)/_ISO/MyUbuntu.iso ;; boot" > nul

Saturday 22 August 2015

Why you should always check for download file corruption!

It is not uncommon to download a large file only to find that it is corrupt. Sometimes the problem is immediately obvious, but sometimes it can leave you scratching your head for hours, before you finally realise that your source file was corrupt!

It is also not uncommon to find that when a large file is copied to a USB drive, the copy did not work correctly and leaves you with a corrupt file. 'Fake' USB drives can also cause this type of symptom.

Downloading a Zip/7Zip/Rar compressed file is usually safe because when you unzip it, you will be warned if it is corrupt, but if you download a .ISO file you should always double-check it!

For instance, I have found file corruption in a large \sources\install.wim caused a problem with Windows failing to boot after a fresh install, but Setup did not complain that the install.wim was corrupt!

Friday 21 August 2015

MPI Tool Kit v0.054 available (BitDefender/grub2 bugfix)

Due to a weird issue with one of the files on my system, whenever I used the MPI Tool Kit to convert the BitDefender Rescue CD ISO to a .imgPTN file, it always worked (for me!). However, as no one else would have this 'undeletable' file on their system, it turns out that converting a BitDefender ISO (and probably many other grub2 ISOs) to a .imgPTN file probably did not work for anyone else!

I compared a working .imgPTN file with a non-working one and the problem turned out to be due to the \boot\grub\i386-pc\command.lst file being a binary file (despite having a .lst file extension!), but it was getting corrupted by MPI because it was processed as a text file!

MPI changes some strings (e.g. UUID and volume label, etc.) in some text files, using ssed.exe (a version of sed) .

To fix the problem, I needed to find out if each *.lst file was a text file or a binary file and ignore any binary files.

This proved to be quite tricky as Windows does not seem to have a way to detect if a file is a binary file or not (that I could find).

In the end, I used ssed.exe to find and replace any 00 hex bytes in the file with the characters "ZZXXZZ" and then used the Windows find.exe utility to see if any substitution had taken place.

::check for binary file
ssed   "s/\x0/ZZXXZZ/g" "%~1" > sed1.txt
find "ZZXXZZ" sed1.txt > nul
if not errorlevel 1  echo %~nx1 IS A BINARY FILE && goto :quit

Not elegant, but it works!

If you are having trouble getting BitDefender or other grub2 ISOs to work as .imgPTN files, please download the MPI Tool Kit v 0.054 and then run the CreateDesktopShortcuts.cmd script to update your shortcuts to point to the new version.

This version also has improved MBR recovery in case you accidentally trash your E2B drive (for example by accidentally installing grub2 to the MBR and the following sectors). A backup copy of the MBR is now made to the file \e2b\MBR.BIN as soon as you boot to the CSM menu. Once you restore the MBR from this file (by using BootIce or RMPrepUSB - File->Drive), you can re-install grub4dos to the MBR using RMPrepUSB and your E2B USB drive should be operational once again.

Thursday 20 August 2015

Add a full Kali (or multiple linux) installations to your Easy2Boot USB drive using Virtual Box

It is possible to create multiple fully-installed linux installations on a single E2B USB drive by creating image partition files (.imgPTN files).

We can do this by making fake 'blank' partitions on our E2B USb drive (.imgPTNfile) and then using Virtual Box with DavidV's VMUB utility to install linux onto it.

Use the latest MPI Tool Pack (v.0.054 2015-08-21 or later). This includes CSM menu support for grub2/syslinux installations on the 3rd partition.

Wednesday 19 August 2015

Is your E2B USB drive too slow?

Easy2Boot needs to enumerate all the files in and under the \_ISO\MAINMENU folder when it first boots and also needs to count the files in the \_ISO\WINDOWS folders. Some people find that, on some systems, the wait to display the E2B Main Menu is too long.

Possible causes:

Monday 17 August 2015

Hurry - EaseUS ToDo Home Backup free for 48 hours (normally $29)

I have never used it, but the offer is here. You must provide a valid email address to get the key (it takes 5 minutes or so for the email to arrive).
Late note: My activation did not work and it said it had already been used  :-(  Others seem to be having the same problem so it may be fixed later...

Offer expired! Check HERE for more offers.

There is a ToDo Backup Free version

Add BitDefender Rescue ISO to E2B

BitDefender provide a free bootable ISO for scanning and cleaning viruses from systems (details here). This is a very useful tool to add to your E2B USB drive.

Recent versions of the BitDefender AntiVirus rescue ISO use grub and support UEFI x64 booting.