Thursday 8 October 2015

SWITCH_E2B new version available

The latest Beta version is now available. It should work under WinPE, and even from a RAM Drive now.

Details about the utility can be found here. Once released, it will be included in the next version of E2B and the MPI Tool Pack downloads.

Downloads in the 'Other Files' folder at:
v 0.1.30 is a self-extracting, auto-run exe which extracts the two files to a temporary file before running it. This solves a problem concerning running it from the USB drive when in CSM mode.
v 0.1.32 - bugfix for WinPE. A warning is given, but you can continue to use it.
v 0.1.33 - detects if running WinPE if TEMP drive is X: or A: or B: and suppresses warning
v 0.1.35 - bugfix for restoring LBA30/60.
v 0.1.37 - includes msvbvm60.dll in SE exe (will run under vanilla x86 PE now), mousepointer hourglass displayed during switch.
v 0.1.39 - small changes to drive list, etc.
v 0.1.40 - fix for remounting drive after partition change under WinPE issue
v 0.1.41 - cosmetic changes to layout, icon, etc. horizontal scroll bar for file list box implemented.
v 0.1.45 - keep same partition in drive list box after switching, improve Admin rights test.
v 0.1.47 - reduce delay from 3 sec to 2 sec after switch. If extension is .imgPTN and dummy Type 21hex partition at table entry #2 then entry #2 is not deleted when switching to CSM mode. This is because some BIOSes will not MBR-boot from a USB drive if they only see one partition. If you don't want the 2nd partition in CSM mode, use .imgPTNa file  extension (or any .imgPTN* extension except .imgPTN).
v 0.1.48 - bug-fix -  if spaces in temporary path then get FileExtents fails.
v 0.1.49 - show form before searching for files, reset horiz tab when changing drive.
v 0.1.52 - .imgPTN+Type21 logic changed slightly
v0.1.55 - use LBA1 grub4dos backup sector if LBA30/60/MBR.BIN all corrupt.
v0.1.58 - removed LBA1 recovery as could restore an old, outdated partition table!
v1.0.0 - Added Help button.

Please let me know if any problems (steve (at) easy2boot dot com).


Any comments/suggestions welcome.

Wednesday 7 October 2015

Switch_E2B new Beta version

Latest Switch_E2B is in
Google Drive download area
OneDrive download area

in Other Files folder.
email me at steve (at) easy2boot dot com  for an unzip password (not required on later versions)

Note: Password provided on understanding that I cannot be held responsible if it destroys your disk partitions! (but no bad reports so far...)

Tuesday 6 October 2015

Switch_E2B Windows application

I am now at the Beta stage of testing the Switch_E2B.exe 32-bit Windows application.

The idea is that this App will be added to the E2B and MPI Tool Pack so that the application is always on your E2B USB drive (whether the USB drive is in 'E2B mode' or 'CSM mode') and ready for you to run under Windows.

Friday 2 October 2015

Linux Mint LMDE 2 "Betsy" with persistence .mnu for Easy2Boot

I have added a new .mnu file to the Alternative Download Area for Betsy LMDE.

The file is called lmde-2-201503-mate-32bit_Persistent.mnu in the MNU folder.

Because it is based on Debian, you will need to create an ext2 file with a volume name of 'persistence' (not casper-rw) and then create the persistence.conf file - instructions are in the .mnu file.

See previous blog for more details about making a persistence file here.

Sunday 27 September 2015

Add FreeDOS USB disk .img files to Easy2Boot

You can 'build' your own bootable FreeDos USB drive using RMPrepUSB, add any files you like, get it all working, and then use the MPI_FAT32 tool to make a .imgPTN file from USB stick.

However, some ready-made USB image files containing FreeDOS can be downloaded from here.

These are intended to be either PXE booted or directly written to a USB drive as an image using dd or some direct-write utility (e.g. RMPrepUSB - File>Drive). However, we can boot directly from them using the .mnu file below in Easy2Boot:

Friday 25 September 2015

Add a full Arch Linux OS to Easy2Boot



Here are the steps to add a full install of Arch Linux to an Easy2Boot USB drive.

We will create an empty partition file (ARCH) and then use Virtual Box + DavidB's VMUB to install to the partition file.

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.

I used archlinux-2015.09.01-dual.iso for the test below.

Friday 18 September 2015

Install ProxMox from E2B

I have updated the ProxMox instructions in a previous blog because the instructions only appear to work from a FAT32 USB drive.

To add ProxMox to an NTFS E2B USB drive, we need to create a FAT32 .imgPTN file.

The ammended blog post is here.

Saturday 12 September 2015

How to stop scam phone calls!

Nearly every day this week, at around 1pm, I get a call from a 'TalkTalk ISP help desk' scammer who says that I have a problem with my computer and she asks me to install and run TeamViewer so they can take over my computer and 'fix' the problem. They promised me £200 compensation too! I know this is a common scam - see here and here. I also get calls from the 'Microsoft Windows department' for the same 'problem'.

Sunday 6 September 2015

Add a DOS-based BIOS update program to E2B

Some older BIOS update programs such as AWDFLASH.exe are DOS-based and you need to boot to MS-DOS or FreeDOS to run them.


How can we do this from E2B?

Saturday 5 September 2015

Easy2Boot v1.72 now available

I have just uploaded v1.72
    New plain background! Smaller file size and loads faster too!

Tuesday 1 September 2015

Windows Black Belt troubleshooting videos

Want to learn some neat tricks on how to gain full Admin access to a Windows system and be able to work with full user rights?

Watch Win 8.1 TechEd video.
  • Use Intel vPro for remote control.
  • Boot from a Win8.1 Install DVD to hack repair a system by replacing \Windows\System32\sethc.exe.
  • Use robocopy to copy system files that Windows won't even allow an Admin account user to copy due to ACL problems (time @0:41:0)
  • Use Sysinternals psexes -sid cmd.exe to get full access rights (@0:42:0)
  • Debug problems by looking at threads not processes using Sysinternals Process Explorer (procexp)  (@0:45:0)
  • Use TAKEOWN.exe or robocopy /B to access 'difficult' files (@0:54:0)
  • Use iCacls /SetIntegrityLevel
  • Check your admin level using whoami /groups (@0:55:30)
  • Info on using Windows RE (recovery environment) (@1:0:0)
  • How to use MSconfig.exe,  Sysinternals Autoruns.exe, 
  • Turn on highly detailed error messages (@1:06:00)
  • Logon without logging on! (@1:08:0)
There is also a Windows 10 Black Belt session.

Sunday 30 August 2015

Add a Debian Live ISO with persistence to Easy2Boot

You can download the latest Debian Live ISOs from here.

I used debian-live-8.1.0-amd64-mate-desktop.iso and added persistence by using a .mnu file.

The new .mnu file will be added to the E2B v1.72 Sample mnu files folder , but can be downloaded from the Alternate Download (Google Drive and One Drive) areas (look under 'mnu files').
OneDrive download area
Google Drive download area

The .mnu file should work for most Debian Live ISOs if you change the name of the ISO inside the .mnu file (occurs twice).

Clean install of Windows 10 without needing to first do an Upgrade install

I found the instructions on ghacks.net today.

Note: In later versions of Win10, these instructions are not required. Just install a fresh copy of Win10 and enter the original Win7/8 product key and it should activate!

You can also just boot from a USB drive to WindowsToGo and pre-activate any system for Windows 10 - see here.

I have not tried it but it looks useful!

Quote from ghacks.net shown below in case it disappears.

Tip: Before you run this operation, make sure to backup the existing Windows installation so that you can restore it should things go wrong.
Here is what you need to do to clean install Windows 10 on a computer system, without needing to run the Win10 Upgrade first and then wipe and re-install.
  1. You need a Windows 10 DVD or ISO image. If you don't have one get it from here. Download the tool from Microsoft's website to create the ISO image. Make sure you pick the right architecture and version.
  2. Burn the ISO, mount it or extract it.
  3. Navigate to the folder \Windows\x64\sources or \Windows\x32\sources and drag&drop the file gatherosstate.exe to the desktop.
  4. Run the file from the Desktop. It creates GenuineTicket.xml on the desktop. This file is needed, so copy it to a USB drive or other location.
  5. Run a clean install of Windows 10 afterwards on the system using the ISO. Make sure you skip the product key.
  6. Once you are done and in Windows 10, copy the file GenuineTicket.xml to C:\ProgramData\Microsoft\Windows\ClipSVC\GenuineTicket. The folder is hidden by default. If you cannot see it, select File > Options > View > Show hidden files, folders and drives in File Explorer.
  7. Reboot the PC.
The next time you boot into Windows 10 it should be fully activated. You can verify that easily with a tap on Windows-Pause. This opens the System Control panel and the system's activation status at the bottom of the page.

Tip: Copy the gatherosstate.exe file to your E2B USB drive and add these instructions into a .txt file on the E2B USB drive. Then you can use this process on any Win7/8 system.

Wednesday 26 August 2015

Easy2Boot v1.72BetaL2 available


This version checks the version of bootmgr when you boot from a VHD file to check it is not the Windows 10 version + a new grldr grub4dos version.

It also has a new E2B default background wallpaper which should load a lot faster than the old one. Let me know if you like it by ticking the 'funny' reactions checkbox, as it is rather different from previous E2B wallpapers (or tick 'Interesting' if you prefer the old wallpaper)!

Alternate Download Areas:
OneDrive download area      Google Drive download area


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.