Friday 4 May 2018

E2B v1.99c Beta available

Differences from v1.99b are:
  1. Update_E2B_Drive.cmd now has 2 second tolerance on file times (/FFT switch added)
  2. CONTIG.ISO is not copied when using red button in MAKE_E2B.exe GUI to make a new E2B drive.
  3. Make_CONTIG.ISO.cmd added.
If you want a CONTIG.ISO file you should use the Make_E2B_USB_drive button in the GUI instead of the big red button.

The 500MB CONTIG.ISO is still in the download, it is just not copied across when using the red button.
There is also now a .cmd script to quickly make a CONTIG.ISO file at "\_ISO\docs\E2B Utilities\Make_CONTIG.ISO\Make_CONTIG.ISO.cmd".

The new version can be found in the Alternate Download Areas as usual.

Wednesday 2 May 2018

Should I remove CONTIG.ISO from Easy2Boot?

As you may know, \_ISO\CONTIG.ISO is a 500MB blank file which is included in the Easy2Boot download.

The CONTIG.ISO file is only used when a payload file is not contiguous but when E2B needs it to be contiguous. E2B will then copy the entire original payload file to the CONTIG.ISO file. This can take some time and it is done each time you boot to that same payload file.

I never actually use this feature and I suspect most Windows users do not use it either.

When you first make an E2B drive, this large file needs to be copied over to the USB drive and this can take several minutes on slow pen drives. The file also takes up 500MB of space on the USB drive which is never used as long as you always run \MAKE_THIS_DRIVE_CONTIGUOUS.cmd first.

So, my proposal is to remove the CONTIG.ISO file from the E2B self-extracting download file in the next version of E2B (v1.99c).

However, the .zip E2B download file (which is used by linux users to prepare an E2B drive) will still contain a 500MB CONTIG.ISO file.

If a Windows user still wants to use the CONTIG.ISO feature, they simply have to create a \_ISO\CONTIG.ISO file (I can provide a small batch file which will create a file of any size).

Please let me know if you think this is a bad idea ASAP, otherwise I will remove the CONTIG.ISO file in the next version.

Tuesday 1 May 2018

Problems adding WiFiSlax to E2B!

Yesterday, someone contacted me via a Chat Session on my www.easy2boot.com website to ask about getting WiFiSlax ISOs to work with E2B. He had tried both the latest 64-bit and 32-bit versions.

The 'List of tested ISOs' page showed that I had tested wifislax-4-7-2-final.iso successfully but this user could not get it to boot.

Since he mentioned that he was using an E2B USB Hard Disk and I had my Corsair 256GB GTX USB drive handy, I downloaded the wifislax64-1.1.iso file and quickly tested it using Virtual Box and VMUB (it looks like an internal IDE\SATA\SCSI HDD under this arrangement). I had no problems and it booted to the WiFiSlax desktop.

However, I then tried booting it from several 'real' systems and they all failed to boot.
Even the older 4-7-2 ISO failed in the same way.

Wednesday 25 April 2018

Play WAV files from FreeDOS with E2B

You can play wav files using FreeDOS through your PC speaker, the sound quality is amazingly good!

This works on computers that have an internal PC speaker fitted but won't work on a VM as the PC Speaker is connected to a hardware timer chip which is not emulated by most VMs.

1. Go to http://www.vgmpf.com/Wiki/index.php/Digital_Sound_System#Download and download the 2006 version
2. Unpack the contents to a newly created \DSS folder on your E2B drive
3. Edit the \DSS\dss.ini file and change the SoundDevice section to use the PC Speaker as  device 8

[SoundDevice]
Device=8

4. Copy a .wav file to the \DSS folder (or several)

To play the wav file (e.g. ring03.wav)

1. Boot to E2B on a system that has a PC Speaker
2. Go to the DOS menu and boot to the FreeDOS floppy image
3. At the C: prompt type

cd \DSS
DSS ring03.wav /L-

The /L- tells it not to loop

You can press F1 for help, or type DSS /? for command line options.

Try pressing the Fn keys for different screen affects whilst it is playing.

I got a repetitive clicking sound approx. every second, but if you use the down-arrow to reduce the volume, it is less intrusive.

If you play an MP3 file, you get some horrible noise for a few seconds, but then it plays OK.
You cannot play midi files via the PC Speaker.

It does not seem to work on all systems for some strange reason (e.g no sound, bad sound or DSS crashes!), but does work on other systems.

Good Luck!

Saturday 21 April 2018

Installing Avaya Appliance Virtualization Platform (AVP) using E2B

When installing the Avaya Appliance Virtualization Platform v7 to a server, you usually need a DVD which contains an OS that installs onto the internal hard disk and a USB flash drive that contains a configuration file.

If you have an E2B (Removable-type) of Flash drive, you can install AVP without needing a DVD.

1. Download the AVP ISO
2. Drag-and-drop it onto the MPI_FAT32 Desktop shortcut
3. Run \MAKE_THIS_DRIVE_CONTIGUOUS.cmd
4. Run \_ISO\SWITCH_E2B.exe and switch in the new image file
5. Open Windows Explorer and copy your AVP .cfg configuration file to the root of the USB drive (there should be \EFI and \clover and \e2b folders present if you have the correct partition).

You should now find that you can boot to the E2B drive's CSM menu and select option 1 to MBR-boot to start the formatting of the internal drive and the unattended installation of AVP.

I have not tested this process using an E2B USB HDD, but it has been tested using an E2B USB Flash drive. As I think the script searches only Removable USB drives for the .cfg file, this does not work under a VM like VBox if the E2B USB drive appears as a IDE\SATA\SCSI fixed disk and not a true USB drive. You could connect a 2nd USB flash drive containing the .cfg file instead of placing the file on the E2B drive.

Headless Server

If your appliance has no keyboard or monitor, we need to make some changes to the \menu.lst file so that it runs automatically (which is dangerous because it will format the internal HDD!):

Thursday 19 April 2018

The Windows Answer File Generator website has moved!

It is now at www.windowsafg.com

This allows you to generate autounattend.xml files easily for both MBR and UEFI installs.

You can use XMLtoE2B.exe to tweak the xml file for use with E2B.

As I have lost the source files for XMLtoE2B, the top buttons which try to open pages on the old WAFG site will no longer work.


Easy2Boot v1.99b Beta now available


Changes from v1.98 are:
v1.99a - updated "\_ISO\WINDOWS\INSTALLS\APPS\CHOCBOX\chocolatey-core.extension.1.3.1.nupkg" to 1.3.3. Automatic bugfix for menu.lst file in old .imgPTN files if selected via the E2B menu system.

v1.99b - setting redir now suppresses the 'System Hard Disk (hd1) not detected' warning message, GIFtoIMA.cmd script now asks user for transparency\opaque background setting, Utilities Menu - List Files entry now has extra option to list UTILITIES_MEMTEST files, UPDATE_E2B_DRIVE.cmd now repositions cmd shell window, fix dpms2.g4b so doesn't crash VBox 5.2.8.

v1.99b is available from Alternate Download Areas.

I am still working on the eBook (it will be available as a PDF). There are still a few chapters to write, then lots of pictures to add + proof checking!

Tuesday 3 April 2018

Using SDI_CHOCO with Windows 10 1709 (and fixing the 'No internet' prompt)

The 1709 version of Windows (as well a many other versions - but not all versions!) seems to have broken internet connectivity during the Specialize pass of an automated install again and also broken something in MSOOBE.exe too!

Thursday 29 March 2018

Revised MemTest86.imgPTN file (and how to fix a corrupt E2B drive)

If you are having problems when using the ready-made MemTest86.imgPTN file which I made available in a previous post, please update to the latest version here.

The previous version was not compatible with the latest versions of RMPrepUSB (grub4dos installer) and could cause strange effects such a 'GRLDR not found' errors on booting and perhaps not being able to return back to the E2B menu from the CSM menu.

If you have been using the latest version of RMPrepUSB to install grub4dos on your E2B drive, make sure you are using the latest version of the MPI Tool Pack to make your .imgPTN files.

If you have used the latest version of RMPrepUSB to install grub4dos on your E2B drive, you will need to remake all your .imgPTN files again. Alternatively, edit the \menu.lst file inside each .imgPTN file and replace "Missing MBR" with "helper" throughout the file.

If you update your E2B USB drive to version 1.99a Beta or later (available in Alternate Download area), when you switch to a .imgPTN file using the E2B menu (not using SWITCH_E2B.exe) E2B will automatically make the patches to the \menu.lst file inside the .imgPTN file as it is run. Once it has been patched, you can use SWITCH_E2B.exe as well as the E2B menu system to select a .imgPTN file.

Fixing a 'broken' E2B drive

If your E2B drive has a problem booting or switching back to the E2B partitions, try this process using any version of RMPrepUSB...

1. RMPrepUSB - Ctrl+B  (writes a standard MBR)
2. RMPrepUSB - Ctrl+G - Y=MBR - cancel grldr copy (installs grub4dos to MBR and backs up the standard MBR to LBA1 - grub_inst will not back up the MBR if it contains grub4dos which is why we install the standard MBR first)
3. Now select the drive in Windows Explorer - Properties - Tools - Check (to fix any errors)

If the drive is in the CSM mode (i.e. has a switched-in .imgPTN file), switch it back to the E2B mode by booting to it and using the CSM  0 - EASY2BOOT menu option or using \e2b\SWITCH_E2B.exe - Restore E2B partition(s) button.

Now repeat steps 1, 2 and 3 above.

Finally, update to E2B v1.99a and use the E2B menu to switch in any 'old' .imgptn file in order to 'fix' the menu.lst file inside it:

i.e.
1. Boot to E2B menu
2. Select .imgPTN file in the E2B menu and switch to CSM menu to 'patch' the \menu.lst file inside the .imgPTN file.
3. Select menu item 0 EASY2BOOT in the CSM menu to return back to the E2B menu.

You can now use SWITCH_E2B.exe or the E2B menu to select the old .imgPTN file.

Tip: The MBR is saved to \e2b\MBR.BIN by E2B when you switch in the .imgPTN file. It may still contain the original NTFS partition table.

Drive not listed in SWITCH_E2B.exe?

If you have switched to a .imgPTN file and then tried to switch it back using the CSM Menu 0 option, you may find that it will may no longer boot to grub4dos or be listed in by SWITCH_E2B.exe.

SWITCH_E2B.exe only lists drives that have grub4dos boot code in the MBR (LBA0).

If you follow the process above, it should fix the issue.

No files? unformatted drive?

If Windows wants to format the E2B drive and it appears unformatted, the CSM menu may have restored your old original backup partition. This type of problem only happens if you have re-partitioned your E2B drive after you originally installed E2B onto it.

To fix the issue, follow the FAQ Troubleshooting guide

Thursday 22 March 2018

Would you be interested in an eBook for Easy2Boot?

I have started to write an eBook for Easy2Boot  (with pictures!) as several people have requested one.

Currently it has a working title of  'Getting started with Easy2Boot (or how to create a useful multiboot USB drive)'.

The content in the eBook will not be as detailed as on the E2B website (but it will not have all the repetitive text that is on the website pages either!). The eBook is intended to be followed as a 'Course'. It will be aimed at the intermediate Windows user who knows how to copy files and use Windows applications, but is not very familiar with Easy2Boot or using multiboot USB drives.

It starts with a few basic Chapters on E2B and how to make an E2B USB drive, but then has Chapters on:

Saturday 17 March 2018

Add BlackArch LiveCD (MBR+UEFI) to E2B

The BlackArch Linux LiveCD ISO can simply be added to the E2B USB drive (e.g. \_ISO\LINUX\blackarchlinux-live-2017.12.11-x86_64.iso).

Because the file is larger than 4GB, your E2B USB drive will need to be formatted as NTFS.

This will allow us to Legacy\MBR boot, but what about UEFI-booting to BlackArch Linux?

Well, the E2B grub2 menu system will UEFI-boot from the ISO, but what if we want to use a .imgPTN file instead?

We cannot simply drag-n-drop the blackarchlinux-live-2017.12.11-x86_64.iso file onto the MPI_FAT32 Desktop shortcut to make a .imgPTN file, because there is a large (>4GB) .sfs file inside the ISO.

Here is how to add BlackArch Linux to your E2B USB drive (preferably a large E2B USB HDD) and both UEFI and MBR boot to it.

Instructions

Thursday 15 March 2018

Spanish YouTube E2B videos - Lesson 4 now available from Decomputo

Even if you don't speak Spanish, you might like to watch the YouTube course on E2B by Decomputo.

The latest one has just been uploaded here.


Tuesday 13 March 2018

Boot Eset Rescue using UEFI from E2B

To legacy\MBR boot, you can simply directly boot from the Eset system rescue ISO file (or to add persistence for updates - see previous blog articles).
See also: ESET SysRescue 2020 with persistent updates and agFM UEFI support
To UEFI-boot (64-bit UEFI) or MBR-boot from recent versions (no persistent updates):

1. Drag-and-drop the eset-sysrescue-live_enu.iso file onto the MPI_FAT32 Desktop shortcut
2. Add 5MB to the suggested size
3. Copy the .imgPTN file to the E2B drive \_ISO\ANTIVIRUS folder, make it contiguous and 'Switch' to the .imgPTN file using the E2B MBR menu or \_ISO\Switch_E2B.exe.
4. Extract the contents of \boot\grub\efi.img to the root of the E2B volume, so that you now have a \efi\boot folder containing two .efi files

However, here is a way to 32-bit and 64-bit UEFI-boot by using the E2B grub2 menu system.

You will need to be familiar with the E2B grub2 menu system first.

Tuesday 6 March 2018

Warning: Do NOT update to VirtualBox v5.2.8!

The latest VirtualBox v5.2.8 version crashes your host system (i.e. BSOD on your Windows system) when booting to an E2B USB drive.

If you use VBox to test booting of E2B then please install v5.2.4 or 5.2.6 instead, but do not update to 5.2.8.

I discovered this several days ago (I thought it may have been just my system), but it has now been confirmed by another user.

http://www.easy2boot.com/forum/

[Edit: I have re-released E2B v1.98 2018-03-09 which should prevent the BSOD with VBOX from occurring. Please download the latest version of E2B and update your E2B drives if you want to use VBOX 5.2.8]

Monday 5 March 2018

E2B v1.98 released

v1.98 2018-03-03 - changes from v1.97A
  1. Patchme grub4dos script now removes 'If hangup , use 'geometry --lba1sector (128)' grub4dos startup message
  2. Variables SIZE_E2B and SIZE_HD1 can now be used in MyE2B.cfg files in menu HEADING and FOOTER (for sizes of drives in GB)
  3. 'GodMode' folder added to \_ISO\docs\Download URLs for easy access to Windows GodMode list of utilities (just doubel-click on it within Windows)
  4. DrWeb900_Persistent.mnu sample added
  5. Support for *NCQ.iso suffix
  6. Support for isopersist file extension so can easily add persistence files to Ubuntu-based ISOs
  7. Add text tip to use .isopersist for Ubuntu-based files +persistence
  8. Add .isoBF option to 'ISOASK' menu list
  9. Add text tip to use .isopup for files with 'pup' in their name for puppy linux ISOs
  10. Change FreeDos floppy image to increase amount of conventional memory from 310K to 530K and add mem.exe utility + extended memory driver for DPMI support, add mouse.com DOS mouse driver, increase floppy disk size to 7.6MB so more files can be added by user, update KERNEL version
  11. Add support for TESTPLOP variable for booting Plop! with VMWare
  12. Use Inno Setup as the Self Extractor engine for less AV false positives (E2B .zip file is also available for linux users)
  13. Changes to many of the Sample .mnu files to clarify instructions
  14. Bugfix for EXTOFF=1 not being set in MyE2B.cfg when using Make_E2B to make the USB drive (EXTOFF suppresses file extensions being listed in menus).
As usual, the new versions are available from the Alternate Download Areas first so you can try it out and feedback any issues before I release it on the E2B website.

A .zip version of E2B v1.98 is also available for linux users.

Note: E2B v1.98 was re-released (2018-03-09) with a small bugfix which should prevent VBOX v5.2.8 from BSOD'ing your system when using it to boot an E2B USB drive.

Friday 2 March 2018

Testing Inno Setup for making Self-Extracting files

I have been using WinRaR to package up the Easy2Boot files into a self-extracting executable (SFX) file. When the user runs this, it unpacks the E2B files to a temporary folder and then runs Make_E2B.exe as Administrator.

However, the WinRaR package seems to trigger false positive alerts with several Anti-Virus packages such a Windows Defender (depending on what day it is!), Avast and Norton Symantec, etc.

So, as an experiment, I have packaged up E2B v1.98g BETA using the free Inno QuickStart Setup package from here.

This Inno Setup version is similar to the WinRaR version (it only extracts the files - it does not install anything).

Please try the above link and let me know the results (i.e. what your AV solution is and if it runs OK or gives a virus alert).

I have noticed that if you run it with Avast AV installed, you get an error pop-up box, however if you click past this it runs OK. This is apparently a known issue with Avast when running a 'strange' exe for the first time.

P.S. If the above link no longer works (becomes outdated), look for a more recent E2B_v1.98+ file in the Alternate Downloads Areas.

Tick 'funny' if it gave no problems, otherwise please let me know what AV gave a false-positive

Thursday 1 March 2018

How to add older versions of the Hirens Boot CD to E2B

Older versions of the Hirens boot CD earlier than version 9.7 were based on DOS and designed to run from a CD only.

Here is how I converted HBCD v8.1 to run from E2B.

MPI Tool Pack v0.081 fixes 'ERROR: Please install Grub4dos to the MBR' error!


If you are getting this error a lot when trying to switch to .imgPTN files, the reason is that you are probably using RMPrepUSB v2.1.740 or later to install grub4dos or BootIce+grub4dos 0.4.6a.

To fix this, you can either use an older version of RMPrepUSB, or use v 0.081 or later of the MPI Tool Pack and remake your .imgPTN file.

The problem is due to the grub4dos boot code changing. The code in the menu.lst file looks for 'Missing MBR-helper' but the code has now changed with 0.4.6a to be 'Missing helper' and so it does not restore the original grub4dos MBR sector when you switch back to the E2B MBR, but restores the backup sector from LBA 1 instead (which usually does not contain the grub4dos boot code).

The new \menu.lst in MPI v0.081 will work with either version of the grub4dos boot code.

Monday 19 February 2018

Add AROS AspireOS Titan to E2B

The AspireOS ISO seems to have a problem booting if we just try to add the ISO to E2B.

Here is how to add it to E2B as a .imgPTN file for MBR and UEFI-32-bit booting.

References

Amiga Board forum

Instructions

Thursday 15 February 2018

Boot from an E2B USB drive using VMWare

You can test install Windows (7/8/10 etc.) from an E2B drive to a virtual hard disk using VMWare.
The advantage of this process is that a Removable-type USB flash drive will appear in the VM as a Removable drive and thus will load the 'LOADISO.cmd' file in the same way as it runs on a real system. This means you can test E2B with Windows ISOs+Unattend XML files without using a real system.

There is also new page on the E2B site here which describes the process.

This process works using VMWare Player (free) or VMWare WorkStation...