Try FlashBoot for 99% Bootability!
RMPrepUSB can make most USB drives bootable and includes a specially modified version of grubinst.exe, but some older BIOSes may have problems booting from USB devices. I recommend FlashBoot if you need to create an E2B USB drive that will boot on these badly behaved systems.
Please click here to test a time-limited trial version and see if it works for you.
How to prepare a Easy2Boot USB drive using FlashBoot
 

E2B Users Forum

 
If you would like help from me (Steve Si) or other E2B users, or would like to offer help and advice to others, please post here.
 
However, you will need to check this page regularly for any replies or add this page's URL to a page change ch ecker.
 
Alternatively, post on the Easy2Boot discussion page on reboot.pro here - register and subscribe to any threads that interest you or post a new thread topic.
 
For 1-to-1 email communication, it is much easier and faster to use the Contact Me form and I will reply via email.
 
I recommend the reboot.pro forums for any USB, grub4dos or boot related questions. It is THE PLACE!

Please use English. To post, scroll to the bottom of the page and fill in the form.

Topic: Easy2Boot

Date 17/01/2017

By Long Vu

Subject Is .mnu file cached somewhere?

Reply

I have created a .mnu file for unattended Centos 7 Installation using a Kickstart file.
I have modified the "title" inside the .mnu file but in the boot menu, it is still the same.
I also tried the delete that .mnu file from my usb key and the boot menu still list it !
So is that .mnu files cached somewhere? What to do to be absolutely sure the latest .mnu files is being used?

Date 17/01/2017

By SteveSi

Subject Re: Is .mnu file cached somewhere?

Reply

The Main menu is cached if you use FASTLOAD.
If so, just press F8 in the Main Menu to refresh the cache.
If you are not using FASTLOAD, are you using a VM to test or a real system? If a VM please describe how it is configured.
Where did you place the .mnu file and what does it contain?

Date 17/01/2017

By Long Vu

Subject Re: Re: Is .mnu file cached somewhere?

Reply

I am not sure what you mean by FASTLOAD, how do I verify this?
I tried F8 anyways and it did not work (did not delete the entry from the Linux iso list).
I was testing my usb key like this "sudo qemu-system-x86_64 -machine accel=kvm:tcg -m 512 -hda /dev/sdc"
Here is the content of my .mnu file (that has been deleted from my usb key but keeps showing on the Linux menu)

=========================
[[email protected]:6 16:04:02 Iso]$ cat CentOS7_AutoInstall.mnu
# CDLABEL must match ISO volume label (usually file name)
# NTFS is not supported! use FAT32 or ext2/3/4
# ISO must not have spaces in path or name

title Auto Install CentOS 7 from Kickstart\n Auto Install CentOS 7 from Kickstart

#ISO is full path to ISO (no spaces)
set ISO=$HOME$/CentOS-7-x86_64-Minimal-1611.iso

#LBL=CD VOLUME LABEL OF THE ISO use \\x20 instead of a space
set LBL=CentOS\\x207\\x20x86_64

map %ISO% (0xff) || echo -e $[0147]%ISO% IS NOT CONTIGUOUS! && map --mem %ISO% (0xff)
map --hook
root (0xff)
echo
echo -e $[1174]WARNING: THIS WILL NOT WORK ON NTFS DRIVES (use FAT32 or ext2/3/4).
echo
kernel /isolinux/vmlinuz root=live:CDLABEL=%LBL% iso-scan/filename='%ISO%' rd.live.image vga=791 inst.ks=nfs:it-deploy2.intelerad.com:/srv/exports/ks/wkstn_centos7-dev-ah.ks
initrd /isolinux/initrd.img
boot
==============================

The file was put under _ISO/Linux folder on the usb key, next to the CentOS-7-x86_64-Minimal-1611.iso it was refering to. Is that location allowed for .mnu file?

Date 17/01/2017

By SteveSi

Subject Re: Re: Re: Is .mnu file cached somewhere?

Reply

FASTLOAD is not the problem if you have not enabled it and it only caches the MAIN Menu, not the Linux menu.
If you place the .mnu in \_ISO\LINUX and the CentOS ISo file in \_ISO\LINUX, you will see two menu entries - one for the ISO and one for the .mnu file.
Try booting on a real system?

Date 17/01/2017

By Long Vu

Subject Re: Re: Re: Re: Is .mnu file cached somewhere?

Reply

I actually want 2 menus. One to boot the .iso as-is and one that does full unattended install.
Have not tried on a real physical system yet. Need a real machine that I can zap the real harddrive under unattended mode.
Is there another way to test this "virtually"?

Date 17/01/2017

By SteveSi

Subject Re: Re: Re: Re: Re: Is .mnu file cached somewhere?

Reply

The problem is that you cannot see the .mnu entry in the LINUX menu or that you can see it when it should not be there?
So boot on a real system to E2B, go to LINUX menu - What is in the menu?
You do not need to run anything.
Or run QEMU_MENU_TEST.cmd under Windows?

Date 17/01/2017

By Long Vu

Subject Re: Re: Re: Re: Re: Re: Is .mnu file cached somewhere?

Reply

I see it when it should not be there (I deleted the .mnu file).
I'll wait until I can get a real physical system to test again.
Will report my results.

Date 17/01/2017

By SteveSi

Subject Re: Re: Re: Re: Re: Re: Re: Is .mnu file cached somewhere?

Reply

OK. QEMU may be in snapshot mode or something...
You can also go to grub4dos console
SHIFT+P easy2boot
SHIFT+C
ls /_ISO/LINUX/
can you see .mnu file?
P.S. You are quitting QEMU before you edit the drive contents and then re-running QEMU?

Date 18/01/2017

By Long Vu

Subject Re: Is .mnu file cached somewhere?

Reply

Tried on a real physical system, the menu behave as expected (it is there when the .mnu file is there and not there when the file is not there).
Retried in qemu, also good.
I think, in addition to shutdown qemu, I have to also disconnect the usb drive and reconnect again.
So I think this is due to some kind of filesystem caching and not easy2boot caching.
Sorry for the false alarm.

Date 18/01/2017

By SteveSi

Subject Re: Re: Is .mnu file cached somewhere?

Reply

OK.
If you have an NTFS E2B drive, you could try using the partnew technique. You can adapt one of the other sample .mnu files (e.g. ubuntu) to see how it is done. Then the iso-scan/filename= is then not needed and i should work on NTFS or even exFAT.

Date 04/01/2017

By EdP

Subject bootmgr missing

Reply

bootmgr missing, using XP. I downloaded bootmgr from Microsoft.
TroubleShooting Instructions say to copy it to folder "\_ISO\e2b\grub\DPMS\NTBOOT.MOD" on the E2B drive.
But no such folder. The DPMS folder is there but pasting bootmgr to it don't work.

Any ideas?
Thanks

Date 04/01/2017

By SteveSi

Subject Re: bootmgr missing

Reply

Hi Ed
if you look at the E2B download zip file, you will see that it does contain that NTBOOT.MOD folder. If your E2B drive does not, then please update it.

Date 04/01/2017

By Ed

Subject Re: Re: bootmgr missing

Reply

So I copied the NTBOOT.MOD folder to the DPMS folder on the E2B drive with a WIN7 bootmgr file in it.
Getting the same bootmgr missing message.

Date 04/01/2017

By SteveSi

Subject Re: Re: Re: bootmgr missing

Reply

I said you need to UPDATE your E2B drive.
Download the latest version.
Unzip it into a new empty folder.
Run Update_E2B_DRIVE.cmd.
Also, you will need a Win8.1 version of bootmgr - not all versions are compatible - e2b will warn you if it is the wrong version.

Date 04/01/2017

By SteveSi

Subject Re: Re: Re: Re: bootmgr missing

Reply

P.S. What EXACTLY are you trying to boot?

Date 13/01/2017

By SteveSi

Subject Re: Re: Re: Re: Re: bootmgr missing

Reply

@Ed - is it working now?

Date 25/12/2016

By dnecro

Subject onlymainmenu and unattended files

Reply

when **.iso.auto files in present windows iso folder it give "if exist %folder/%iso%.auto call %folder%/%iso%.auto"
error 13

Am I doing something wrong or missing ? maybe add something mye2b.cfg?

Date 26/12/2016

By Stevesi

Subject Re: onlymainmenu and unattended files

Reply

.auto is not a valid file extension.

Date 26/12/2016

By dnecro

Subject Re: Re: onlymainmenu and unattended files

Reply

wait what? How not valid? unattended install guide and example files in folders already have these files. Then which extension I should use?

Date 26/12/2016

By SteveSi

Subject Re: Re: Re: onlymainmenu and unattended files

Reply

So you are following instructions on
http://www.easy2boot.com/add-payload-files/windows-install-isos/unattended-installs/

If so, you need to give all details. Exact paths and filenames you are using, contents of files, etc. What .mnu file you are using, etc.

Date 26/12/2016

By SteveSi

Subject Re: Re: Re: Re: onlymainmenu and unattended files

Reply

P.S. Is the first line of your xxx.iso.auto file

!BAT

???

Date 17/12/2016

By dancaer69

Subject make drive contiguous

Reply

When an iso isn't contiguous, I get an error and a prompt to hit "ctrl+f2" to make drive contiguous, but when I press this key combination it doesn't do anything. Is it possible to use this function from usb stick?

Date 17/12/2016

By SteveSi

Subject Re: make drive contiguous

Reply

It says Press Ctrl+F2 in **RMPrepUSB**.
or you can run USB drive \MAKE_THIS_DRIVE_CONTIGUOUS.cmd.

Date 17/12/2016

By dancaer69

Subject Re: Re: make drive contiguous

Reply

Thanks for the fast responce.
Yes this is the message, but I still don't understand. Can I make the drive contiguous from stick(without the need to reboot to windows/linux), and if yes which is exactly the procedure? It's not clear to me.

Date 17/12/2016

By SteveSi

Subject Re: Re: Re: make drive contiguous

Reply

MAKE_THIS_DRIVE_CONTIGUOS.cmd and RMPrepUSB.exe are Windows programs - so they must be run under Windows.
If you are a linux user, see http://www.easy2boot.com/make-an-easy2boot-usb-drive/make-using-linux/

Date 17/12/2016

By dancaer69

Subject Re: Re: Re: Re: make drive contiguous

Reply

Yes, I've used both windows/linux. I just thought that you can do it from usb stick too and "ctrl-f2" was the combination to run the command.
Thanks.

Date 14/12/2016

By dimm0k

Subject contiguous drive

Reply

if I create a new E2B drive, add ISOs, make contiguous, will I have to make contiguous again if I add non-E2B files to the drive after? non-E2B files would just be random stuff like videos, music, etc - essentially things not related to E2B AFTER the drive was made contiguous.

Date 14/12/2016

By SteveSi

Subject Re: contiguous drive

Reply

No, the FILES are made contiguous by WinContig, not the drive. E2B needs contiguous payload files.

Date 12/12/2016

By Gigante

Subject w32.trojan.gen

Reply

Hi,
Webroot antivirus reports this program as a trojan. Is the downloaded files infected, or is it the program? (the function to override windows installation-files and default settings)

Date 12/12/2016

By SteveSi

Subject Re: w32.trojan.gen

Reply

What program> Which download?
Use the web based VirusTotal to check it with all virus scanners. https://www.virustotal.com/
E2B is used 1000's of times a day and is downloaded 100's of times a day. If it had a virus, I think it we would know about it!

Date 14/12/2016

By Gigante

Subject Re: Re: w32.trojan.gen

Reply

This file: %Documents% EASY2BOOT V1.86DPMS_MAKE_E2B_USB_DRIVE.EXE
I cannot find the file (maby temorary while installing? or removed by webroot?) It seems to warn when I make bootdisks with the cmd-file.
I have sent the question to Webroots support to see what exactly it warn for.

Date 14/12/2016

By Gigante

Subject Re: Re: Re: w32.trojan.gen

Reply

Got reply from Webroot that it was false alarm. :) (Y)

Date 09/12/2016

By Filil J

Subject E2B and reports

Reply

Hi.
I have sort of hdd testing software in iso format.
thise software doesn't work for me becouse need to write reports after finish work.
Is there any way to use e2b with thise tool ?
Regards Filip

Date 09/12/2016

By SteveSi

Subject Re: E2B and reports

Reply

Are you using a Removable USB drive or Fixed Disk drive for E2B?
Did you try converting to .imgPTN file, then you may have better access?
If you tell me what s/w is or can send me a copy, I can help.

Date 24/11/2016

By john3voltas

Subject Up to date OpenELEC/LibreELEC Live

Reply

Hi.
I'd like to be running OpenELEC or LibreELEC live from E2B. Not interested in the installation, just the live functionality.
I've seen a couple of articles from 2013/2014 here at E2B.com. Are they still up to date?
Could you please make an update on those articles?
Thanks in advance.
Cheers

Date 24/11/2016

By SteveSi

Subject Re: Up to date OpenELEC/LibreELEC Live

Reply

Yes, the 2014 instructions still work for the latest version 6.0.3

Date 24/11/2016

By john3voltas

Subject Re: Re: Up to date OpenELEC/LibreELEC Live

Reply

Thanks, SteveSi.

Date 16/11/2016

By Long Vu

Subject Usb drive does not boot anymore

Reply

I just bought a brand new Kingston SE9 G2 USB 3.0 64GB.
Formatted it with Easy2Boot.
It booted a first time.
I added more isos, it stopped booting. But I can still read and write to it as a data drive.

I format it again. Still do not boot.
Thinking it's my computer BIOS that is messed up, I tried an older usb drive that also has Easy2Boot and that worked.
Any pointers how to debug this weird problem?

Date 16/11/2016

By SteveSi

Subject Re: Usb drive does not boot anymore

Reply

See Troubleshooting page
http://www.easy2boot.com/faq-/troubleshooting-e2b/

Date 17/11/2016

By Long Vu

Subject Re: Re: Usb drive does not boot anymore

Reply

Here's some surprising findings:

The problematic Kingston SE9 G2 USB 3.0 64G key works for:
- qemu
- my work machine Dell Precision T3610, all usb ports
- my older laptop Dell Vostro 3350, all usb ports
- my current laptop (where the problem originally occured) Dell Latitude E6230, only on the USB 2.0 port (USB 3.0 port do not boot). On the USB 2.0 port, it displays "Invalid Partition table!", then I press enter and it continue to boot the usb key.

Note that as previously stated, the USB 3.0 port did work once, then stopped working. Also that same USB 3.0 port was able to boot a smaller and supposely cheaper quality Kingston DataTraveler 101 G3 16 G.

I also destroyed the partition table on the 64G key, recreate from scratch, then format again, same result. This is using latest Easy2Boot_v1.86DPMS.zip, the fmt.sh script (Fat32).

I verified by Latitude e6230 is using Legacy BIOS and not UEFI. My ssd boot drive is using MBR partition anyways so it can not be using UEFI.

I am really stumped. Any other pointers as to why this weird problem happens?

I bought a bigger usb key so I can put my entire collection of Iso on it. I hope it is not the size of the key that is the problem because that will make me really sad.

Date 17/11/2016

By SteveSi

Subject Re: Re: Re: Usb drive does not boot anymore

Reply

The fmt.sh script does not add a small second partition. As explained on the website, when you use RMPrepUSB or the MAKE_E2B_USB_Drive.cmd Windows script, it makes a second small hidden partition on the USB drive. This is because some systems will try to boot a USB drive as a floppy disk if they only have one partition.
Can you add a small second PRIMARY partition to the USB drive or use the Windows script to make it?

Date 19/11/2016

By Long Vu

Subject Re: Re: Re: Re: Usb drive does not boot anymore

Reply

Added a 2nd primary partition, still the same weird behavior.

sudo fdisk -l /dev/sdb
[sudo] password for lvu:
Disk /dev/sdb: 57.8 GiB, 62087233536 bytes, 121264128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xefda3cf9

Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 119566335 119564288 57G b W95 FAT32
/dev/sdb2 119566336 121264127 1697792 829M b W95 FAT32

Date 19/11/2016

By SteveSi

Subject Re: Re: Re: Re: Re: Usb drive does not boot anymore

Reply

Did you switch off the system and switch on again?
Did you check the BIOS settings. e.g. USB Settings?
Does it say USB HDD in the BIOS boot menu?
Is the first partition marked as Active (boot flag)?
Did you install grub4dos to both PBR and MBR?
Latest BIOS version is A16 25th Oct 2016 with improved USB support. Do you have this?

Date 19/11/2016

By Long Vu

Subject Re: Re: Re: Re: Re: Re: Usb drive does not boot anymore

Reply

Did you switch off the system and switch on again?
Yes

Did you check the BIOS settings. e.g. USB Settings?
Yes, boot order is USB first.

Does it say USB HDD in the BIOS boot menu?
This is the interesting part, it doesn't say when the usb key is plugged into the usb 3.0 port. Looks like BIOS do not detect/see a usb hdd on usb 3.0 port ... but only for my new 64G usb key. The older 16G usb key was booting fine from that same usb 3.0 port.

Is the first partition marked as Active (boot flag)?
No.

Did you install grub4dos to both PBR and MBR?
I don't know, I just run the fmt.sh script.

Latest BIOS version is A16 25th Oct 2016 with improved USB support. Do you have this?
I only have A15.

I also tried to format the usb key using Windows instead of linux. This is the latest fdisk output after Windows format:

sudo fdisk -l /dev/sdb
[sudo] password for lvu:
Disk /dev/sdb: 57.8 GiB, 62087233536 bytes, 121264128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xfc5ed0c2

Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 63 121242491 121242429 57.8G c W95 FAT32 (LBA)
/dev/sdb2 121242492 121242554 63 31.5K 21 unknown

Still the same behavior (usb 3.0 port do not boot) with formatting using Windows. However at least usb 2.0 port stop staying "invalid partition table!".

I guess a new BIOS might be the fix. At least now the usb 2.0 port boots properly so I have a fall back. I'll reply my findings if I feel brave enough to update the BIOS. I got burned once in the past updating BIOS.

Thanks for all the help. Looks like formatting on Windows does a more complete job than Linux. Is it because Linux is lacking any functionality or you just didn't get around to have feature parity between Windows and Linux?

I am still puzzled as to why my older 16G usb drive was working fine on that same usb 3.0 port although it was formatted on Linux.

Date 20/11/2016

By SteveSi

Subject Re: Re: Re: Re: Re: Re: Re: Usb drive does not boot anymore

Reply

The * in
/dev/sdb1 * 63 121242491 121242429 57.8G c W95 FAT32 (LBA)
I think means that the partition is active. So one difference is that the first partition was not active until you used Windows to prepare the USB stick.
The fmt.sh script only formats an existing partition it does not create partitions.
Did you enable both options in the BIOS under System Setup - USB Configuration - Enable Boot Support and Enable External USB Port?

Date 20/11/2016

By SteveSi

Subject Re: Re: Re: Re: Re: Re: Re: Re: Usb drive does not boot anymore

Reply

P.S. I have improved the linux fmt.sh script in E2B v1.87b so that it makes the partition active and installs grub4dos to the PBR.
The only thing it does not do is make a 2nd small partition on the USB drive. You should do this yourself or it may not boot on some systems.

Date 07/11/2016

By Farid

Subject E2B Multi-Boot

Reply

Dear Stevesi,
first of all thank you for the software package development and that for free!
I've been trying to make a Multiboot USB Stick/HDD usable for both UEFI and Legacy Mode Bioses and I've already read several tutorials on E2B website and have also seen several videos from other resources. But still haven't been able to make such a drive, which would work on both kind of Bios types (MBR/UEFI). The best results have been either working on some MBRs OR on some UEFIs, not both at the same time.
Therefor my first question is that, if you could recommend one main method/tutorial to focus on; because as I mentioned there are several Versions suggesting different methods, like using RMPrepUSB (and that with variety of options like choosing between ntfs or fat32, Boot as HDD as checked or not etc.) or using the scripts like MAKE_E2B_USB_DRIVE .cmd
My other question is that, if you by any chance know some tool to convert usb "fixed" drives into "removable" disks? Most of my USB drives are detected as "fixed" drives. I assume that, first of all they have to be "removable" drives for being able to make them bootable using E2B.

Date 07/11/2016

By SteveSi

Subject Re: E2B Multi-Boot

Reply

E2B will work on Removable drives or Fixed Disk type.
The website explains the difference.
Not all payloads (ISOs) support UEFI booting.
Look at the 'List of tested payloads' page to see the best way to add each payload file.

Date 05/11/2016

By SalimS

Subject Find Only in hd0

Reply

Dear Stevesi
iftitle [find /ntldr] OS * Windows XP Loader..
how to set find only search in hd0.. If not found ntldr in hd0 then message not found ntld in hd0.
How to make menu like that's..??

Date 05/11/2016

By SteveSi

Subject Re: Find Only in hd0

Reply

That is tricky!
When you boot from USB, hd0 will be the USB drive.
hd1 will be the first internal hard disk.
So if you want to boot from the internal disk try
iftitle [ls (hd1,0)/ntlrd] Boot from NTLDR

or maybe

iftitle [ls (hd1,0)/ntldr || ls (hd1,1)/ntldr] Boot from NTLDR

Date 08/12/2016

By SteveSi

Subject Re: Re: Find Only in hd0

Reply

For interest
# Ignore boot device and boot to Windows XP, Vista, 7 or 8 from the internal hard disk
# This works by mapping the boot device (bd) which may have bootmgr or ntldr on it, to a virtual memory drive so that files on it are not found by the find command
title Boot to Windows from an internal hard disk
map --mem (md)+8 (bd)
map --hook
find --set-root --ignore-floppies --ignore-cd /bootmgr || find --set-root --ignore-floppies --ignore-cd /ntldr
map (bd) (bd)
map --rehook
chainloader /bootmgr || chainloader /ntldr

Date 05/11/2016

By Long Vu

Subject Unable to defrag NTFS USB drive on Linux

Reply

Hi,

I got this error on Ubuntu 16.04:

[[email protected]:12 12:47:29 linux_utils]$ sudo ./udefrag -om /dev/sdc1
[sudo] password for lvu:
sudo: unable to execute ./udefrag: No such file or directory
[[email protected]:12 12:53:38 linux_utils]$

USB drive was created using Easy2Boot_v1.86DPMS.zip.

I used 'sudo bash ./fmt_ntfs.sh' to create the drive initially.

Then I copy over some .iso.

Date 05/11/2016

By SteveSi

Subject Re: Unable to defrag NTFS USB drive on Linux

Reply

Does the file exist?
Did you use chmod on it?

Date 05/11/2016

By SteveSi

Subject Re: Re: Unable to defrag NTFS USB drive on Linux

Reply

The udefrag binary is a 32-bit program.
If you have Ubuntu 64-bit, you may need to add 32-bit support. See the linux page on this site.

Date 05/11/2016

By SteveSi

Subject Re: Re: Re: Unable to defrag NTFS USB drive on Linux

Reply

udefrag came from the tools.zip file at
http://jp-andre.pagesperso-orange.fr/advanced-ntfs-3g.html#download
If anyone would like to supply me with a 64-bit version of udefrag (find it or compile it), I will include it in E2B.

Date 06/11/2016

By Long Vu

Subject Re: Re: Re: Re: Unable to defrag NTFS USB drive on Linux

Reply

Yes udefrag file exist. Yes I chmod a+x it.

I will try to add additional 32-bits libraries to my 64-bits machine to see if I can run udefrag.

Thanks.

Date 13/11/2016

By Long Vu

Subject Re: Re: Re: Re: Re: Unable to defrag NTFS USB drive on Linux

Reply

Confirmed able to defrag NTFS on Ubuntu 16.04 by following intructions on Linux page:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
(change to _ISO/docs/linux_utils folder)
sudo chmod 777 *
sudo udefrag -om /dev/sdX1 (where sdX1 is your NTFS USB partition)

Thanks.

Date 04/11/2016

By Codeplayer

Subject Administrative rights for RestoreE2B script

Reply

Hi!

I just wanted to thank you for the hugely useful software package development and also for providing that for free. I haven't been able to give much back to you. I noticed that I might be able to contribute with some code though. The thing is that its quite annoying to start the RestoreE2B script with administrative rights. Usually on broken computer the right click menu might take ages to pop up in Windows Explorer. Here is how I make batch scripts ask administrative rights, use it however you like:
In the beginning I usually add:

set "_FilePath=%~f0"
set "_FileDir=%~dp0"
setlocal EnableExtensions EnableDelayedExpansion

And then in the appropriate location the admin rights prompt trigger:

fltmc >nul 2>&1 || (
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\GetAdmin.vbs"
echo UAC.ShellExecute "!_FilePath!", "", "", "runas", 1 >> "%temp%\GetAdmin.vbs"
"%temp%\GetAdmin.vbs"
del /f /q "%temp%\GetAdmin.vbs" >nul 2>&1
exit
)

I hope that helps. I feel that I cannot thank you enough for your kindness. So thank you again.

Kind regards,
Codeplayer

Date 04/11/2016

By SteveSi

Subject Re: Administrative rights for RestoreE2B script

Reply

Thanks for the code. I haven't seen that before.
The thing is that RestoreE2B needs to work in a minimal WinPE environment and not rely on fltmc or vb script runtime components.
Why not use SWITCH_E2B.exe instead?

Date 26/10/2016

By John

Subject Boot from a USB HDD with two partitions

Reply

I have a 1Tb USB3 External HDD
Two primary partitions, the second one has data, the first one is empty.

I would like to install EASY2BOOT in the first one.
When I launch the installer, it says "WARNING: ALL PARTITIONS ON DRIVE 1 WILL BE DESTROYED..."

I don't want to destroy the second partition.

What can I do?
Thanks.

Date 26/10/2016

By SteveSi

Subject Re: Boot from a USB HDD with two partitions

Reply

The cmd script is only for making a new drive.
See http://www.easy2boot.com/make-an-easy2boot-usb-drive/make-and-e2b-usb-drive-using-rmprepusb/
Use RMPrepUSB to add the grub4dos boot code using 'Install grub4dos' button and just copy E2B files to the first partition.

Date 26/10/2016

By John

Subject Re: Re: Boot from a USB HDD with two partitions

Reply

Thanks SteveSi for the fast answer

Date 21/10/2016

By Crave

Subject Unable to launch the setup application

Reply

Hello, Sir,

I found a problem while trying to install Windows 7 and 8. Both of them are AIO x84/x64 activated ISO files . When i pick which system type to install, i see Windows logo and then a blue screen with an error: "Unable to launch the setup application". I tried all of the methods to somehow fix it, (renaming iso to isope, rewriting the program, editing autounattend.xml) except converting iso to imgptn. I also tried to find something about this problem on e2b forums and pretty much on the whole e2b site, but unfortunately, it's not even listed in the list of errors. For example, Windows 10 works fine, without any problems at all. I really like this program and i don't really want to change it if it has such malfunctions.

Thank you in advance for the help.

Date 21/10/2016

By SteveSi

Subject Re: Unable to launch the setup application

Reply

AIO ISOs may not work because they have been changed a lot by the developer. You should convert them to a .imgPTN file if they don't work as an ISO file.

Date 17/10/2016

By zhuanglee

Subject win 7 pe.wi kas iso boot

Reply

Hi sir,
Sorry for my poor english.
I have latest version of e2b.
Recently i add win7pe.wim but getting winload.exe missing error. Try with almost wim and no luck. I have bootmgr on root of hdd partition. (format as fat32).
Also i want to know if i can add kas.iso to e2b, because my usb hdd has more than 2 partitions so partnew method cannot get to work.
I know that we can extract kas to rescue folder but i do not want to use this method (may not safe to extract since kas is antivirus rescue)
Try iso boot with some code from rmprep site too, but no luck.
Finally tks for your greate project.
God bless u :)

Date 17/10/2016

By SteveSi

Subject Re: win 7 pe.wi kas iso boot

Reply

A Windows bootable wim file should contain one image and a \windows\system32\loader.exe file should be present. Please check using 7Zip.
What is 'kas.iso' ? Do you mean Kaspersky AntiVirus Rescue disk iso? If so it can be booted directly using E2B. Only one free partition entry is needed.
http://rmprepusb.blogspot.co.uk/2014/04/adding-kaspersky-rescue-iso-to.html

Date 12/10/2016

By Liam

Subject Windows ISOs and imgPTN boot issues

Reply

Hello, my apologies if I've missed something obvious, but I've been attempting to create a multiboot windows install / linux E2B USB for a couple of days and am flummoxed by windows ISO issues. I've looked through all the tutorials and topics I can but can't find the solution.

I can boot a linux ISO, and create a imgPTN from it and boot it no bother - tested with Puppy Linus.

However, Windows ISOs downloaded from the 'Windows Iso Downloaded' recommended on the site are another story.
- If the plain ISO is used in the correct folder, I get Error 13 Invalid or unsuppoted executable format.
- If I convert to imgPTN I get 'has no menu.lst file'.
- I created working Winsetupfromusb, Sagefile and Rufus USBs, and converted them to ISO/imgPTN, but get the same error
- For each attempt, I can mount the img using Imdisk as a removable drive and explore the contents, but after I attempt to boot, the image becomes corrupted and can no longer be accessed.
- I've tried different USB pens, same problem.

Any advice would be much appreciated!

Date 12/10/2016

By SteveSi

Subject Re: Windows ISOs and imgPTN boot issues

Reply

Can you describe what USB drive you are using and how you made it, size, make, model, etc.
If it is a flash drive, did you test it with H2TESTW or FakeFlashTest to see if it is a fake one?
You say you can mount an .imgPTN file using ImDisk and see the \menu.lst file and other contents - is the file on your internal Windows drive or are you using the .imgPTN file directly on the USB drive?

Date 23/09/2016

By Bruce

Subject There is not enough space on the disk

Reply

I have a problem using MPI to create imgPTN. It always says "there is not enough space on the disk" even though I have increase the size.
Please help. thanks a lot!

Date 23/09/2016

By Bruce

Subject Re: There is not enough space on the disk

Reply

I include the screenshot here for visual ref. https://drive.google.com/open?id=0B7VPcKBuhELCMGgzc1k1YUNsYUU

Date 23/09/2016

By SteveSi

Subject Re: Re: There is not enough space on the disk

Reply

AOI ISOs tend to be heavily compressed. There is a special option when making an ISO that allows an image to contain a single file with multiple entries for duplicate files in the same ISO.
You may have to add a LOT more to the size before it works.

Date 08/09/2016

By Charles

Subject Windows 10 UEFI install choosing a version?

Reply

Is there a way for me to choose a version for UEFI install? For regular windows installation, I have the options to choose between pro and home. But for UEFI it would just install the Pro version every single time. Any workaround here? Thank you so much!

Date 08/09/2016

By SteveSi

Subject Re: Windows 10 UEFI install choosing a version?

Reply

When you use the MakePartImage script, it should prompt you to delete the EI.CFG file. if you delete this file, then you should be prompted for all versions. If you have already made the .imgPTN file, switch to it and delete \sources\ei.cfg.

Date 29/08/2016

By JimP

Subject Error on Windows iso

Reply

I have a 6,4GB iso of Windows 10 with both 32 and 64 bit Pro & Home edition. When i choose the version to install and pick 64bit i get a fvevol.sys error. Can someone help? Thanks in advance.

Date 29/08/2016

By SteveSi

Subject Re: Error on Windows iso

Reply

From Googling, it seems that this is something to do with BitLocker. Several people have fixed it by updating the BIOS/firmware to a later version.
Does this error only happen on one type of system?

Date 29/08/2016

By JimP

Subject Re: Re: Error on Windows iso

Reply

It happens on every system i try to install the 64 bit version.

Date 29/08/2016

By SteveSi

Subject Re: Re: Re: Error on Windows iso

Reply

Try a different ISO. If that gives the same problem, then it must be a problem with your systems?

Date 19/08/2016

By Capum

Subject Debian (lxde) multiboot + persistence

Reply

Hello, There is a E2B page where linux with persistence, one should use imgPTN for multiboot + persistence. Which leads to http://rmprepusb.blogspot.com.br/2015/08/add-debian-live-iso-with-persistence-to.html but not a word about imgPTN tutorial. What's the proper way of doing it? Or should I look other distro tutorial for equivalence. Have patience and a great time! Capum

Date 19/08/2016

By SteveSi

Subject Re: Debian (lxde) multiboot + persistence

Reply

Hi,
The Debian-live-8.5.0-amd64-lxde-desktop.iso does not contain EFI boot files. So I don't think it will be UEFI-bootable. Why don't you use an ISO file + persistence and MBR booting?

Date 19/08/2016

By Capum

Subject Re: Re: Debian (lxde) multiboot + persistence

Reply

UEFI with legacy boot? sure! actually this notebook is BIOS, just checked that. I could manage it if I wasn't kind lost, you have two pages about linux persistence. Could I use the the guide page with more reliable ext3,4 volume instead? thanks it's amazing tool.

There is a LOT of information on this site which should cover all common questions and problems - please use the Site Map to find the page you need.

For specific problems, it is much easier for 1-to-1 communication to use the Contact Me form and I will reply via email.