Thursday, 9 May 2013

Easy2Boot BETA27 v3 - IMPORTANT BUG FIX!

Win7/8 and probably Vista/SVR2K8R2 and SVR2012 installs may get an 'Invalid Unattend.xml' error near the very end of installation after the 1st reboot. This was due to a blank \Unattend.xml file in the root of the USB flash drive. This version fixes the problem by writing blank <> sections into it.
Many thanks to Fabrizio (and Antonio) who kept insisting that there was a problem!
BETA27v3 is here.  Please update E2B!

Monday, 6 May 2013

Easy2Boot BETA26 (fixes 'bad unattend.xml' error)

Found a bug!
If you run a Win8 install and then abort it and then run a Win7 install, you may get a 'bad unattend.xml' error from Win7 Setup before you can choose an OS. This was caused by the AutoUnattend.xml file on the flash drive not being wiped before the new Win7 text was added in. This left some old text at the end of the file and so the xml format was invalid (it had extra <> sections at the end which were not properly closed with a > symbol).
This is now fixed in BETA26.
BETA26v2 Win7_32_sp0 bugfix!
BETA26v5 - speeded up file enumeration - mainmenu should load faster now!
BETA26v6 - no functional change that you will notice, but now you can set a password in mymenu.lst to prevent users from being able to edit the menu entries in grub4dos by pressing 'e' or getting to the grub4dos command line by pressing 'c'. This avoids users getting confused if they accidentally hit e or c. More details here.

Sunday, 5 May 2013

Easy2Boot v1 - Full Release imminent!

I hope to make BETA25-v5 the last Beta for Easy2Boot.

If you have any feedback, suggestions, bug reports, etc. Please let me have them now.
Once Easy2Boot is released, I will not change v1 unless it is for bug fixes.

Please download and test BETA25-v5 on a fresh USB drive and add your payload files, etc. and test, test, test!
BETA25-v5 - can define default Win8 and SVR2012 Product keys in mymenu.lst file now.
BETA25-v6 - small change to remove mnu.lst

Saturday, 4 May 2013

Easy2Boot V1 BETA25 now available

Main change is that you can now use the 'Choose any Windows ISO' menu and pick from a list of files in the folder by just entering it's number instead of the whole filename.

e.g.

Choose .ISO File

1 = Win_8_32.iso
2 = Win_8_64.iso
3 = Win8Special.iso

Enter a number for the ISO file you want to use  (1-3) :

This is for Vista/7/8/svr2K8R2/SVR2012 menus. The XP menu is unchanged and you can define up to 10 different ISO names and descriptions for the XP menu using the MYXPISOS.g4b file as before, however you can now enter a number for the WinPE ISO file and the unattend.txt file instead of having to type in the filename.

BETA25 Updated!

BETA25 has been updated to v3 - please re-download.
BETA25 v3 has more pre-defined ISOs for Vista (SP0,SP1,SP2) and Win7 (SP0 and SP1).

2013-05-05 BETA25 v4 - minor changes to .txt files, etc.

I hope to change this to the first Full Release version in the next week unless any bugs are found.
Last chance for any final sugegstions, tweaks, etc.!

Easy2Boot v1 BETA24 available

Mainly changes to 'WinXP install using WinPE ISO' menu.
subfolders under \_ISO\AUTO removed as causing confusion (make your own subfolders if you want them).


\

Thursday, 2 May 2013

Easy2Boot v1 BETA23 available

This version has quite a few changes, so probably best to start with a fresh USB drive rather than overwrite your existing USB drive (it will work, but you may get lots old files left which are no longer used by BETA23 if you just overwrite your old version with the new one).

Changes are:
1. Bugfix for .mnu items in MainMenu when FastLoad enabled (didn't show in menu on reboot!)
2. Some batch files did not load using insmod because grub4dos has a 8.3 filename limitation on any file loaded by insmod.  This means quite a few \grub\*.g4b batch files have been renamed to 8.3 or shorter so they can be loaded into memory.
3. Can now have up to 10 XP ISO files of any name you like listed in the XP menu.
    To do this copy the \_ISO\E2B\MYXPISOS.g4b file to the \_ISO\Windows\XP and edit it.
    There are 10 sets of these lines. Just change the ISO filename and title to match your ISOs.

    set TXP1=XP PRO SP3 (32)
    set XP1=XPPROSP3.iso

Note: There have been quite a few changes, so this may have a few bugs that I have not yet found!


BETA32 can be downloaded here

Tuesday, 30 April 2013

RMPrepUSB v2.1.702 now formats as exFAT and is grub4dos bootable

I have added an exFAT radio button to RMPrepUSB. You can format with a BOOTMGR bootsector or a GRLDR bootsector. This means that you can boot grub4dos directly from an exFAT volume if you prepare it with RMPrepUSB.
RMPrepUSB uses the Windows format dlls, so you need XP with the exFAT update installed, or Vista SP1 or later versions of Windows.

Easy2Boot BETA22 v2 now available

Just a small change to runwinnt.cmd (installl XP using WinPE ISO) so that a free drive letter is always used (e.g. Z:). If you are likely to have more than 8 drives in the system that you boot it on (e.g. several HDDs and partitions + maybe a 5-slot card reader) then please update your version of Easy2Boot.
Download here.

Sunday, 28 April 2013

Easy2Boot v1 - BETA22 now available

Spanish KBD layout file added
XP install from WinPE modified - can now choose folder where PE ISO is located and can skip partition format and install to an existing (active, primary) partition.
download BETA22

Friday, 26 April 2013

Easy2Boot v1 - BETA21 now available

BETA21 adds a new XP install method.

This uses TWO ISOs!

One is the XP ISO that you want to install, the other is a Vista, Win7 or Win 8 ISO.
It can be a Windows Install (DVD) ISO or just a WinPE (v2/3/4) ISO.

The system will boot to WinPE using the Vista/7/8 ISO and then mount the XP ISO and runs WINNT32.exe to install the files inside the XP ISO onto the pre-formatted hard disk.

You can specify a HDD partition size in the grub4dos menu (HDD0 is wiped)  or you can specify which partition you want to be formatted that is already present on HDD0 once it has booted. You can also specify an unattend.txt file to automate the XP install. This is all done from unmodified ISOs. The XP ISO does not even need to be contiguous!

Also, this is a 1-step process - you do not need to boot back into Easy2Boot again for Step 2.

Because Win7/8 PE has most drivers, there should be no issue with AHCI and mass storage drivers - as long as the drivers are integrated into the XP ISO you are installing (so no F6 to press).

Details are on the website page 72a.

BETA21 is at the very bottom of the page - download -> click here.

PLEASE report back with comments if you have tested this (especially if you have tried the new XP install using WinPE function).
Thanks
Steve

Wednesday, 24 April 2013

BETA20 now available - new neater folder structure


BETA20 has a changed menu structure which is now much tidier.
I have kept main folder as _ISO as this is useful for Zalman VE200/300 owners. So everything is now under \_ISO.

The \winvblock folder is not needed (AFAICT - not sure why it was in there to start with!!!).

root files
\autounattend.xml
\grldr
\menu.lst

folders
\_ISO\AUTO
\_ISO\MAINMENU
\_ISO\MNU
\_ISO\WINDOWS
\_ISO\E2B
\_ISO\E2B\docs
\_ISO\E2B\firadisk
\_ISO\E2B\grub

The location of the grub folder is configurable if you edit the \menu.lst file, but the location of the firadisk folder and \_ISO folder is fixed, so there is little point in moving the grub folder.

If you want test it out, click BETA20.

P.S. Whilst testing, I found that the autounattend.xml in the root of the flash drive had a problem and the symptom was that Win8 did not run LOADISO.cmd and the blue console windows did not appear, resulting in a 'need CD driver' message. This issue was reproducible, but went away when  I edited the firadisk\auwin8.xml file again (it had been edited to change the file paths).
If you are testing any Vista/7/8 installs and the blue 'LOAD WINDOWS ISO USING FIRADISK' console window does not appear before Setup runs - check the \Autounattend.xml file on the flash drive - in my case the KEY had not been replaced correctly resulting in <KEY12345-AAAAA-BBBBB-CCCCC-DDDD-EEEEE instead of <KEY>12345-AAAAA-BBBBB-CCCCC-DDDD-EEEEE.

Please let me know if you have tested it (especially with windows installs) so I can feel more confident about releasing it and updating the website with the changes...

Tuesday, 23 April 2013

Easy2Boot BETA19 now available

Dowload BETA19
You can now define the text that appears in the Main Menu for the AUTO, MNU and Windows Install menu entries, and also define the titles of these menus and the default menu item for each in the menu.lst file.
Copy the \grub\menu.lst file to \grub\mymenu.lst and edit it to your own preferences.
The colour of the help text at the bottom of the screen will now be in the same colour as the Menu headings (was always cyan).
If you have made your own mymenu.lst, please make a new one using the new menu.lst file as it has all the extra settings.

I think I am getting near to removing the 'BETA' status now. The full release version will be v1.0.

If you have any suggestions, bug reports or comments please let me know now!

v2. 2013-04-23 Bug found in Win8 menu in first version of BETA19 - please re-download to get version 2 of BETA19.
Also mainmenu.mnu file changed back because the default menu numbering is mucked up by the gaps in the menu!
v3 2013-04-24 Mainmenu.mnu changed so you can delete the \_ISO\MNU and \_ISO\AUTO folders and the menu items for these will not be listed in the Main menu.

Monday, 22 April 2013

Easy2Boot V1 - BETA18 available

Mainly changes and bug fixes to Windows menus.
Win8 now has a menu for an ISO which has a modified EI.CFG (the ISO does not requires a key to be entered before installation) - so this can be used for an All-in-One modified Win8_NOKEY.iso.

The Choose any Win8 ISO menu entry now gives you the choice of 5 keys, or you can enter your own key or you can say that a Product Key is not required (for those ISOs which have a modified ei.cfg file).

Download is on Tutorial 72a page as usual.

Sunday, 21 April 2013

Easy2Boot V1 - BETA17 available

Please visit Tutorial 72a to get the latest version

The first item in the menu is now always:

Set default menu item and timeout

This allows you to set the selected high-lighted menu entry on loading and to set a timeout to have it automatically run if desired. A timeout of 0  (immediate boot) is not allowed, so if the user enters 0 then the timeout is switched off.
I have also changed the FASTLOAD menu entry so it just reloads the menu system - it does not reboot any more which should make it faster to reload!


Friday, 19 April 2013

Easy2Boot V1 - BETA16 available

If you rarely change the contents of the Easy2Boot USB drive, you can enable FASTLOAD to greatly speed up the loading of the first Main menu.

The download is here.

To turn on FASTLOAD cacheing, rename the file \FASTLOAD.NO to \FASTLOAD.YES

When you do this and reboot, the Main Menu will be cached (into \grub\FASTLOAD.MNU). From then on the cached Main menu will be used every time you boot. So if you add any more ISO files or change the payload or .mnu files on the USB drive in the \_ISO\MainMenu folder you will need to refresh the menu.
To Refresh the menu cache, choose the last menu item in the main menu (see screenshot) and it will reboot and refresh the cache.

This means that for everyday use, the Easy2Boot drive will boot much more quickly, but you do need to remember to Refresh the drive whenever you change the contents.
The Menu title will have 'FASTLOAD' after the version to indicate that you are in FASTLOAD cacheing mode.
To disable the mode, rename \FASTLOAD.YES to \FASTLOAD.NO.


P.S. Also added a persistent kali .mnu file in the \docs folder so you can boot from Kali direct from ISO with persistence.

  • I have made a few tweaks to improve speed - before it took 24 seconds to boot to the main menu with over 30 payload files, now it takes 22 seconds! Please re-download  BETA16  v2 or later.
  • .isogz support added in BETA16 v3  (13 April 2013  11:16 in Tutorial 72a) v3
  • small fix for FASTLOAD added to version again and again! - see BETA16 v4!
  • Added support for defining Heading colour in \grub\menu.lst - v5
  • Bugfix - please update to v6!

Wednesday, 17 April 2013

Easy2Boot V1 - BETA15 released


  • Improved the Windows Install menus. 
  • Added support for XP Pro Volume licence and XP Enterprise ISOs. 
  • Vista/7/SVR2K8R2/8/SVR2012 now can have any number of ISOs and you can type in the name of the ISO you want.
  • Tutorial 72a has been updated.

Saturday, 13 April 2013

Easy2Boot V1 - BETA14

now has new extension of .isowinvH  for Hirens boot ISOs.

Easy2Boot V1 BETA13 - keyboard mapping adding to support non-US keyboards

You can now add a grub4dos batch file to change the keyboard mapping to work with UK, German, French, AZERTY, QWERTZ or Japanese 106 keyboards. Simply copy one of the KBD_xxxxxx.g4b files in the grub folder to make a file called KBD.g4b and it will be used to change the key code mapping.
If you find any probkems with the mapping or have new mappings, please let me know (or better yet, send me your own working KBD_xxx.g4b file!).

Thursday, 11 April 2013

Easy2Boot V1 BETA11 now available

The various Linux folders needed to be Linux (capital L) and not LINUX (all uppercase) to match the .mnu files. New .mnu files added to support persistence with some linux ISOs.
Click here for the new version.

It has a demo of how to add various DOS floppy images, linux isos, ERDCommander, KonBoot floppy image, plop iso, Norton Ghost iso, BartPE ISOs, StartOS ISO with persistence, Full Monty from ISO with persistence and BackTrack 5 from ISO with persistence - all on the same USB drive (plus, of course, any Windows install ISOs and linux ISOs that you have room for!).


Tuesday, 9 April 2013

I have made some small changes to BETA10 so that you can use an iso or folder with spaces in the name. The download link is here. As there are only small changes it is still called BETA10 but is version 3.

Monday, 8 April 2013

Easy2Boot BETA10 now available

I have changed the folder structure and function yet again!  You can now place almost any payload file (not just .ISO files!) in certain folders and they will be automatically listed in the menu and run according to their file extension.

\_ISO\MAINMENU - holds payload and mnu files that will be listed in the main (first) menu
\_ISO\AUTO - holds payload files that are listed by the AUTO menu
\_ISO\MNU - holds those payload that need mnu files and that are difficult to boot directly
\_ISO\WINDOWS - holds Windows installation ISOs



This menu shows the file ERDCommander.isowinv  - the .iso extension has been changed to .isowinv so that WinVBlock will be loaded as a floppy disk image at the same time as the ISO is loaded as a CD. This allows ERDCommander to boot successfully.

A list of extensions that are recognised by Easy2Boot can be found on the Tutorial page.

Take a look at the file \grub\QRUN.g4b to see what actions will be used for each type of file extension.

Let me know if any are missing...


For item 7, I added a MEMTEST.txt file containing the text:
title MEMTEST using MAINMENU\\UTILITY\n Run MEMTEST from %MFOLDER%/UTILITY/MEMTEST.IMG
so that this line is used as the title line instead of just the name of the payload file (MEMTEST.img).



Friday, 5 April 2013

Easy2Boot BETA09 now available

This new version adds a new Quick Test menu item. It can be removed by simply deleting the \mainmenu\qtest.mnu file if you don't want it.
The MainMenu folder allows you to drop only ISO files in, but the QTEST folder allows you to drop any type of file in it (including ISO files) and test it.
If you have a file (bin,ima,zip,img,gz etc) that you want to quickly test, just copy it into the \QTEST folder.
It will be listed by the Quick Test menu option and then executed according to it's file extension.
This allows you to quickly test all types of executable self-boot files without needing to add a grub4dos menu. For more details, see here.

If you wish, you can modify what file extensions are recognised and what grub4dos commands are used on each type by editing the \grub\qtest.g4b file.  For example:


:.bin
kernel (bd)/QTEST/%1 
exit

is the code that will execute on any .bin file. If you want to add another extension type (e.g. .binss), simply add another entry - e.g.


:.binss
echo This is my special version && pause
kernel (bd)/QTEST/%1 
exit


Saturday, 30 March 2013

RMPrepUSB 2.1.664 available

This new version has extra options to install a Bootmgr or Ntldr bootloader to a FAT32 or NTFS partition. You can also install an MS-DOS bootloader to a FAT16 partition (but not FAT32). It uses RMBootSect.exe which is also a vb6 program.


Wednesday, 27 March 2013

Easy2Boot v1 BETA08 available




BETA08 now available. A few changes:
  • new grldr and wenv
  • does not re-count all Windows iso files every time you go back to the main menu thus making the loading of the main menu slightly faster when going back to it 
  • You can now use a USB hard disk to install windows direct from windows isos - IF you also connect a USB flash drive with two files on it. 
  • Black console background used instead of brown 
  • Help doc changed to html and reduced (main doc now on RMPrepUSB site Easy2Boot V1 page.) 
  • When asking for name of Windows ISO, you must now type in the full filename (i.e. with the .iso extension) 

Has anyone tested any Windows 8/2012 install ISOs yet?

Sunday, 24 March 2013

RMPrepUSB v2.1.663 available

Captain-Midnight noticed that some of the text in RMPrepUSB was too large when viewed on his 1920x1080 display (see screenshot below). The new version 663 fixes this by using a TrueType Sans Serif font instead of the fixed font.

screenshot1.jpg

I have also added another English.ini language file. I noticed that Hirens DLC1 MiniWin7 did not display some of the text in the RMPrepUSB form at all (it just showed underscores ______). Changing the Character Set from 238 (European) to 204 (Cyrillic) fixed this, so I have added an English204.ini file. Some other European language.ini files also have this problem, so you might like to change the ini file for your language to charset=204 if you see this issue.

RMPrepUSB improves flash write speed on FAT32 volumes

As I have changed the FAT32 code slightly to cater for large (up to 2TB) drives, I wanted to check that the flash write speed improvements still work.
I used XCOPY to copy small files from an XP i386 folder to the flash drive.
I formatted it using either Windows or RMPrepUSB 2.1.662.

Results were:
File copy to Windows 7 FAT32 formatted volume:   784 seconds
File copy to RMPrepUSB FAT32 formatted volume: 695 seconds

for comparison: NTFS: 132 seconds!

This shows a 12% improvement in write speed to a USB Lexar flash drive formatted as FAT32 by RMPrepUSB, compared to the same drive formatted using Windows (results repeated twice and averaged)

I used this command to time the file copy to the flash drive.
timecmd xcopy "c:\sources\XP SP2\i386\a*.*" f:\ /herky

where timecmd.bat contained this code:

@echo off
@setlocal 

set start=%time%

:: runs your command
cmd /c %*

set end=%time%
set options="tokens=1-4 delims=:."
for /f %options% %%a in ("%start%") do set start_h=%%a&set /a start_m=100%%b %% 100&set /a start_s=100%%c %% 100&set /a start_ms=100%%d %% 100
for /f %options% %%a in ("%end%") do set end_h=%%a&set /a end_m=100%%b %% 100&set /a end_s=100%%c %% 100&set /a end_ms=100%%d %% 100

set /a hours=%end_h%-%start_h%
set /a mins=%end_m%-%start_m%
set /a secs=%end_s%-%start_s%
set /a ms=%end_ms%-%start_ms%
if %hours% lss 0 set /a hours = 24%hours%
if %mins% lss 0 set /a hours = %hours% - 1 & set /a mins = 60%mins%
if %secs% lss 0 set /a mins = %mins% - 1 & set /a secs = 60%secs%
if %ms% lss 0 set /a secs = %secs% - 1 & set /a ms = 100%ms%
if 1%ms% lss 100 set ms=0%ms%

:: mission accomplished
set /a totalsecs = %hours%*3600 + %mins%*60 + %secs% 
echo command took %hours%:%mins%:%secs%.%ms% (%totalsecs%.%ms%s total)


Thursday, 21 March 2013

RMPrepUSB v2.1.662 FAT32 up to 2TB!

Version 2.1.662 can format up to 2TB  (not recommended!) as FAT32.
RMPrepUSB was designed for USB flash drives (removable drives) and may have trouble unlocking a hard disk in use by Windows and so may fail the first or second time you try to format a USB hard disk. Just re-try the operation. If that fails, then use the Clean button and then click 6 Prepare Drive.
Also, if you have a USB hard disk with multiple partitions, RMPrepUSB will only list the first drive volume letter in the list box, but of course, will wipe and format the whole drive if you use the 6 Prepare Drive button.
Two new edit functions have been added to the Edit tab, Edit /grub/menu.lst  (CTRL+F4) and Edit /boot/grub/menu.lst (SHIFT+F4).

Wednesday, 20 March 2013

RMPrepUSB - FAT32 bug found!

I found a funny issue with what I thought was caused by grub4dos today, but it turned out to be an issue with the way RMPrepUSB formats a FAT32 volume!

I noticed that if I copied more than 126 or so files to the root of a USB stick prepared using RMPrepUSB as FAT32, then I could not access any file that I added to the USB stick under  grub4dos (even though they were accessible from Windows). At first I thought this was a grub4dos bug, but when I formatted the same USB stick using Windows, it all worked fine.
I also found a fat32formatter.exe utility which also worked fine. The problem was clearly in RMPartUSB (which actually does the formatting). After a few hours, I eventually tracked down the problem.
You can read about the saga here if you want more details.
The bug is fixed in RMPrepUSB 2.1.661. So if you copy lots of files to the root of your grub4dos USB drives that were prepared using RMPrepUSB, you might want to reformat them with the new versions!
The bug has been there since day 1!

Sunday, 17 March 2013

Easy2Boot BETA07 available

Few changes to Win 7 install menu. You only need update if use Win7 ISOs.
See Tutorial 72a for download and instructions.
A .mnu file has been added for Fedora with persistence (in docs\samples folder) (you need to extract files from the ISO to get persistence working, otherwise just drop the Fedora ISO file into the \mainmenu folder as usual).

Saturday, 16 March 2013

Easy2Boot BETA06 now available


BETA06 available.

Changes are:
1. /menu.lst file now re-instated - it calls /grub/menu.lst. If there is no /menu.lst file then grub4dos displays a black&white default menu for a short while which looked naff!
2. /grub/menu.lst now has all user settings at the top. Copy this file to /grub/mymenu.lst and then edit the settings. More settings are configurable now.
3. To add your own wallpaper, just add a /grub/MyBackground.bmp file - make sure it is exactly 640x480 or 800x600 and 24 bit colour. If any problems, edit your mymenu.lst to set the correct graphics mode.
4. bugfix in addisostomainmenu.g4b - it blew down below the /mainmenu folder and added extra isos to the menu!
5. patchme - this is a grub4dos batch file which will patch grub4dos on your USB stick to remove those pesky signon/debug messages. Instructions are in readme in the download.
6. doc here revised.


Friday, 15 March 2013

Easy2Boot Beta05 available

This new version Beta05 is more configurable for the user.
The menu now can be re-sized and re-positioned (same size is used for all menus).
Please read the html documentation in the \docs folder for details.
I have included all the .mnu files which might be needed in the \docs\samples folder - this saves having to download them.
The user can make his own menu changes by making his own \grub\mymenu.lst file (which is copied from the menu.lst file and then edited slightly). The user can then change mymenu.lst to change the colours, menu position and size, menu heading, bottom cyan text or re-order the menu items to list ISO files last rather than first.
This means that when you update Easy2Boot in the future (with Beta06 tomorrow!), you won't lose your changes - as your mymenu.lst file will not be overwritten and will be used instead of the default menu.lst file.
Some small text tidying has also been done.

Note: small bug in BETA05 (it lists iso files in subdirs under \mainmenu) -

To fix it
edit  /grub/addisostomainmenu.g4b and add :: as follows to four lines

:sub-dir
if "%DD%"=="1" echo @SUB_DIR %1
::setlocal
::set DIR=%DIR%/%1
::call :cpa
::endlocal
shift
goto :copyfiles

will be fixed in BETA06 soon...!



Thursday, 14 March 2013

Easy2Boot V1 BETA04 available

This version does not list the Windows Install and AUTOISO menu entries in the main menu unless you actually put some ISO files in those folders. It also counts the ISO files in each Windows folder (see screenshot) and does not list ones that are empty.
There is a brief html manual in download.




click here for direct download

Wednesday, 13 March 2013

Easy2Boot v1 BETA03 available

Some tidying up, html doc added, menu.lst moved to \grub folder, ISO files are listed first in Main Menu now (you can change the order or specify your own order - read the html in the download for help).

Tuesday, 12 March 2013

Easy2Boot BETA02

I have modified the Easy2Boot Beta, now BETA02 is available.

The first menu is now dynamic and built up from the contents of the \MAINMENU folder. You can place .mnu files and .ISO files in the \MAINMENU folder and they will be listed in the first menu.

Please note: This version is intended to be used on a flash drive and on a real system. Linux ISOs and Windows Vista/7/8 installs won't work correctly under an emulator or if run from a hard disk.

The first (main) menu is currently:

Boot from ISO (AutoISO)   - any ISO file in the \AutoISO folder is listed by the next menu - comes from \mainmenu\Auto_menu.mnu file
Easy2Boot                           - launches the Easy2Boot menu - .mnu files under \_ISO will compiled into an Easy2Boot menu - comes from \mainmenu\easy2boot.mnu
Boot to first internal HDD    - this comes from the \mainmenu\firsthdd.mnu file which can be deleted if not wanted
Install Windows                   - comes from \mainmenu\installwindows.mnu
 xxxxxxx.iso                        - any iso file in the \mainmenu folder is automatically listed in the main menu
yyyyyyyy.iso                        - any iso file in the \mainmenu folder is automatically listed in the main menu

I have debugged some more of the install windows menus too.

To use Easy2Boot  v1 Beta02, you just need to:
1. add Windows install ISO files to the correct folders under \_ISO\Windows and name them correctly (the filenames are indicated in each folder). For Win8/svr2012, the product key can be entered or you can edit the menu to add your own product key or you can use a default dummy key which will not activate.
2. add your favourite bootable ISOs to the \mainmenu folder,
3. add any other ISOs to the \AutoISO folder
4. add any other payloads+.mnu files, downloaded from the Easy2Boot tutorial, to the relevant folders under \_ISO (the entries will be listed by the Easy2Boot 2ndary menu). These will be the odd ones that don't work just by copying them to the \AutoISO or \MainMenu folder.
If you want them listed in the main menu instead, simply copy the .mnu file to the \mainmenu folder (or make your own .mnu file) and copy the payload file to the \mainmenu folder instead of the \_ISO folder - e.g.
if you have fred.mnu and fred.iso which are supposed to go in \_ISO\Utility folder, you can move both to the \mainmenu\utility folder.

The order of the menu items in the main menu is determined by the order that the \mainmenu\xx.mnu files were written to the USB drive. This cannot be changed unless you re-write the same .mnu files again. If you want the order to be pre-determined, you could combine all the \mainmenu\xxx.mnu files into one single large .mnu file - or  - edit the \grub\main.mnu file so it contains all the menu entries you want.


Monday, 11 March 2013

New Easy2Boot BETA



Once made (install onto fresh USB FLASH drive (Vista+ OS installs will not work if on an HDD) and then install grub4dos using latest RMPrepUSB), the following Optional files can be added:
Add XP Pro and Home SP2 and SP3 install ISOs to \_ISO\Windows\XP folder to install XP
Add Vista 32 and 64 ISOs to \_ISO\Windows\Vista folder to install Vista
Add Win7 32&64 generic&Enterprise ISOs to \_ISO\Windows\Win7 folder
Add SVR2K8R2 ISOs to \_ISO\Windows\SVR2K8R2 folder
Add Win8 32&64 generic&Enterprise ISOs to \_ISO\Windows\Win8 folder - for generic ISO, you will be asked if you want Consumer or Pro and a dummy Product key will be provided or you can enter your own key.
Add SVR2012 ISOs to \_ISO\Windows\SVR2012 folder - not yet tested as I don't have a full copy!

In addition, if you have clonezilla, acronis rescue, Kasperksy, UBCD etc. ISO files - just copy these and any other LiveCD ISOs you fancy into the \_ISO\AUTOISO folder.

You can still add .mnu files in the same way as before.
Make sure to run WinContig to make the ISOs contiguous (use RMPrepUSB - Ctrl+F2).

Feedback welcome - I have not yet tested the following ISOs:
XP SP2
Win7 64
Win7 ent
Win8 64
Win8 ent
SVR2K8R2
SVR2012

I have tested
XP SP3
Vista 32 SP1
Win7 32 SP1
Win 8 32 (Consumer+Pro)
clonezilla, acronis rescue, Kasperksy, UBCD ISOs (just copy into AUTOISO folder)
memtest86+, freedos fdd image

Follow it's development on the reboot.pro forum here.

Saturday, 9 March 2013

YouTube RMPrepUSB and grub4dos videos now available

Despite suffering from a cold, I managed to get the following videos up onto YouTube:



Part 1            - Basic USB formatting with RMPrepUSB
Part 2a and b - Advanced features of RMPrepUSB
Part 3a and b - Making a multiboot grub4dos drive using RMPrepUSB

Each one is about 15 minutes long (max allowed!).

Part 1

Part 2a

Part 2b

Part 3a grub4dos

Part 3b grub4dos  cont.


Macrium Reflect Free Edition provides easy way to generate WinPE

Tutorial 107 describes how to create a WinPE bootable ISO without needing to type anything on the command line or do anything more complicated than click a few buttons.
It uses Macrium Reflect Free Edition to build a nice Windows PE (v3 SP1) bootable ISO which you can then add to your multiboot grub4dos USB drive.
It will also make backups or restore your hard disk and fix boot problems too!


Thursday, 7 March 2013

RMPrepUSB v2.1.659 now available

This version has a few tweaks and the latest version of grub4dos (grldr).
One new feature - make a grub4dos bootable ISO from a grub4dos bootable drive. This allows you to build and test your grub4dos multiboot system using a USB flash drive (for instance) and then when you are happy with it, you can convert it to an ISO file, test it using RMPrepUSB Boot from ISO, and if all is OK, burn the ISO to a CD or DVD (using external burn s\w).
Also, 'How to use RMPrepUSB' videos are now on YouTube.
http://www.rmprepusb.com/tutorials/video-tutorials - part 1, 2a and 2b.
Part 3 will be about grub4dos (when I get the time!).
If there is anything you would like me to cover in it, let me know!


Tuesday, 5 March 2013

Wednesday, 27 February 2013

Sample grub4dos menus

I have made available a few sample grub4dos menus here. This allows you to test out different resolution bitmaps on diffferent systems.
Some include example uses of the menusetting utility which changes the size and position of the menu on the screen. One also loads the UniFont font file for you to view it's affect.
Note that some of the files are in UTF-8 format as they contain unicode characters (e.g. Chinese).



Saturday, 16 February 2013

Boot pclinuxos from an iso with persistence

pclinuxos can be booted from an ISO file, however it will not boot if the ISO file is on an NTFS USB drive (it cannot find the cdlive.sqfs file). In addition, persistence will not work unless an ext2/3 partition is available.
However, by using the grub4dos partnew command and mapping the iso to one partition on the USB drive, and an ext2 file to another partition on the USB drive, we can boot pclinuxos from an ISO with persistence.
To see how to do this have a look at Tutorial 104.


Saturday, 9 February 2013

A Puppy is not just for Xmas!

I have added a .mnu file for the Easy2Boot project for Puppy Linux Precise 5.4.3 with persistence.
Just add the ISO (named precise-5.4.3.iso) to your Easy2Boot's \_ISO\Linux folder and then add the .mnu file.
When you first boot Puppy and then Exit, it will prompt you to save settings to a file at the root of the USB drive. It will also prompt you to copy the .sfs file from 'CD' to the USB drive - you should answer No to this as there is no speed advantage. When you next boot Puppy, your new settings will also be loaded.

Easy2Boot Tutorial #72.See here for a forum discussion. 

v2.1.657 - File Info function updated to display boot sector info

If you use Drive Info in RMPrepUSB to read sectors from a disk, if it is recognised as an MBR or PBR, the internal values will be parsed and displayed for you in Notepad. However, the File Info function in RMPartUSB only displayed MBR values if it detected a valid MBR but did not display PBR values. v2.1.657 fixes this. Now you can use File Info to display the hex data in a bootsect.dat PBR file, for instance, and it will parse the BPB for you - e.g.


COMMAND LINE: FILE="F:\bootsect.dat" FILEINFO FILESTART=0 SURE 

FAT32
000B Bytes Per Sector = 512 (0200h)
000D Sectors Per Cluster = 8 (08h)
000E Reserved Sectors before first FAT = 32 (0020h)
0010 Number of FATs = 2 (02h)
0011 Root Entries = 0 (0000h)
0013 Total Log Sectors (small) = 0 (0000h)
0015 Media Descriptor = 248 (F8h) HDD
0016 Sectors per FAT table = 0 (0000h)
0018 Sectors per Track = 63 (003Fh)
001A Number of Heads per Cylinder = 255 (00FFh)
001C Hidden Sectors preceding Partition = 63 (0000003Fh)
0020 Total Log. Sectors (big) = 16203713 (00F73FC1h)
0024 Log. Sectors per FAT = 15794 (00003DB2h)
0028 Mirroring Flags = 0 (0000h)
002A Version No. = 0 (0000h)
002C Cluster No. of Root Dir Start = 2 (00000002h)
0030 Log. Sector No. of FS Info Sector = 1 (0001h)
0032 First logical sector number of a copy of the three FAT32 boot sectors, typically 6 = 6 (0006h)
0040 Physical Drive Number = 128 (80h) First Fixed Disk
0042 Extended Boot Signature = 41 (29h)
0047 Volume Label = NO NAME    
0052 FileSystem Type = FAT32   

First FAT begins at LBA 95
Second FAT begins at LBA 15889
Root Directory begins at LBA 31683
First file data (cluster 0) begins at LBA 31691

Thursday, 7 February 2013

WinToFlash or WinToSlug?

A recent post on reboot.pro complained that a USB flash drive that was prepared for XP installs using WinToFlash, worked well on one system, but would not boot on another and gave an 'NTLDR is missing' error.
I decided to try WinToFlash with an XP install ISO for myself. The first thing I found was that when using the default settings, when I used a USB flash drive created by WinToFlash, the first text mode XP install copy files phase took over 70 minutes!
It turns out this is due to FAT32 being used by WinToFlash for the USB drive format. If this is changed to FAT16LBA, then the 2GB volume created on my 8GB USB drive, when booted will install the same XP files in just 7 minutes.
I also found that if I reformatted the same USB drive as 8GB NTFS and used grub4dos to launch setup, the same install phase takes just over 4 minutes.
To learn how to make the NTFS WinToFlash drive, read Tutorial 102.
By using NTFS, it also removes the 'NTDLR not found' issue - although I have also given details of how this can be avoided even if you 'stick' (pardon the pun!) to FAT.

Saturday, 2 February 2013

Xiaopan - boot from ISO on USB

A new tutorial has been added on how to add Xiaopan to a grub4dos multiboot USB drive here.

It dynamically finds and uses the UUID of the volume and can also use a 'persistent' data store.

The tutorial was written after a few hours of experimentation in response to a plea from reboot.pro forum member Hexley Darwin.

Saturday, 26 January 2013

Using the SHIFT key to modify the behaviour of a grub4dos menu entry


If you have linux in your grub4dos menu.lst, you often need two entries, one for normal mode and one for safe mode so that you can boot on 'difficult' hardware.

This solution allows you to just have one menu entry but you can hold down SHIFT when you hit Enter to use safe mode parameters.

For this you need the bios utility on your drive (in this case in the root of the boot drive).You could also test for Ctrl or Alt and some other keys.

Note some lines are long and run over - use cut and paste!

title Run Linux\nPress SHIFT+ENTER for safe mode 
/bios int=0x16 eax=0x00000200 > (md)0x300+1
cat --skip=12 --length=2 (md)0x300+1 | set /a n=0x > nul 
set /a n=%n% & 0x03 > nul && if %n%>=1 echo SHIFT PRESSED! 
#LShift=01,RShift=02,CTRL=04,ALT=08,SCROLL=10,NUM=20,CAPS=40,INS=80 
#set /a n=%n% & 0x04 > nul && if %n%>=1 echo CTRL PRESSED! 
set sf=
if %n%>=1 set sf=acpi=off irqpoll noapic noapm nodma nomce nolapic nosmp 
kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper %sf% splash 
initrd /casper/initrd.img



Bios Int 16 ah=2 reference here

NOTE: was...
/bios int=0x16 eax=0x00000200 > (md)0x300+1 && cat --skip=12 --length=2 (md)0x300+1 | set /a n=0x > nul

the 2nd half of the line is only executed if the BIOS returns non-zero. So && should not be used in this case.

Wednesday, 23 January 2013

WinContig version updated in RMPrepUSB

RMPrepUSB now uses a later version of WinContig to make all files on a USB drive contiguous. I have had it crash on several occasions when running on my USB FAT32 flash drives. The new version seems much more stable. 

Monday, 21 January 2013

Fix 'Error 60 - File not contiguous'!

You have probably come across this error message from grub4dos. It occurs when the file that it is trying to use is not contiguous.

To fix this you can run RMPrepUSB and select the USB drive and press Ctrl+F2 to run WinContig and defragment all files on the drive.

Making all file contiguous on a drive is not the same as defragmenting the drive. Defragmenting a drive shifts all the files to the beginning of the drive but often does not make all the files contiguous. WinContig does not shift the files if they are already contiguous and so WinContig is quicker and more effective than defragging the whole drive using a defrag utility.

Note: WinContig, Defraggler and other similar utilities usually need a contiguous run of free clusters on a drive so that they can copy the file into that contiguous space. Even after you run WinContig/Defraggler, you may not be able to copy over another large file and make it contiguous (even though there is enough free space on the drive) - see this post for details. Defraggler has an option to 'Defrag Free Space' which will fix this problem.

        This Defraggler map shows that the free clusters are not in one contiguous block. See here for more details.

To make a file contiguous,WinContig has to create a new file that is contiguous before it can delete the old non-contiguous file. Thus we need some contiguous free space on the drive that is the same size or larger than the size of the file we are trying to defragment. So for a 3GB file, we will need at least 3GB of contiguous free space on the same drive.

A file in a volume exists as a number of clusters (chunks of data). For example, a typical cluster size on an NTFS volume is 4K or 8 sectors. So a 10K file would occupy 3 clusters:

Cluster 1 = first 4K
Cluster 2 = 2nd 4K
Cluster 3 = 3rd 4K cluster (only first 2K of which has valid data)

These clusters can be anywhere within the volume. So they could be at cluster no 6,7 and 8 or they could be at cluster no. 3234, 44564 and 332!

A utility such as WinContig will rearrange the clusters within a file (if it can). So in the previous example, we might end up with the file consisting of cluster no.s  3234, 3235 and 3236 and so the file is contiguous and has sequential cluster numbers.

Recently, a user on reboot.pro had a problem. He had a 6GB VHD file on an 8GB NTFS-formatted USB drive. He ran WinContig but it would not make the file contiguous. Even copying the file to a freshly formatted 8GB NTFS drive did not work, the file was always non-contiguous.

It turns out that the reason for this is that when you format an NTFS volume, the Master File Table (MFT) is placed at the 3GB position within the volume (if the volume is over about 5GB). So on a freshly formatted 8GB volume, we have

(3GB of free space)
$MFT  (NTFS 'directory')
(4.7GB approx. of free space)

So we can see that there is no way we can store a 6GB sequential file with the MFT placed at the default 3GB position.

As the file is greater than 4GB, we cannot use a FAT32 filesystem (as FAT32 does not support files greater than 4GB).

You can see this if you use a utility such as Auslogics defrag tool which shows a map of the used clusters and what files occupy which areas of the disk.

Piriform's Defraggler is another good tool for displaying fragmented files and analyzing the file layout on a drive. It can also defragment individual files too (right-click in Explorer) and also offers to delete files in the Recycling Bin before defragging.

Alternatively, you can boot to grub4dos from the USB drive, go to the grub4dos shell (press c in the grub4dos menu) and then use the blocklist command to see how many fragments you have and where they are located - e.g.



So how can we make an 8GB USB flash drive containing a 6GB contiguous file?

Well, Wonko the Sane (from reboot.pro) came up with the idea of making a small NTFS volume and then re-sizing it (expand it), thus leaving the MFT in the same place (as it is not normally moved when resizing).

Here is how to make a bootable 8GB USB drive containing a 6GB contiguous file using the partitioning tool EaseUS Home Partition Master (EHPM):

1. Erase all ptns on the 8GB flash drive
2. Make a small 20MB NTFS PRIMARY ptn using EHPM - or RMPrepUSB if you want a special bootloader
3. Re-Size the ptn using EHPM to ALMOST the full drive capacity - e.g. 7.8GB
4. Now add a small 2nd FAT PRIMARY partition (this is to improve boot compatibility with some BIOSes - the ptn is not actually used)
5. Copy over your large 6GB file and check it is contiguous using WinContig.

If you have Vista or Win7/8, then you can use Disk Manager instead of EaseUS Home Partition Master.

The whole discussion can be found on reboot.pro here.

Having trouble still? See also my other blog article here.







Recommended: SanDisk Extreme Pro USB 3.1 (#ad)

Monday, 14 January 2013

Identify Unknown Devices in Device Manager

Came across a useful utility (UnknownDevices.exe  Dec 2012 version) by HalfDone which is intended to be run on a freshly-installed Windows system.

It looks at Device Manager (registry) entries and attempts to identify all the unknown devices which don't have drivers by using a database. It works on XP or later.
It also shows the Windows Product Key and lists a history of disk devices ever connected (inc. USB devices).
This is a useful addition for your toolbox!

As it relies on a database which needs to be updated as new hardware is released, you will need to get the latest version from the forum here.



Thursday, 10 January 2013

fun with grub4dos batch files!

I have written a few new batch files which can be called by grub4dos - see here.

FindFullFileName.g4b - finds the first file matching a full filename
FindFileName.g4b - finds the first file matching a filename (without extension)
FindFileExt.g4b - finds the first file matching a file extension
title FindFileExt on mapped HDD Image
map  (bd)/harddisk.img (hd2)
map --hook
root (hd2,0)
# look for a file with a .com extension - param1=start folder   param2=extension
(bd)/grub/FindFileExt.g4b / .com
if not "%FILEPATH%"=="" echo FILE FOUND AT %FILEPATH%! 
if "%FILEPATH%"==""  echo No file with matching extension found!
pause
root
(more commands here)
Please download FindFile.zip to obtain these batch files.