# NORMAL HIGHLIGHT HELPTEXT HEADING in pairs consisting of foreground/background color black/cyan blue/cyan red/light-blue red/cyan write (md)0x220+1 !BAT\necho -n -P:0000 $[0133] --- Windows install --- \0 initscript (md)0x220+1 title 1 INSTALL Windows Server 2003 32-bit\nCeci vous permet d'installer n'importe quelle version de Win Server 2003 dans votre systeme set MYISO=win2k3.iso dd if=()/firadisk/au.xml of=()/AutoUnattend.xml map --mem (md)0x800+4 (99) set mm=map /ISO/%MYISO% (0xff) %mm% map (hd0) (hd1) map (hd1) (hd0) map --hook set mm=write (99) [FiraDisk]\nStartOptions=cdrom,vmem=find:/ISO/%MYISO%;\n\0 %mm% chainloader (0xff)/BOOTMGR || chainloader (0xff) title 2 REPAIR Windows Server 2003 32-bit\nCeci vous permet de reparer une copie de Windows Server 2003 deja installee dans votre systeme - Choisissez l'option Reparer apres avoir selectionne Pays/Langue set MYISO=win2k3.iso dd if=()/firadisk/spaces.txt of=()/AutoUnattend.xml map --mem (md)0x800+4 (99) set mm=map /ISO/%MYISO% (0xff) %mm% map (hd0) (hd1) map (hd1) (hd0) map --hook set mm=write (99) [FiraDisk]\nStartOptions=cdrom,vmem=find:/ISO/%MYISO%;\n\0 %mm% chainloader (0xff)/BOOTMGR || chainloader (0xff) ### Ajoutez plus d'entrees de menu ici - Doublez les deux entrees precedentes et changez les noms de fichiers ISO title root () title 3 Boot from 1st Hard Disk \nBoot depuis le MBR du premier disque dur et ejecte la cle USB map (hd0) (hd1) map (hd1) (hd0) map --hook chainloader (hd0)+1 rootnoverify (hd0) title root () title Choose any iso file... root () title root () title 4 INSTALL WINDOWS - Boot from any Windows ISO to install Windows\nThis menu allows you to type in the name of any Windows ISO file and boot from it # find the ISO folder by looking for a marker file find --set-root /ISO/choose_an_iso clear echo # list all files in the /ISO folder so the user can see them ls ()/ISO/ echo # Ask user which iso they want (name is converted to uppercase as /u is specified) set /p /u ask=Enter iso filename WITH NO .ISO EXTENSION (e.g. Win7Pro32 ) : if "%ask%"=="" echo No iso file specified! && configfile /menu.lst clear # check if user entered a valid filename with no ISO extension! ls /ISO/%ask%.iso || echo Cannot find /ISO/%ask%.iso !!! && pause --wait=3 && configfile (bd)/menu.lst echo Loading /ISO/%ask%.iso - please wait ... #set root drive to USB stick find --set-root /firadisk/loadiso.cmd map --mem (md)0x800+4 (99) dd if=()/firadisk/au.xml of=()/AutoUnattend.xml set mm=find --set-root /ISO/%ask%.iso %mm% # run the grub4dos map command and specify the iso file we want to load set mm=map /ISO/%ask%.iso (0xff) %mm% map (hd0) (hd1) map (hd1) (hd0) map --hook # Specify the same iso file for when firadisk runs in winpe find --set-root /firadisk/loadiso.cmd set mm=write (99) [FiraDisk]\nStartOptions=cdrom,vmem=find:/ISO/%ask%.iso;\n\0 %mm% chainloader (0xff)/BOOTMGR || chainloader (0xff) clear title 5 REPAIR WINDOWS - Boot from any Windows ISO to repair Windows\nThis menu allows you to type in the name of any Windows ISO file and boot from it for a repair operation only # find the ISO folder by looking for a marker file find --set-root /ISO/choose_an_iso clear echo # list all files in the /ISO folder so the user can see them ls ()/ISO/ echo # Ask user which iso they want (name is converted to uppercase as /u is specified) set /p /u ask=Enter iso filename WITH NO .ISO EXTENSION (e.g. win7pro32 ) : if "%ask%"=="" echo No iso file specified! && configfile /menu.lst clear # check if user entered a valid filename with no ISO extension! ls /ISO/%ask%.iso || echo Cannot find /ISO/%ask%.iso !!! && pause --wait=3 && configfile (bd)/menu.lst echo Loading /ISO/%ask%.iso - please wait ... map --mem (md)0x800+4 (99) #set root drive to USB stick find --set-root /firadisk/loadiso.cmd dd if=()/firadisk/spaces.txt of=()/AutoUnattend.xml set mm=find --set-root /ISO/%ask%.iso %mm% # run the grub4dos map command and specify the iso file we want to load set mm=map /ISO/%ask%.iso (0xff) %mm% map (hd0) (hd1) map (hd1) (hd0) map --hook # clear any memory drive contents find --set-root /firadisk/loadiso.cmd write (99) DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\n\0 chainloader (0xff)/BOOTMGR || chainloader (0xff) clear