Fredag 14 desember 2007 13:50, skrev Michael De Groote:
> i have a hunch it (the looping of the winnt installer copying the files)
> has something to do with the winnt itself trying to reboot the pc, which
> (in this case) is the dosemu
> the reasons i think it does this are
That was exactly what was thinking when I first saw this,
turned out I was wrong.... :-)
>
> 1. when looking at the screen there is a short moment were you see the
> doit.bat commands flashing over the screen, up to the winnt.exe blablabla
> 2. when putting either a pause or a exitemu command after the
> winnt.exestuff, these are ignored...
Where do you put the pause/exitemu?
This is what doit.bat contains:
----
IF EXIST c:\netinst\1569087.tmp EXITEMU
format /z:seriously /q /u /a /v: c: /y
if errorlevel 1 exit 1
xcopy /s /e /y Y:\ C:\
Z:
cd Z:\os\winxpsp2\i386
winnt /rx:lang /s:Z:\os\winxpsp2\i386 /u:C:\netinst\unattend.txt
----
the noCycling-flag file part of doit.bat is created by install.pl in this
section:
----
# Batch script to run after this script exits.
my $doit = "$netinst\\doit.bat";
if($is_linux) {
# xcopy will copy a file that will prevent a cycling of DOSemu
# this is tested as the first command
# The filename itself
my $noCycling = "$netinst\\" . int(rand(10000000)) . ".tmp";
# First of all, if the checkpoint file exist, leave DOSEmu
unshift @doit_cmds, "IF EXIST $noCycling EXITEMU";
push @doit_cmds, 'xcopy /s /e /y Y:\\ C:\\';
# have the XCOPY command copy over the checkpoint file
write_file($noCycling, 'prevent cycling of DOSemu');
}
----
>
> so the question is: can we stop the winnt installer from automatically
> rebooting the system? if not, is there no switch to the dosemu.bin that
> prohibits rebooting the emulator? If both are impossible, we could
> a) switch to nt5x-install permanently, which should solve these problems
> anyway since it doesnt call winnt but copies the files itself and installs
> the correct mbr and other files to start the install process
> b) customize ('hack') dosemu so a reboot of the emulator exits the emulator
> process...
I might be a release with only dosemu first, and just ripping out dosemu is
probably out if the question.
So, fixing this should be done in any case.
The question stands:
does '/c/netinst/xxxxx.tmp' exists when the 'loops' happen?
It puzzles me that I dont see this behavior...
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info