Tuesday, 31 May 2016

E2B $$AddWin2Main.mnu bugfix!

If you want to directly run a Windows 8 or 10 Install ISO from the Main Menu and specify an XML file, you may find that it does not work!

Nikki reported that when using the $$AddWin2Main.mnu with a Win10 ISO and when setting the XML variable, a "Windows could not parse or process unattend answer file [D:\autonattend.xml]. The answer file is invalid" error was produced.

It turns out that the $$AddWin2Main.mnu file example was incorrect!

For Vista\Win7, you need to specify the XML variable with the full path of the XML file, but for Win8\10, you should only specify the XML filename (not the full path)!

The new $$AddWin2Main.mnu file is here.

I am very sorry if anyone has been tearing their hair out trying to get this to work for Win8/10!

I have also updated the web page documentation here and E2B v1.81 will work with the XML variable containing either a full path or just the XML file name for both Win7 and Win8/10 and also will now work if using a USB Helper Flash drive + E2B HDD USB drive too.

Thursday, 19 May 2016

Two new E2B themes from Frettt (English and German)

I have uploaded two new themes provided by Frettt (thanks!) to the Alternate Download Areas - Themes folder and also added some screenshots to the Gallery page of E2B. There is a German and English MyE2B.cfg file for each wallpaper.


Wednesday, 18 May 2016

UEFI Grub2 PTN2 menu system - Beta 3 now available (Release Candidate?)

Beta 3 is now in the 'Other Files' folder in the 'Alternate Downloads' areas.
Full documentation is here.
Just in case you are new to this grub2 menu system, it's main purpose is that it allows you to boot some ISOs via UEFI that will not-UEFI boot using .imgPTN files because those ISOs do not contain EFI boot files (grub2 gets around this).
  • Over 60 ISOs supported
  • fix AVG booting in MBR mode
  • systemrescuecd can now UEFI-boot (but startx may not work in EFI64)
  • archassault menu bugfix - now works on NTFS 64-bit, but not on FAT32 for some reason!
  • blackarchlinux x64 now works on NTFS (ISO too big for FAT32)
  • opensuse (4.5GB) works on NTFS
  • Excel spreadsheet updated
  • All xxx_extracted.grub2 menu files have been removed from the menu folders and placed in the \_ISO\docs\Sample mnu Files folder on partition 2. This speeds up the grub2 Main menu loading. Anyone who wants these 'extracted' menus will need to copy the correct .grub2 file to the correct menu folder.
  • Some menu bugfixes
  • Some .cmd scripts improved/updated

Tuesday, 17 May 2016

Fedora + persistence using grub2

In Tutorial #67 on the RMPrepUSB.com website, I describe how to get Fedora booting as a flat-file configuration with persistence.

I decided to try this using the new grub2 menu system, and here is the final menu:

Sunday, 15 May 2016

New grub2 menu system, UEFI_GRUB2_PTN2 Beta2 Tool Kit now available

This Beta 2 toolkit allows you to UEFI-boot and then directly boot from a range of ISO files (and some .img and EFI files) by selecting any of the payloads from a grub2 menu system. The files do not need to be contiguous and you can add your own grub2 menus and files too.

The .xls spreadsheet showing all the payloads that have currently been tested is here (also in download).
[Edit] Forgot to include Kaspersky in the spreadsheet, You can EFI and MBR boot using the extracted files (see readme.txt in \rescue folder). You can also have persistent updates if you re-make the .imgPTNLBAa23 file as a 400MB file.

Note: It is possible, using this system, to UEFI-boot from many linux ISOs, even if they do not contain any UEFI boot files (e.g. UEFI-boot to Zorin, Kaspersky, etc.)!

In Beta2, 95%+ listed payloads have been tested on FAT32 and are working.

Instructions

Follow the instructions on the E2B page here (full details are also on this page). Screenshots, etc. are in my previous blog post here.

Basically,
1. Download the .7z file here and extract it to an empty folder on your Windows system
2. Create a 2nd Primary FAT32 partition on your E2B USB HDD
3. Copy the xxxx.imgPTNLBAa23 file to your E2B drive's first partition at \_ISO\MAINMENU
4. Copy the contents of the PTN2 folder to the root of the second partition (you should see a \_ISO folder at the root of the second partition)
5. Add your ISOs, etc. to the second partition (see .XLS spreadsheet for details of what name you need to use for each file)
6. If you want to be able to run the same ISOs from the E2B menu, copy the five .mnu files provided to the \_ISO\MAINMENU folder on the first partition of your E2B drive.
7. Now boot to E2B and select the new .imgPTNLBAa23 Beta 2 file and have fun!

If you already have Beta 1, I suggest you delete all *.grub2 files from the second partition, and then run the .\PTN2\COPY_ALL_GRUB2_FILES_TO_USB_DRIVE.cmd script which will copy all the .grub2 files over. If you have purposefully deleted any of the .grub2 files on the second partition (for faster booting), then use the UPDATE_GRUB2_FILES_ON_USB_DRIVE.cmd script.

Most of the payloads should work with a NTFS partition on partition 2 but I have not tested many of them on NTFS yet. FAT32 is more compatible, but you cannot boot from ISOs that are over 4GB.

The grub2 menu system does not need the ISOs to be contiguous, but the E2B grub4dos menu system does.

There are probably at least two more Betas to release before I can think about a full release yet, but it is getting there. if you see any ISOs missing from the spreadsheet that you need, please let me know.

Please feedback any comments, suggestions or problems!


Saturday, 14 May 2016

A lesson for us all - why bigger is not always better (or diagnosing a 'non-booting' system)!

If you read my blog regularly, you will know that 2 years ago I built my own system. That previous blog post described how I went about it.

Now over the last few months, I have noticed that this Z87 PC did not always boot when I switched it on. In fact, although the fans whirred a bit, I did not get the familiar 'beep' from the mainboard on these occasions. When this happened, I would just turn it off at the PSU mains rocker switch, wait a minute or so and then turn it on again and it would usually work. That is, until this afternoon,,,

This afternoon, I shut down the PC in order to do a clean boot from a USB HDD (as I have done literally hundreds of times before) and I got the 'no display, no beep' symptom yet again. But this time there was no persuading my Haswell Z87 PC to boot!

Diagnosing a 'dead' system

Now the Asus Z87 mainboard is fitted with a number of diagnostic LEDs soldered to the PCB. These include:

New Gandalf WinPE x64 Win10 TH2 with SysWow

Friday, 13 May 2016

How To's and Gotchas in grub2 menus

These are my notes below, which may be of interest to those of you writing grub2 (or even grub4dos) menus.

Most of these are concerned with directly booting from a linux ISO file using 'cheat codes'.

If that does not interest you, then don't read any more.

Note: I have been learning and experimenting with grub2 for a week now, so I am by no means an expert!

Thursday, 12 May 2016

Easy2Boot website now routed via ezoic

I have now signed up with ezoic.com who will re-format the easy2boot.com pages and place ads on the pages for me automatically.

You may experience some very weird page layouts on the E2B site in the next few weeks! Ezoic will trial lots of different formats until it finds the 'best' ones - this may take several months!

Note that a cookie is saved on your first visit which determines what layout you see after that. If you delete the site cookie, you may (randomly) get a different layout on refresh (Ctrl+F5).

Ezoic is also used on the www.rmprepusb.com website. I am hoping it doesn't screw-up the easy2boot site as much as it does the rmprepusb site!

E2B v1.80 available

I have released E2B v1.80j as the release version 1.80 today.

Links on the website will still point to 1.79 for  a few days, but 1.80 is available on the Alternate Download sites (Google Drive and OneDrive).

grub2 menu system testing continues (pre-Beta2)!

I have been testing, reviewing and fixing a lot of menus in the grub2 menu system.

Here is a spreadsheet of the testing so far.

x = does not work
(blank) = not yet tested

click to enlarge
Beta2 should be coming in a day or so...

As you can see, every payload needs to be tested on 4 different VMs and on two types of partitions (NTFS and FAT32)!

Booting Dr.Web LiveDisk ISO with persistence from grub2


A DrWeb_Persistent.imgPTN23 file can be found here. It was made as follows:
1. Make a 800MB FAT32 partition on a USB drive
2. Download and run the DrWeb USB creator utility drweb-livedisk-900-usb.exe
3. Run it to extract the files to the USB drive
4. Boot the USB drive on a real system - this prepares it
5. Refresh the updates - reboot and check updates are persistent
6. Drag-and-drop the USB drive letter onto the MPI_FAT32 Desktop icon to make a .imgPTN23 file (syslinux 603, auto-convert). I modified the \syslinux\txt.cfg and the \boot\grub\grub.cfg files to add nomodeset vga=ask ignore_uuid. 
Note: Updates are not persistent even on their own flash drive!  So it obviously has a bug!

Booting from ISO

The Dr.Web ISO boots fine in MBR mode from E2B and can be booted from the ISO with persistence by adding a .mnu file.

However, during testing of the new GRUB2 menu system for E2B, I tried the Dr.Web LiveDisk ISO (drweb-livedisk-900-cd.iso - free), but it did not boot using the grub2 menu that I 'borrowed' from the 'Multiboot USB Flash drive' project here (I got a 'squashfs not found' type error).

After many attempts to get it booting from an ISO using the cheat code 'iso-scan/filename=', I finally looked at the 'casper' linux shell script file located inside the initrd file in the scripts folder (using 7Zip), and found this code...

Tuesday, 10 May 2016

Grub2 menu system for E2B - early Beta available

The first Beta (Beta1  v0.01) is available for testing!

Please contact me if you want a copy to test. You will need a E2B USB HDD with a second partition.

It is possible to use this system on a Removable flash drive (but it is complicated because Windows cannot access the 2nd partition!).

Details are now published (in an early form) on the easy2boot website at http://www.easy2boot.com/uefi-grub2-ptn2/

Note that most of the linux menu items have been tested, but many of the other menus have not been tested with any payload at all yet.

MBR Main Menu

Sunday, 8 May 2016

Grub2 support in E2B - progress report...

I have been spending quite a while thinking about the grub2 menu structure and it seems some people put E2B on the 2nd partition of their USB drive instead of the first partition. I don't advise this because of the 137GB BIOS bug, but as long as the 2nd partition ends before 137GB, it should work OK.

For payload files to be detected by the grub2 menu system, they must have specific lower-case names (e.g. avg.iso, konbootx64.efi). Files with names such as avg_arl_cdi_all_120_150814a10442.iso or "AVG AntiVirus.iso" will NOT be detected by the default grub2 menu system.

So there will be a large list of specific payload file names which I will document at a later date. As a consequence, you can only have one version of any ISO (though you can add your own uniquely-named payloadfiles and add your own grub2 menu for it).

Friday, 6 May 2016

Coming soon! grub2 UEFI-booting from linux ISO files using E2B

Currently you cannot directly boot from an ISO file via UEFI using Easy2Boot - you have to convert the ISO to a .imgPTN file first.

However, grub2 can UEFI-boot and can run linux ISOs (some of which will run even if the ISOs do not support UEFI-booting and do not contain an \EFI folder!).

The reason E2B does not use this mechanism is that some UEFI systems will only UEFI-boot from a USB disk containing both MBR and UEFI boot files - even if the system is set to boot from Legacy/BIOS devices.

This means that if you had grub2 UEFI boot files on your FAT32 E2B drive, then you can never boot to the E2B menu on these systems!


Monday, 2 May 2016

E2B not booting on GA-73PVM-S2H PC

Samir contacted me about a problem he had with his GA-73PVM-S2H PC.

He could boot from this PC to a USB drive prepared using Rufus (to Elemetary OS, for example), but not if it contained E2B.

The symptom was that the PC would just hang with no keyboard response or boot messages of any kind, as soon as he tried to boot from the E2B USB drive...


Wednesday, 27 April 2016

ESET + persistence from ISO

I finally figured out what the problem was with the ESET SysRescue ISO+Persistence menu that I did have working but then didn't work when I retested it. I had missed out the lines in the .mnu file which set the UUID of the 'live-media' - this meant that the live-media value was invalid and so it resorted to the CD updates. Also, you need to copy the ext3 partition from a working Eset flash disk (I cannot figure out what it is in a working ext3 image that is different from a non-working image made using RMPrepUSB 'Make ext2 FS' and copying over contents)!

I have also edited the menu now in the previous post (see lines in red).

So you can now boot from ISO with persistence if you wish, instead of using a .imgPTN file.


Tuesday, 26 April 2016

Add ESET antivirus with persistent updates to E2B with UEFI booting (Take 2!)

The method used in the previous blog uses an ISO with an ext3 file for the updates volume.

See also: ESET SysRescue 2020 with persistent updates and agFM UEFI support

Here is a different method using a partition image. The two methods are similar but you can add UEFI 64-bit booting if you use this method.

Note: Recent 2019/2020 versions of ESET use Ptn2 (488MB) for the persistence partition. Since the persistence partition must be at Ptn2 in the partition table, the method below will not work for the new partition arrangement because the old ESET used Ptn3.
For the 2019/20 version, the persistence partition must be labelled ESR-USB-DAT and must be ext3 and must be in Ptn2 (here is casper-bottom/12fstab init script extract: 
if ! /lib/udev/cdrom_id "$boot_device" > /dev/null; then
    # boot device is not a CD, so source the blkid info
eval $(blkid -o export ${boot_device%%[0-9]*}2)
if [ "$LABEL" = "ESR-USB-DAT" -a "$TYPE" = "ext3" -a -n "$UUID" ]; then
cat >> $FSTAB <<EOF
UUID=$UUID /mnt/eset-live-rw ext3 defaults 0 0
EOF
    fi
fi


Monday, 25 April 2016

Add ESET antivirus ISO with persistent updates to E2B (revised!)

For a different method using a .imgPTN file, please see the  next post!
______________________________________________________________________________

E2B can boot the ESET System Rescue ISO easily, but each time you have to download the latest updates which can take a while.


The current ESET disk eset-sysrescue.1.0.9.0.enu.iso does not support UEFI booting, but here is how to MBR-boot with persistence for updates, direct from the .iso file:

MPI Tool Pack v0.065

MPi Tool Pack 0.065 changes
  • Add extra usb driver menu entry
  • New grub4dos grldr version 20160326
  • MakePartImage.cmd now searches all drives from C: to Z: for the ImDisk virtual drive (previously only searched up to U:).

Sunday, 24 April 2016

Boot Ubuntu 32-bit via UEFI from Easy2Boot

The current Ubuntu 32-bit 'LiveCD' Desktop ISO does not include the 32-bit grub2 UEFI boot files, but you can use the procedure below to add the required boot files to allow you to UEFI-boot..

The procedure below can be applied to other 32-bit linux ISOs that use grub2, as long as a \boot\grub\loopback.cfg file is present (or you can add the relevant entries).


E2B 'Theme' in honour of Shakespeare

William Shakespeare was born around the 23rd April 1564 (his baptism was registered in the church records on 26th April) and died on 23rd April 1616 (400 years ago yesterday).

Here is an Easy2Boot theme to celebrate Shakespeare. Can you spot all the changes and hidden quotations?

Hope you like it!

Each menu entry has a different quotation. Do you know them all?

Note: Copy all files to your \_ISO folder (backup your own \_ISO\MyE2B.cfg file first).

The zip file contains a readme file and...

STRINGS.txt
MyE2B.cfg
Shaky.bmp

You can ignore the warning about STRINGS.txt being used for testing only. Just remember to delete it when you want to restore your own menu again.

Steve

Boot to an XP VHD from Windows 7/8/10 using bootmgr

If you have a USB-bootable Windows XP VHD, you can simply give it a .vhdboot file extension and it should boot using Easy2Boot.

But what if you want to boot an XP VHD file from a normal Windows 7/8/10 system (not grub4dos) that uses bootmgr (i.e. a standard non-UEFI Windows 7/8/10 system)?

Windows bootmgr can boot Windows 7 or later VHDs, but will not boot directly to XP VHDs.

However, you can boot automatically to an XP VHD from bootmgr, by using grub4dos as an (invisible) intermediary!

Saturday, 23 April 2016

Any suggestions for E2B YouTube videos?

I am thinking of adding some more short YouTube videos on E2B.

Here is the list of potential videos that I am thinking about (in no particular order):

  1. Adding different Hirens ISO to E2B
  2. Adding VHDs to E2B
  3. Tips and Tricks - Using VBOX and RMPrepUSB-QEMU without dismounting drive,  pwd 32 and 64 and AUTO extensions, menupwd and pwd - using md5, different background for menus, stopping suggestions - .isodefault, NOSUG AUTOCSM, ISOBOOT  SHIFT-ENTER, CRC32, pausing enumeration with SPACEBAR, silent boot (reduce grub4dos messages), global hotkeys, use unattend.txt or winnt.sif files with XP ISOs set PICKAUTO=YES, slow booting - use text mode, add option to text-mode boot for faster booting on slow systems, add STAMPs to E2B
  4. MyE2B cfg - Reduce messages, Display background during enumeration
  5. How to use E2B_Editor - heading and footer, centre headings, etc.
  6. Using large fonts with E2B - set FONTH=24  - rows\cols, alternate fonts, 800 and 1024 modes
  7. Set up E2B for single menu
  8. How to auto-run Windows ISOs from a menu
  9. How to make XML files to auto-install Windows ISOs.
  10. How to remove Windows XP menus from E2B  NOWINXP
  11. Setting up a language and keyboard in E2B - change language mnu, add choice in MyE2B.cfg
  12. Protecting E2B  - .pwd, md5 encrypted passwords, menupwd, using pwd in extensions, master pwd in MyE2B.cfg, monthly PIN code, set expiry date, clone protection, Protect.cmd
  13. Configuring CSM menu - set a default timeout, delete unwanted entries, use your own menu and background CUSTOM folder
  14. Tips for speeding up E2B - reduce files, text mode, etc.
  15. How to add STAMPs to E2B
  16. How to make and use E2B under linux
  17. Using .key and .xml files with Windows ISOs on E2B

If you have any suggestions for Easy2Boot YouTube videos or want to vote for some of these, please use this link to anonymously send me your requests (no login or personal details needed) or add a comment below.

For a list of all my current YouTube videos, click here.

Thursday, 21 April 2016

E2B v1.80h Beta available

A few changes in 1.80h (g had a bug!):

1. FASTLOAD can now be used with $$$$CONFIG .mnu files (\_ISO\e2b\grub\menu.lst changed).

2. I have added the \_ISO\e2b\grub\checkdate.g4b batch file. It can be used in a MyE2B.cfg batch file as follows:

# set 14 day expiry date from 28th March 2016
call /_ISO/e2b/grub/checkdate.g4b 2016 03 28 14 SILENT
if not "%CHECKDAT%"=="OK" echo E2B EXPIRED! && halt
set CHECKDAT=

If used with a blank \_ISO\e2b\grub\SDATE.txt file (should be approx 1K in size) then you can set a time limit from the day that E2B was first booted as follows by just calling \_ISO\Expire.g4b:

Wednesday, 20 April 2016

Install Debian from the DVD1 ISO using Easy2Boot

I previously described a method of installing Debian from a CD ISO file here. You can also use the LiveCD to install Debian or the net-installer ISO.

debian 8.4.0 Cinnamon

However, this method appears not to work when using a DVD-1 ISO because it cannot find the 'CD' to install the packages which are kept on the DVD after installing the base files.

Hurry - less than 100 days to go before the free Windows 10 upgrade expires!

There are now less than 100 days to go before  the free upgrade offer from Windows 7/8/8.1 to Windows 10 expires.

If you don't want to install Windows 10 just yet, why not just boot to a Windows10ToGo VHD from your E2B USB drive.

If you are repairing or re-installing Windows 7/8/8.1 systems, why not offer the customer a free Win10 upgrade activation so he/she is registered for free, even if they don't want to install Windows 10 just yet?

Using the latest version of Windows10ToGo (TH2 version), boot on any Win7/8/8.1 system, start the activation wizard and enter the Win7/8 Product Key that was used to activate that same system previously (you can use ProduKey or Magical Jelly Bean key finder on the system first, to display the old Windows 7/8/8/1 Product Key, if it is not on the COA label).

Windows 10 should then 'phone home' (internet access is needed) and activate the Windows 10 ToGo OS. If you have no internet connection, you can phone Microsoft to ask for an activation key (you will need to quote the long number displayed by the activation wizard).

Once this is done, then that system will be registered with Microsoft for Windows 10 and you can then install Windows 10 on it at a later date.

It does not matter if you use a 32-bit or 64-bit version of Windows 10, but you will need both 'Core' and 'Pro' versions so that you can activate the matching version on each of your systems.

To create WinToGo VHDs, see my previous blog post.
For details on obtaining Windows 10, and for ISO- and UEFI-booting, see here.

Tuesday, 19 April 2016

Various Hirens ISOs and Gandalf PE with Easy2Boot

I have been experimenting with various Hirens ISOs with E2B and came up with this table which you may find useful:


If Windows PE boots and loads all the Desktop icons correctly, you should get the number noted in the last column.

Monday, 18 April 2016

Run android x86 + >4GB persistence via UEFI & MBR (from an NTFS partition)

In a previous blog post, I described how you could MBR-boot to android x86 with a persistence file.

To UEFI-boot, we need to create a FAT32 .imgPTN partition image. However, this limits us to a <4GB data.img persistence file.

Here is how to have a >4GB persistence file and UEFI-boot by using an NTFS partition to hold the android boot files and persistence file.

Sunday, 17 April 2016

Add archbang linux + persistence to E2B

The archlinux ISO must be installed, it is not a 'LiveCD', however archbang does come in LiveCD format. Here is the .mnu file for getting the ISO to boot with a persistent volume.



Files on E2B drive (FAT32 or NTFS or exFAT):
/_ISO/LINUX/MNU/archbang-010316-i686.iso
/_ISO/LINUX/MNU/archbang-010316-i686_persistent.mnu
/arch-rw-010316

Saturday, 16 April 2016

GoldMemory test (and other memory tests to add to E2B)

I came across another memory test today. GoldMemory by Michal Tulacek is shareware and available in two versions, standard (limited 30-day free trial shareware <4GB) or Pro ($29 - at least 16GB).



Detect keyboard status and hide menu entries in E2B

We can detect the status of the keyboard using grub4dos to read the BIOS Data area.
For instance, we can tell if CAPS LOCK or SCROLL LOCK was on or not.

Here is a simple grub4dos batch file which will report the keyboard status as detected by the BIOS (not all keys may be reported accurately under a VM):

Friday, 15 April 2016

Run android x86 with persistence from E2B


android-x86-4.4-r5.iso can be added to your E2B USB drive, but to get it booting with persistence, we need to create a .imgPTN file as follows:

'How to add an animated GIF' YouTube video now available

I have added a 10 minute YouTube video on how to add an animated GIF to the Easy2Boot menu.


See http://www.easy2boot.com/configuring-e2b/animation/ for more info.

Let me know if you like these videos by ticking one of the Reactions boxes.
Feel free to suggest a subject for the next one!

Thursday, 14 April 2016

Check the CRC of a payload file before running it in Easy2Boot

Nicolas asked me today about checking an ISO (for corruption?) before running it.

In E2B, you can hit SHIFT+CTRL+ENTER to ask E2B to calculate and display the CRC32 value of a payload file that is listed in the menu, but it is up to you to check that it is correct.

If you want to ensure that an ISO or other payload file is not corrupt (or infected?) before you allow E2B to run it, you can use this .mnu file for each payload file:


\_ISO\MAINMENU\RunMemTestCheck.mnu
==================================

# Check the CRC32 value of a payload file and run it if it is correct

iftitle [if exist /_ISO/UTILITIES_MEMTEST/MEMTEST.IMG.gz] Check and run a payload \n Get CRC32 value and run if correct
set ISO=/_ISO/UTILITIES_MEMTEST/MEMTEST.IMG.gz
# expected CRC32 must start with 0x
set EXP_CRC=0x1340BECC

echo Calculating CRC32 of %ISO% - please wait...
crc32 %ISO% > nul
set /A CRC=%@retval% & 0xFFFFFFFF > nul
pause --wait=3 %ISO% - EXPECTED CRC32=%EXP_CRC%, ACTUAL CRC32=%CRC%
if not %EXP_CRC%==%CRC% pause ERROR: CRC is not correct (%CRC% vs %EXP_CRC%)
if not %EXP_CRC%==%CRC% configfile (md)0x3000+0x50
/%grub%/QRUN.g4b %ISO%
boot

Just change the first few lines as required. If the payload file is large, it may take a while to calculate the CRC value. I will add this to the Sample mnu Files folder of the next E2B version (CheckCRC32_and_Run.mnu).

Wednesday, 13 April 2016

Over 1 million blog views!

I just noticed the total views counter for this blog has just passed 1 million!


Thanks for reading all my ramblings over the last few years!
Steve

Tuesday, 12 April 2016

Alternate German menu format

The German language files (supplied by Frettt) in E2B have been formatted so that the [hotkey] labels are right-aligned in the menus...

A few people have requested a left-aligned German menu, so Frettt has now provided an alternate STRINGS.txt file which left-aligns the hotkeys.

Petya disk encryption fix

I see on BleepingComputer.com that there is a way to decrypt a hard disk that has been encrypted with the Petya malware (actually, I think only the $MFT is encrypted by this MBR virus). Although Bleeping Computer say to remove the hard disk from the system, I don't see why we cannot just boot the infected system to WinPE from a USB drive (just be careful it does not boot from the internal hard disk!).

I copied the PetyaExtractor.exe program to my E2B USB drive and booted to a Windows 10 32-bit Install ISO. I then ran the PetyaExtractor.exe program which appeared to run OK (but I cannot be sure as I did not have an infected system). It is a 32-bit program, so you need to boot to 32-bit WinPE (or a 64-bit WinPE that has WoW64 support - e.g. ChrisR's WinPESE10).


The idea is that we could then save the sector 55 and 'Nonce' data from sector 54 to the E2B drive using NotePad, and then copy and paste it into the Petya Decrypting site page to get the decryption key.

It also would be trivial to write a grub4dos (E2B) script to save the required data (or even just use dd) and then encode it to base64 by uploading it to a website such as this one. However, it is probably just as easy to just boot to WinPE and use the PetyaExtractor tool.

Why not add the tool and a .txt file with the web links to your 'Swiss-army E2B drive' so that you will have the tool handy if you need to fix someone's system?

Sunday, 10 April 2016

30 things I bet you didn't know about Easy2Boot (or were too afraid to ask)!


  1. E2B can directly boot from Vista/7/8/10 WindowsToGo .VHD files - just copy them over (requires a copy of Win8.1 bootmgr to be added to the E2B drive - no BCD file is required!).

Thursday, 7 April 2016

FASTLOAD bug in E2B v1.79

If you use Windows Install ISOs with E2B v1.79 and have FASTLOAD enabled, you may find that the Windows Install menu options are not present in the Main menu. This is caused by a missing line in the \_ISO\e2b\grub\menu.lst file (it somehow got accidentally removed!).

Please try E2B v1.80h or later if this problem affects you.

I don't use FASTLOAD much because I prefer to use fast USB 3.0 drives (well, that's my excuse, and I'm sticking to it!).   ;-)

Tuesday, 5 April 2016

Find that file!

If you boot to WinPE or WindowsToGo from E2B to try to fix a Windows system, it is really very useful to keep a copy of SwiftSearch.exe on the E2B USB drive.

SwiftSearch.exe is a standalone 32-bit Windows executable which will very quickly find any file (you can use wildcards in any combination) on any NTFS volume in the whole system (including NTFS USB drives). And when I say 'quick', I mean really quick, like a few seconds for a full 2TB drive, because it directly accesses the $MFT of the NTFS drive! It only works on NTFS volumes however and will not search FAT or exFAT volumes.

5 volumes (approx. 2TB) searched in 0.41 seconds (including my NTFS USB drives)!

Using E2B with the Netac U618 Encrypted USB 2.0 Flash drive

The Netac U618 is similar to the iStorage datAshur USB flash drives in that it has a PIN keypad and stores it's data in an encrypted form.

I believe the 16GB version is split as 4GB Public + 10GB Secure, however, I tested the 32GB version. You can obtain them from Amazon or eBay (approx $30 or £23 for the 32GB version).

Thursday, 31 March 2016

E2B v1.79 available (and now officially released)

v1.79 is now released.

Changes from v1.78C are:
  • New NOWINXP parameter to suppress some menu items in the Windows Install menu.
  • Small bugfix in AUTOMN.g4b (sometimes listed files with no extension)
  • Improved Protect.cmd to show more file info. 
  • Bug fixes for bad error handling in QRUN.g4b (did not abort if error). 
  • E2B_Editor.exe v1.0.85 (NOSUG and NOWINXP options added). 
  • Improve robocopy detection for XP systems in UPDATE_E2B_USB_DRIVE.cmd.
Note: Small bug in v1.79 - if you use FASTLOAD and Win Install ISOs, use v1.80!

Tuesday, 29 March 2016

Add PepperMint 6 + persistence to E2B

PepperMint 6 can be booted as a 'LiveCD' from ISO with persistence.
Britec has a YouTube video on how to install it as an OS.

However, we can run it from an ISO file with persistence from E2B too using a .mnu file.
It is based on Ubuntu and so uses a casper-rw persistence file.

How to increase the spacing between all E2B menu entries

grub4dos allows you to adjust the character and line spacing of text.

One of the template .cfg files in E2B demonstrates this:(\_ISO\docs\Templates\StripedFlat_pwd_is_fred)

The Sample_MyE2B.cfg file shows you how you can alter these, using the lnspace and wdspace parameters:

The default value is 'n' (or 0) for lnspace and wdspace.

Here is a 14-entry menu using the default spacing:

Monday, 28 March 2016

E2B v.79f available and 'E2B.cfg is MISSING!' error

I found some error handling issues in QRUN.g4b (v1.77 and 1.78C). The problem centres around this kind of grub4dos code...

if not "%X%"="1" pause ERROR && configfile (md)0xa000+0x50


Saturday, 26 March 2016

Easy2Boot v1.78C available

E2B version 1.78C has today's version of grub4dos (20160326) which fixes the bug a user found if you set 'tophelp' to a high number so that the menu help text is not displayed.

v1.79d also has the new grub4dos 20160326 version.

Despite not being officially released, I see some download sites have copied the buggy v1.78!

Differences between v1.78C and v1.79d:

Friday, 25 March 2016

Using E2B with the datAshur Pro encrypted USB flash drive

Easy2Boot allows you to boot literally hundreds of Windows-based, linux-based and other bootable software all from one USB drive. You can also keep all of your personal files and Windows\linux utilities on the same drive and carry it with you, on your keychain, wherever you go. But what if you lose it?

Does your Easy2Boot USB drive contain licensed software, company volume licence Product Keys or confidential files? Perhaps it contains a WindowsToGo VHD  or linux already set up with your Chrome/FireFox passwords, etc. The best way to keep it secure is to use one of the PIN-entry types of USB drives that are available.

After my previous blog about the (slow) datAshur Personal encrypted USB 2.0 drive and the problems I had booting from it, iStorage (the makers of the drive) sent me a datAshur Pro for testing and review.
datAshur Pro USB 3.0

iStorage have four models in their current range. Here are the basic points that concern E2B users including the price and advertised read/write speeds:

Changing language strings in E2B

E2B uses the STRINGS.txt file as a lookup file.
Menu headings, menu entries and many of the batch files in E2B use keywords, e.g.

iftitle [if exist STALE && cat --locate=YES ()/FASTLOAD.YES > nul] $$STRmFS1
if not "%GFX%"=="" configfile (md)0xa000+0x50
root ()

where $$STRmFS1 is a keyword (always $$STR followed by exactly four characters) that is substituted by E2B for a line of text taken from a language file.

Thursday, 24 March 2016

Small bug found in grub4dos 0.4.6a 20160322

A small bug has been found in some grub4dos 0.4.6a versions between approx. Feb 2016 and 2016-03-22. If you set tophelp variable to a large number (e.g. 70) then it should move the menu help text off the screen (to line 70). This was a way to hide the help text that was normally seen below the menu box. With these grub4dos versions, this did not work. v1.78 and v1.79a used these versions and so I have re-uploaded them as v1.78A and v.1.79b and they now have the latest 20160324 version of grub4dos 0.4.6a + small change to some of the $$$Guestxxx.mnu files to support F8 reload.

Note that v1.78A still displays it's version number as 1.78 (because it can affect the formatting of the Main Menu heading for some users due to the extra character).

P.S. There was still a small bug in 1.78A and 1.78B, so I have removed 1.78 until grub4dos is fixed. I will then release 1.78C!