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!

Wednesday, 23 March 2016

E2B v1.79a Beta already!

Yes, yet another version even before 1.78 is officially released!

This version has an even newer grub4dos (which supports being able to use echo -e \X00FC to print unicode characters, but this is not actually used by E2B anyway), and also support for a new NOWINXP variable.

Tuesday, 22 March 2016

Easy2Boot v1.78 - List of all changes

E2B Version 1.78

Note: 1.78A uses grub4dos 0.4.6a 20160324 - which has a small bugfix (when using the tophelp E2B variable). Also the $$$Guestxxx.mnu files have been tweaked (F8 reload does not prompt for password).

Note2: There is still a bug in 20160324, so I have withdrawn v1.78A! 1.78C has best version of grub4dos.

Changes from v1.77A include:

E2B v1.78C available (was 1.78)

I have uploaded E2B v1.78C to the OneDrive Alternate Downloads area.

[Edit] Note: 1.78C will not be officially released now. Please use 1.79.

There has been a bit of tidying up since 1.78o, a new grub4dos 0.4.6a (2016-03-22) and some guest menu .mnu files added to the Sample mnu Files folder.

Also, the MAKE_E2B_USB_DRIVE.cmd script now checks the website to find the latest version and the script displays the current E2B version that you are installing and the latest released version from the website (it uses wget.exe to get a version file from the website).

After a few days, if there are no problems reported, I will upload v1.78 to the main E2B site together with the DPMS version.

Let me know if you have tested it and it is OK by ticking the Reactions 'cool' box.
If you find a problem, please report it ASAP.

List of changes from v1.77A in this blog post.

Note: Pre-release versions 1.78, 1.78A and 1.78B had grub4dos 0.4.6a versions which had a small bug.

Thanks
Steve

Friday, 18 March 2016

E2B v1.78o Beta available


  • Latest grub4dos
  • Sample menu files for Guest Menu added
  • xxx.f24 font files improved

I now consider this a Release Candidate and fit for release as v1.78.

Please test it out by updating your existing E2B USB drive using \UPDATE_E2B_DRIVE.cmd and let me know if you find any problems.

You can easily roll-back to v1.77 by running the \UPDATE_E2B_DRIVE.cmd file from v1.77.

P.S. Have you tried out the Guest Menu setup described in my previous blog post yet?

Thursday, 17 March 2016

Make a 'Guest Mode' menu

Krishna asked me how to get E2B to display either the full E2B MAIN MAINMENU, or a single Guest Menu, with only the items in it that he wanted to allow a guest user to use.

After a lot of thought, I ended up with this and it is really quite cool!

So cool, I had to make a video!


Once you make the changes, if you boot E2B normally, it enumerates all files in the MAINMENU folder as usual (or if you have FASTLOAD enabled it will use the cached menu) and then it will always load the GUEST Menu by default. The Guest Menu can also have sub-menus if you create them.

The Guest Menu (you can change the folder name and heading) can load a different background if you like (or not).

Default Guest Menu (use whatever wallpaper you like or keep the default wallpaper)

E2B v1.78 demo video on YouTube

A quick demo showing off the new graphics stamp, animation and large font features in E2B v1.78!

Many thanks to the grub4dos developer yaya for making all this possible and Wonko from reboot.pro for his help with creating the hex files needed for the large fonts!



Wednesday, 16 March 2016

E2B v1.78n Beta available (at last!)

Latest version 2016-03-16 of grub4dos included (seems stable)!

Default appearance, if you say 'Yes' to the Animation prompt when you make a
new E2B USB drive using MAKE_E2B_USB_DRIVE (run as admin).cmd.
E2B Boilerplate + rotating E2B icon will overlay the menu.

New Templates

The new MyE2B.cfg template files can be found in the \_ISO\docs\Templates\Animate and LargeFont folders.


LargeFont MyE2B.cfg demo (set to GMODE=1024)
The E2B icon rotates + 4 stamps!

Tuesday, 15 March 2016

Protecting your E2B USB drive from being cloned

I added this section to the E2B 'Passwords and Security' page today because I was asked how to protect an E2B USB drive from being cloned:

Someone could make a byte-for-byte copy of your E2B USB drive. Each USB drive should have a unique device serial number, however we cannot read this using grub4dos (and also many USB drives do not have unique serial numbers!).

Monday, 14 March 2016

Save all your passwords to a text file with one click!

Tutorial 59 on my RMPrepUSB.com site explains how to set up a script file to collect and save all your passwords into text files with just one click.

The Tutorial was a bit out of date and needs tweaking (I will update it in a day or two). Nirsoft had put some of the command line utility versions in a separate, password-protected download because they were being detected as a virus and it was causing the nirsoft site to be blacklisted!

Here is the new cmd script I ended up with:

Add a fully-installed Zorin OS to E2B

To run Zorin as a fully-installed OS from an E2B USB drive, just follow the instructions in my previous blog for Kali using VirtualBox.


Tips

Make sure your large partition image file (e.g. Zorin.) is large enough for the OS and any swap file you might want to create later + data storage (minimum approx 5GB).

  • Be sure to choose  /   (root) for the /dev/sda3 mount point choice (ext3) where sda is the USB drive
  • IMPORTANT! Set the 'Device for boot loader installation' to /dev/sda3 where sda is the USB drive..

If you are installing to an internal hard drive, make sure to pick the correct boot loader partition!


   Use ext3 (not fat32) for the sda3 partition.

The Virtual Machine will also need an internet connection to download packages.

You will be warned about not having a Swap partition, but just continue anyway.

You can create a swap file later (follow the instructions in the blog and it should work).

You should now have a fully working Zorin installation on your E2B drive.

Note:
If installing to an internal hard drive and you accidentally install grub to the E2B drive, you can use RMPrepUSB - Install grub4dos - MBR=Yes to re-install grub4dos boot code.



Sunday, 13 March 2016

Protecting animated E2B menus with passwords

I have found a way to password-protect menus on E2B and still have the animation playing in the background.


The DNA animation starts once the menu has been built by E2B and it then prompts you for a password with the animation still rotating on the display. A large 24-pixel high font has been used with the E2B default 800x600 background in this example.

Saturday, 12 March 2016

Using E2B with the datAshur Personal encrypted USB flash drive

I have been looking at how to protect a USB Flash drive recently including encrypted USB drives. Some models (the cheapest) just provide a data encryption program to make an encrypted folder on the USB drive.

Others comprise of two 'devices', one is a CD containing the encryption software and the other is the Flash storage volume (similar to U3 USB drives).

Neither of these types are suitable to support USB booting because we need the BIOS to be able to read the unencrypted drive sectors on power up.

Another type of encrypted USB drive is the type that has a PIN keypad. This type encrypts the data as it comes in or out of the USB drive. The data is stored in an encrypted form on the flash memory, but any external device will 'see' the unencrypted data (if the correct PIN is used).

I found several models of encrypted USB Flash drives that require a PIN number to unlock them. There seems to be only four different ones however, as many of them appear to be re-badged\re-branded versions of the same thing:

Friday, 11 March 2016

MPI Tool Kit v0.064 available (with important bugfix)

I found a bug in MPI Tool Kit - if you try Clover booting then it 'breaks' the syslinux boot option and you can no longer MBR boot!

Adding Tails to E2B

Tails 5.1.1 (and many other versions)

For MBR legacy boot from the ISO (DVD) file, use an extension of _.isodef.iso and E2B v2.14 or later.
For UEFI, use agFM and in the Tails grub2 menu, if you have a USB HDD, choose the 'Tails (External Hard Disk) option.

Tails 4.2, 4.6 4.28, etc.

Also see here for UEFI boot and later Tails versions with E2B .mnu support.

Tails 3.16

The Tails ISO can be downloaded from here. You can download via the Torrent or download the ISO directly.

E2B will boot from a Tails ISO on a real system from a Removable E2B Flash drive.

Booting from ISO under a Virtual Machine will not work if the VM sees the USB drive as a 'virtual IDE/SCSI hard disk. (E2B v2.14+ will boot Tails ISOs on both Removable and Fixed USB drives however).

If your E2B USB drive is a 'fixed-disk' type, then you can convert the Tails ISO to a .imgPTN file. Ensure that 'live-media=removable' is not in the kernel cheat code line (press TAB in the syslinux Tails boot menu to see the boot parameters). The latest versions of the MPI Tool Kit should remove this cheat code for you if you choose AUTO-CORRECT=Y.

The persistence option in the Desktop menu system cannot be used because Tails will only create the persistence volume on a USB drive that has been installed using Tails (has a GPT partitions with a volume name of 'Tails' - possibly only works on Removable USB media?) and so has the correct partition structure.

Tails 2

The Tails 2.2 ISO can be downloaded from here. You can download via the Torrent or use FireFox and download the ISO directly.

The Tails 1.0 and later ISOs cannot run with persistence now (unlike earlier 0.xx versions). Tails 1.0+ looks for a GPT disk and an EFI volume labelled 'Tails' (see here and here), so you must make a dedicated GPT USB Flash drive for Tails if you want persistence. If the drive wasn't 'made by Tails installer' then it will refuse to create a persistent file system for you.

If you boot from the ISO (even in E2B), you cannot install Tails to a new flash drive because Tails will only install if it is running from a USB FAT32 drive. This is a real pain!

Tuesday, 8 March 2016

E2B v1.78m Beta

Because grub4dos can accept up to 32-pixel high characters (I have only tested 24 so far), I have now deprecated the FONT24 variable and instead we should use FONTH=24 to use 24-pixel high fonts in E2B:

Example 1 (default)
# use E2B default 24-pixel high fonts (loads simplified Chinese + terminalbold.f24)
set FONTH=24

Monday, 7 March 2016

How to boot Clonezilla (and other stuff) from your E2B USB drive even if it does not have Clonezilla on it!

iPXE is an internet boot protocol. It allows you to download into memory and then run various payloads (ISOs) from the internet. This means you can boot stuff without it even needing to be on your USB boot drive.

You can add the iPXE boot ISOs to E2B and when you boot, they will connect to the internet (you need a network connection on that computer) and then download a menu.

To get started, just add the netboot.xyz.iso file to your \_ISO\MAINMENU folder and run it.
The current list of supported downloads is here.

Saturday, 5 March 2016

E2B v1.78l Beta

Wonko (from reboot.pro) has provided some large 'European' font files for use with the FONT24 variable in E2B. They seem to support the various E2B languages OK including Russian (let me know if there are any characters missing!).

More fonts may follow!

New changes since last E2B v1.78k are:

  • Extra xxxx24 font files have been added to the \_ISO\e2b\grub folder (the font file sft has been renamed to sft24, and yxt to yxt24).
  • The \_ISO\docs\Templates\LargeFonts\MyE2B.cfg file has been updated - it now uses the new terminalbold24 font file (copy it to the \_ISO folder to use it).
  • Latest version of grub4dos added (still a few niggly bugs though).
  • \_ISO\docs\E2B Utilities\Protect\Protect.cmd script added.
The Protect.cmd script can be used to protect your \_ISO\MyE2B.cfg file. It uses cacls to remove permissions (so not accessible), sets the hidden and system attributes and compresses the file using LZMA to make it less human-readable. The file will only be accessible to it's 'owner', Protect.cmd also unprotects the file if you wish (but only if you are the owner).



If you edit the Protect.cmd file, you can change the cacls setting so that the only person that can access the file under Windows, is you, the 'owner' (i.e. someone who has logged on to your system with your account login or your Domain login). This makes it very secure (on Windows systems) but might be inconvenient.

It is not impossible for an Administrator to gain access to the file however, if they know how!

Thursday, 3 March 2016

E2B v1.78k

This version has the latest grub4dos which fixes a few small bugs in previous Beta versions (in particular if you are using the FONT24 feature).