http://www.rmprepusb.com/tutorials/firawiniso <--- SOLVED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Method (for USB Flash drives)
1. Create a new folder on your hard drive called C:\WINFira
2. Download the zip file Tut43_FiraIso.zip from the Beta Downloads - Tutorials page and extract the contents to the C:\WINFira folder
Contents of Tut43_FiraIso.zip:
AutoUnattend.xml
Menu.lst
\FiraDisk folder
au.xml
firadi64.cat
iradi64.sys
firadisk.cat
firadisk.inf
firadisk.sys
LOADISO.CMD
slp.exe
spaces.txt
wenv (not used in this tutorial)
\i386\devcon.exe
\ia64\devcon64.exe
mysetup.cmd (not actually used - see Addendum below)
winpeshl.ini (not actually used - see Addendum below)
\ISO folder
Choose_an_iso
<<<<<<< (your iso files go here)
Note: these instructions also apply if you already have a bootable grub4dos disk, just extract the Tut43_FiraISO.zip contents onto it (note that it will overwrite your menu.lst though!) and copy all your ISO files to the USB drive and overwrite your grldr file with the recent one included in the latest version of RMPrepUSB v2.1.623 or later.
3. Now copy your Windows install ISO files to the C:\WinFira\ISO folder - Note: the iso filenames must NOT contain spaces!
You can download some Windows 7 ISOs from here. The Windows 8 Release Preview ISOs can be found here.
4. The sample menu.lst contains 5 (0-4) menu entries. The first menu entry is set to boot a fixed iso name. Just copy the first menu entry to make as many more as you like for all your ISO files. The second menu entry is merely to allow you to reboot to your hard disk after Windows has been installed onto it. The 3rd menu entry allows the user to choose which iso to boot to, by getting the user to type in the name of the iso that they want to use (note: does not work with Win8 ISOs). The last two menu entries are for Win 8 RP. You can delete any menu entries that you do not require.
New: Note that menu number 5 is not included in the download of menu.lst - this is a new menu which prompts the user for a Windows 8 Product Key before Windows Setup is run.
Edit the menu.lst and change the first line (title) and 3rd line (ISO filename) in each menu
5. Now prepare a USB Flash drive using RMPrepUSB (if you already have a bootable USB drive with grub4dos installed you do not need to do this - but you do the newish version of grldr)
Run RMPrepUSB (use v2.1.622 or later)
To wipe and format the USB drive (optional) - set the following options in RMPrepUSB:
1. MAX
2. (any volume name you like!)
3. WinPE v2/v3 (or DOS or FreeDOS or XP)
4. FAT32 or NTFS (or FAT16 but it has a 2GB limit) and also select the Boot as HDD option ('Boot as HDD' adds a small 2nd partition and makes the BIOS to boot it as a hard disk instead of a ZIP or Floppy drive and thus you don't get 'flashing cursor' on boot on some BIOSes - e.g. EeePCs!)
5. Tick Copy OS Files box and set the Copy Folder to C:\WINFIRA
6. Click Prepare Drive to format the drive and copy the files over
NOTE: Whether you already have an existing grub4dos USB drive or have just formatted one as detailed above, you need to install the latest version of grub4dos as follows:
6. Now click on Install grub4dos and choose Yes forMBR and hit Enter to copy across the grldr file. You need the correct grub4dos grldr file as this supports some newer grub4dos commands.
Contents of bootable grub4dos drive should now be:
AutoUnattend.xml
grldr (new 'chenall build' version as used by latest RMPrepUSB)
Menu.lst
\FiraDisk folder
au.xml
firadi64.cat
firadi64.sys
firadisk.cat
firadisk.inf
firadisk.sys
LOADISO.CMD
slp.exe
spaces.txt
wenv
\i386\devcon.exe
\ia64\devcon64.exe
\ISO folder
Choose_an_iso
(your iso files go here)
<<<<<<<<<<<<<<<<<<<<<<<<<<<<< (use short names if possible to avoid typing!)
***Name must have NOT space***
You may have problems using an emulator
+++You Should Test Boot With Real System+++
Link Removed
Fig. 43.6.4 IMPORTANT: you should see the blue Windows Command Shell window which installs the FiraDisk driver and then load the ISO file when Windows Setup starts. If you don't see this then it won't work! --->
Link Removed
============================================================================================
Method (for USB Hard Drives)
The auto-detection of \AutoUnattend.xml will not work if you use a hard drive (neither USB nor IDE/SATA) as a hard drive is not a 'removable' disk, we need to patch the ISO files themselves so that they will automatically run the LOADISO.CMD from the boot drive. To do this we need to copy the contents of the ISO file to an empty folder, modify the ISO file contents and then create a new version of the ISO file.
The guide below is for advanced users. I assume you already know how to mount images using ImageX (or DISM or GImageX) or can use similar tools. It is easiest to download and install theWindows 7 WAIK (over 1.3GB!). However, you can use Tutorial #83 to just download ImageX in about 30 seconds!
Please refer to my other tutorials (e.g. for WAIK and Virtual CloneDrive see Tutorial #1) for details on installing and using the WAIK.
1. Using your Windows 'office' system, Mount the ISO that you want to modify using ImDisk or Virtual CloneDrive or any suitable tool and extract all the contents to an empty folder on your hard drive (e.g. C:\TESTISO)
2. If you want to be able to install any edition of Windows (e.g. all Vista/Win 7 SKUs rather than just Professional), then delete the C:\TESTISO\SOURCES\EI.CFG file.
If you have Win8, you will need to change the ei.cfg file contents to:
[Channel]
_Default
[VL]
0
3. Run a WAIK command prompt as Administrator (found in the Start Menu after installing WAIK) and mount the C:\TESTISO\Sources\boot.wim file (use Imagex /info to determine the correct image number that you need to mount, usually this is Index #2 - but not always!). e.g.
IMPORTANT: Make sure you use the correct wim image number - it is not always 2!
imagex /info C:\TESTISO\SOURCES\boot.wim
(check what images you have by looking at the output)
mkdir c:\mount
imagex /mountrw C:\TESTISO\SOURCES\boot.wim 2 c:\mount
4. Now we just need to copy the two files to theC:\mount\windows\system32 folder - winpeshl.ini andmysetup.cmd. Use the ones in the \FiraDisk folder inside thetutorial download. Their contents are shown below just for reference:
Although these two files are located in the \FiraDisk folder inside the Tutorial #43 Tut43_FiraIso.zip download for your convenience, they are not actually used in booting and can be deleted from the\FiraDisk folder after copying them to the mounted ISO folder - if you wish.
5. Commit the changes and unmount the mounted image - e.g.
(close any Explorer windows which point at C:\mount first!)
imagex /unmount /commit c:\mount
imagex /cleanup
6. Create a new ISO file from the WAIK command prompt:
oscdimg.exe -b"C:\Program Files\Windows AIK\Tools\PETools\x86\boot\etfsboot.com" -u1 -d -h -m -lWIN732SP1 C:\TESTISO\ C:\Win732SP1.iso
(-l specifies the volume Label - note that the source path C:\TESTISO\ ends in a back-slash - however some versions of oscdimg may not like the final \ and you may get a 'usage' message - if so then remove the last backslash). The -u1(ISO9660) option ensures that the ISO is readable in both UDF and ISO 9660 (grub4dos readable) format - NOTE: when mounted by grubdos, all filenames will be uppercase - e.g. BOOTMGR not bootmgr. For maximum compatibility (e.g. with WinImage) you can also add -j1 for Joliet format (upper/lower case and long filenames).
6. Now follow the tutorial above but use this new ISO file.
7. (optional)
The Autounattend.xml file in the root of the USB drive is not required and can be deleted.
If you delete the AutoUnattend.xml file, you need also to change the menu.lst slightly and delete the lines that mention AutoUnattend.xml, otherwise the grub4dos menu will give an error as the file will no longer exist.
8. The new ISO should allow you to install any edition of Windows that is contained within the Install.wim file. You can also use the same files on a USB Flash drive if you wish.
Note: MySetup.cmd can run different versions of Setup.exe
X:\Setup.exe will run Setup and offer the Repair Operating System option.
%RAMDRIVE%\Setup.exe and \Sources\Setup.exe will go straight to the 'Install Windows' GUI and will not allow the user to Repair Windows.
If you do not want the Repair option offered, you should comment out the line shown in purple in MySetup.cmd (i.e. place a double colon :: in front of it - or delete the line).
To remove the Repair Y/N question, delete the following lines from the Firadisk\Loadiso.cmd file
if not exist X:\sources\recovery\startrep.exe goto :SKIP_REPAIR
echo.
echo ********* REPAIR WINDOWS? **************
echo.
set /P ASK="Do you want to try to repair Windows (Y/N)? : "
if /I "%ASK%"=="Y" start /w X:\sources\recovery\startrep.exe