by using Grub4Dos + FiraDisk floppy image
Requirements
- Windows XP setup ISO file in UFD
- GRUB4DOS installed in UFD
- FiraDisk 0.0.1.30 floppy image (files in amd64 directory are not used in Win XP 32-bit you can delete the directory)
- SATA/RAID driver for hard disk
For Intel on-board RAID use 32-bit Intel® RST Driver Files for F6 Install.
- Copy firadisk.img to a new file in UFD, named iastor.img in this example.
- Mount floppy image iastor.img with some virtual disk software.
- Copy SATA/RAID files for F6 into floppy image, except TXTSETUP.OEM.
- Combine FiraDisk TXTSETUP.OEM with SATA/RAID TXTSETUP.OEM.
This is an easy task. Just concatenate them into one file. - menu.lst in root directory of UFD.
title Setup Windows from ISO to HDD Step 1 : Boot from ISO, with virtual CD+Floppy
map --mem (md)0x800+4 (99)
checkrange 0x80 read 0x8280 && map (hd1) (hd0)
checkrange 0x80 read 0x8280 && map (hd0) (hd1)
map /winsetup.iso (222)
map /iastor.img (fd0)
map /iastor.img (fd1)
map --harddrives=1
map --hook
write (99) [FiraDisk]\nStartOptions=cdrom,vmem=find:/winsetup.iso;floppy,vmem=find:/iastor.img;\n\0
rootnoverify (222)
chainloader
map --status
pause Press any key twice . . .
title Setup Windows from ISO to HDD Step 2 : Boot from HDD, with virtual CD
map --mem (md)0x800+4 (99)
checkrange 0x80 read 0x8280 && map (hd1) (hd0)
checkrange 0x80 read 0x8280 && map (hd0) (hd1)
map --hook
write (99) [FiraDisk]\nStartOptions=cdrom,vmem=find:/winsetup.iso;\n\0
rootnoverify (hd0)
chainloader +1
map --status
pause Press any key . . .
title Setup Windows from ISO to HDD Step 3
checkrange 0x80 read 0x8280 && map (hd1) (hd0)
checkrange 0x80 read 0x8280 && map (hd0) (hd1)
map --hook
rootnoverify (hd0)
chainloader +1
map --status
pause Press any key . . .
- Step 1 Boot from UFD -> in GRUB4DOS menu select Step 1
Text phase setup
Press F6 when prompted.
Press S and select FiraDisk
Press S and select AHCI or RAID driver
After both driver are selected Press ENTER
Continue setup - Step 2 Boot from UFD -> in GRUB4DOS menu select Step 2
GUI phase setup - Step 3 Boot from UFD -> in GRUB4DOS menu select Step 3
or remove UFD and boot from hard disk directly.
EDIT: Changed script as wimb suggested.