hi steve
i will explain more of that
i install grub4dos to usb
this is my menu.lst
timeout 30
gfxmenu /Memo/Memo.GFX
title [1:] 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 [2:] setup XP original-SP2\nBoot once from USB; with virtual CD+Floppy XP_SP3.IMA
find --set-root --ignore-floppies --ignore-cd /images/XP_SP3.IMA
map --mem /images/XP_SP3.IMA (fd0)
map --mem /images/XP_SP3.IMA (fd1)
map --mem (md)0x800+4 (99)
map /images/XP2_RAM.ISO (222) || map --mem /images/XP2_RAM.ISO (222)
map (hd0) (hd1)
map (hd1) (hd0)
checkrange 0x80 read 0x8280 && geometry (hd1) && map (hd0) (hd1)
checkrange 0x80 read 0x8280 && geometry (hd1) && map (hd1) (hd0)
map --hook
cat --locate=###### --number=1 (fd0)/TXTSETUP.OEM > nul || call :error /images/XP_SP3.IMA file error..
set offset=%?%
write --offset=%offset% (fd0)/TXTSETUP.OEM value=Parameters,StartOptions,REG_SZ,"cdrom,vmem=find:/images/XP2_RAM.ISO;floppy,vmem=find:/images/XP_SP3.IMA;"\r\n;
cat --skip=%offset% --locate=/ --replace=\\ (fd0)/TXTSETUP.OEM
cat --locate=###### --number=1 (fd1)/TXTSETUP.OEM > nul || call :error /images/XP_SP3.IMA file error..
set offset=%?%
write --offset=%offset% (fd1)/TXTSETUP.OEM value=Parameters,StartOptions,REG_SZ,"cdrom,vmem=find:/images/XP2_RAM.ISO;floppy,vmem=find:/images/XP_SP3.IMA;"\r\n;
cat --skip=%offset% --locate=/ --replace=\\ (fd1)/TXTSETUP.OEM
write --offset=0 (fd0)/setup/ISOimage.ini \\images\\XP2_RAM.ISO\n;\n;\n;
write --offset=0 (fd1)/setup/ISOimage.ini \\images\\XP2_RAM.ISO\n;\n;\n;
write (99) [FiraDisk]\nStartOptions=cdrom,vmem=find:/images/XP2_RAM.ISO;floppy,vmem=find:/images/XP_SP3.IMA;\n\0
root (222)
chainloader (222)/I386/SETUPLDR.BIN
title [4:] INSTALL Windows 7 32-bit imdisk\nThis will install any edition of Windows 32-bit to your hard disk
debug off
set MYISO=Win7.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 [5:] INSTALL Windows 8 32-bit\nThis will install Windows 8 32-bit to your hard disk
debug off
set MYISO=Win8.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 [6:] Hiren's BootCD ISO\nThis will load hirens boot cd
map --unmap=0:0xff
map --unhook
root (hd0,0)
map /ISO/hirens.iso (0xff) || map --mem /ISO/hirens.iso (0xff)
map --hook
root (0xff)
configfile /HBCD/menu.lst || chainloader (0xff)
map --unmap=0:0xff
title [8:] reboot\nThis will restar your comuter
reboot
title [9:] shutdown\nThis will turn off your comuter
halt
when i want install any of window version the usb work very well in any PC
but if the PC contain an infection hard disk
the first part of windows boot normally and i format the the windows
partition and copy files of this part of windows work normally
and when i want to go to the second part of windows installation (GUI mode)
i use the first command in my menu.lst (title [1:] Boot from 1st Hard Disk)
after this if the hard disk contain mbr virus this destroy the usb grub4dos mbr on the usb flash drive
and the flash drive didn't boot to any PC until install grub4dos mbr to usb again
and its work normally but without boot from this command in menu.lst (title [1:] Boot from 1st Hard Disk) in the PC that have infection hard disk
if this happen the usb mbr destroy again