color light-gray/black red/black dark-gray/black white/white
timeout 300
default /default

title                        - - - = = = MICROSOFT WINDOWS INSTALLERS = = = - - -
root

iftitle [if exist /ISO/WXPPROSP3VL32HUN2014.iso] MS-Win XP Professional Service Pack 3 32-bit VL (HUN) 2014.05 PHASE 1\nPHASE 1 (Remember to select both AHCI driver AND FiraDisk driver)
find --set-root --ignore-floppies --ignore-cd /winvblock.ima.gz
map --mem /winvblock.ima.gz (fd0)
map --mem /winvblock.ima.gz (fd1)
map --mem /ISO/WXPPROSP3VL32HUN2014.iso (0xff)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
root (0xff)
chainloader (0xff)/i386/setupldr.bin || chainloader (0xff)/I386/SETUPLDR.BIN || chainloader (0xff)
pause If you have an AHCI HDD you MUST press F6 when prompted, then hit S to select WinVBlock or FiraDisk (recommended) driver, then hit S again to select your AHCI driver (e.g. Atom Netbook=WinVBlock+ICH7R/DH, DQ67 series 6=FiraDisk+Desktop,Workstation,Server Express) ...Press ENTER to countinue, and then press F6 if needed...

# note: --mem is used first - if not enough memory then retry try without loading iso into ramdrive (but may get BSOD)
iftitle [if exist /ISO/WXPPROSP3VL32HUN2014.iso] MS-Win XP Professional Service Pack 3 32-bit VL (HUN) 2014.05 PHASE 2\nPHASE 2 (Setup will complete the install and reboot from the hard disk)
find --set-root --ignore-floppies --ignore-cd /winvblock.ima.gz
# we must load the ISO into memory, so it will be slow to load here ...
map --mem /ISO/WXPPROSP3VL32HUN2014.iso (0xff) || map /ISO/WXPPROSP3VL32HUN2014.iso (0xff)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
rootnoverify (hd0,0)
chainloader (hd0)+1
pause Press ENTER and then unplug this USB drive...

iftitle [if exist /ISO/W7AIO32HUN1501.iso] MS-Win 7 AIO SP1 32-bit\nThis will install Microsoft Windows 7 All-In-One SP1 32-bit to your hard disk
debug off
set MYISO=W7AIO32HUN1501.iso
dd if=()/firadisk/au.xml of=()/AutoUnattend.xml
dd if=()/firadisk/spaces.txt of=()/firadisk/ISONAME.CMD
write ()/firadisk/ISONAME.CMD SET MYISO=\\ISO\\%MYISO%\r\n
map --mem (md)0x800+4 (99)
map /ISO/%MYISO% (0xff)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
write (99) [FiraDisk]\nStartOptions=cdrom,vmem=find:/ISO/%MYISO%;\n\0
chainloader (0xff)/BOOTMGR || chainloader (0xff)

iftitle [if exist /ISO/W7AIO64HUN1501.iso] MS-Win 7 AIO SP1 64-bit\nThis will install Microsoft Windows 7 All-In-One SP1 64-bit to your hard disk
debug off
set MYISO=W7AIO64HUN1501.iso
dd if=()/firadisk/au.xml of=()/AutoUnattend.xml
dd if=()/firadisk/spaces.txt of=()/firadisk/ISONAME.CMD
write ()/firadisk/ISONAME.CMD SET MYISO=\\ISO\\%MYISO%\r\n
map --mem (md)0x800+4 (99)
map /ISO/%MYISO% (0xff)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
write (99) [FiraDisk]\nStartOptions=cdrom,vmem=find:/ISO/%MYISO%;\n\0
chainloader (0xff)/BOOTMGR || chainloader (0xff)

iftitle [if exist /ISO/W10ENT1511N32.iso] MS-Win 10 Ent. 32-bit Build 1511\nThis will install Microsoft Windows 10 Enterprise 32-bit Build 1511 to your hard disk
debug off
set MYISO=W10ENT1511N32.iso
dd if=()/firadisk/auWin8.xml of=()/AutoUnattend.xml
dd if=()/firadisk/spaces.txt of=()/firadisk/ISONAME.CMD
write ()/firadisk/ISONAME.CMD SET MYISO=\\ISO\\%MYISO%\r\n
map --mem (md)0x800+4 (99)
map /ISO/%MYISO% (0xff)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
write (99) [FiraDisk]\nStartOptions=cdrom,vmem=find:/ISO/%MYISO%;\n\0
chainloader (0xff)/BOOTMGR || chainloader (0xff)

iftitle [if exist /ISO/W10ENT1511N64.iso] MS-Win 10 Ent. 64-bit Build 1511\nThis will install Microsoft Windows 10 Enterprise 64-bit Build 1511 to your hard disk
debug off
set MYISO=W10ENT1511N64.iso
dd if=()/firadisk/auWin8.xml of=()/AutoUnattend.xml
dd if=()/firadisk/spaces.txt of=()/firadisk/ISONAME.CMD
write ()/firadisk/ISONAME.CMD SET MYISO=\\ISO\\%MYISO%\r\n
map --mem (md)0x800+4 (99)
map /ISO/%MYISO% (0xff)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
write (99) [FiraDisk]\nStartOptions=cdrom,vmem=find:/ISO/%MYISO%;\n\0
chainloader (0xff)/BOOTMGR || chainloader (0xff)

title                            - - - = = = POWER MANAGEMENT = = = - - -
root

title Boot from 1st Hard Disk \nBoot from MBR of first hard disk and remove the USB drive
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
chainloader (hd0)+1
rootnoverify (hd0)

title Reload menu\nReload the menu.lst file
configfile /menu.lst

title Reboot  \nReboot system
savedefault --wait=2
reboot

title Switch Off\nSwitch off system
savedefault --wait=2
halt

