Based on the ISO of Windows XP professional SP3 VOL edition, I've made an Unattended Windows XP SP3 Installation CD(ISO), integrated with office 2003,common applications and some optimizations etc. The ISO tested perfect in Vmware 6.5 .
I decided to make a multi-boot DVD, so the DVD can not only install windows but also boot to DOS/WinPE/LiveCD Linux, ghost for backup and some other usefull functions.
I in all used three method to boot while failed one by one.
I chose grub4dos to do such DVD. Can anyone help to solve this problem? With many thanks!
To make a multi-boot medium, there may be many boot-manager, but I'm only familiar with grub4dos and trust it's so strong and easy to get started.
Method 1.The easiest way called to mind is just to do an ISO mapping with grub4dos. So add the unattended windows installation ISO file to the grub4dos-boot ISO, then add a menu:
CODE
title Unattended install Windows sp3
map /GRTMPVOL_CN.iso (0xff)
map --hook
chainloader (0xff)
Setup launched but several seconds later after "Setup is loading files" it breaks with a blue screen:
------------------------
Method 2.I found somewhere that said the file "setupldr.bin" is the loader of the WINDOWS installation CD.
I extract the ISO files to the root of the grub4dos boot ISO, so the
catalog structure of the original windows installation ISO and the grub4dos-boot ISO are the same. the grub4dos menu is:
CODE
title Unattended install Windows sp3
chainloader /i386/setupldr.bin
At last I boot the ISO in Vmware, I'm so happy that the installation successfully launches. But unfortunately that's not unattended, it needs user's interaction by every step.
The file "/i386/winnt.sif", to make installation unattended, needn't to be specify anywhere, the installation will automatically load it and perform an unattended install.
But how it doesn't automatically load it when i use grub4dos to load setupldr.bin?
------------------------
Method 3.I have no idea for a long time. These days I tried another way, use grub4dos to boot into a DOS image, and then launch the windows installation by winnt.exe, because I can specify the answer file by /u: switches to the winnt.exe
First I should add NTFS and CD-ROM support to MSDOS 7.1b, with NTFSDOS PRO 5 and ref. CD-ROM drivers.But when start the installation it immediately breaks displaying "Setup is out of memory and cannot continue. Setup cannot continue, press ENTER to exit."
Then I found resolution in this page:
http://www.bootix.de/support/problems_solutions_en.html So I edit the two commandlines but still not work.
The AUTOEXEC.BAT:
CODE
@ECHO OFF
PROMPT $P$G
PATH=A:\;..
LFNFOR ON
LH KILLER
LH SHSUCDX /D:IDE-CD /Q /~+
LH DOSKEY
LH DOSLFN
ntfspro.exe
mscdex.exe /D:mscd000 /l:x
smartdrv.exe
x:\i386\winnt.exe /u:a:\unattend.txt /s:x:\i386
The config.sys:
CODE
DOS=HIGH,UMB
device=himem.sys /testmem:off /numhandles=128
device=emm386.exe h=128 highscan noems
device=oakcdrom.sys /D:mscd000
DEVICEHIGH=gcdrom.sys /D:SATA-CD
DEVICEHIGH=USBCD.SYS /D:USB-CD
FILES=30
FCBSHIGH=4,0
BUFFERSHIGH=20
LASTDRIVEHIGH=26
STACKSHIGH=9,256
I press "ENTER" to exit, and check the mem info:
CODE
MSCDEX 28,032 (27K) 28,032 (27K) 0 (0K)
FREE 385,696 (377K) 385,696 (377K) 0 (0K)
Memory summary:
Type of Memory Total = Used + Free
Conventional 641,024 255,328 385,696
Upper 0 0 0
Reserved 79,872 79,872 0
Extended (XMS) 1,066,729,4 1,065,680,8 1,048,576
---------------- ----------- ----------- -----------
Total memory 1,067,450,3 1,066,016,0 1,434,272
Total under 1Mb 641,024 255,328 385,696
Total Extended (XMS) 1,066,72 (1,041,728
Free Extended (XMS) 1,048,576 (1,024K)
Largest executable program size 385,440 (376K)
Largest free upper memory block 0 (0K)
Available space in High Memory Area 5,392 (5K)
MS-DOS is resident in the high memory area.
I'm a newbie to DOS, so I have no idea yet.
I like method 2, it's easy and can install windows ,but only cannot unattended install.
Can anyone help me solve the problems? It's OK if you have another method, but I'll be glad if using grub4dos as the multi-boot DVD's boot manager. Because I don't know like CD Shell, BCDW, ISOLINUX etc, these are another hard work to learn.