-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 29 Mar 2007, Nils Olav Fossum wrote:
It works so far, I did this:
1) I added exitemu.com from the build-dosemu directory to
linuxaux/var/lib/dosemu/drives/dosboot.img manually.
2) I changed install.pl to:
if($is_linux) {
# Prevet DOSemu from catching reboot
my $doneFile = $file_spec->catfile ($u->{'_meta'}->{'netinst'},
'done');
push(@doit_cmds, "if exist $doneFile A:\\EXITEMU");
}
if (defined $format_cmd) {
if ($is_linux) {
my $doneFile = $file_spec->catfile ($u->{'_meta'}->{'netinst'},
'done');
print "(Deferring format command to run under DOSEMU)\n";
push @doit_cmds, $format_cmd;
push @doit_cmds, 'if errorlevel 1 exit 1';
push @doit_cmds, "ECHO > $doneFile";
}
So DOIT.BAT looks like:
if exist C:\netinst\done A:\EXITEMU
format /y /z:seriously /q /u /a /v: c:
if errorlevel 1 exit 1
ECHO > C:\netinst\done
xcopy /s /e /y Y:\ C:\
==================
The problem however is that before DOSEmu is started, one need to make
sure that no "done" file is present. The best way would be to try to mount
the partition and remove the file is present.
Another problem is that there should be a Critical Error, if the partition
is NOT formatted (well, I always have a formatted partition, because in
previous versions the install process failed always without it.)
One way to prevent the Critical Error is to include
SHELL=COMMAND.COM /F
in config.sys.
Bye,
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBRgvVa9OkJV1AYoBwAQI1kAgAp8HyJzLL3DtnpyQbVKwb4oj51csFa2h4
n6Q3TdaOZiopo+pNZ5OMUWcUqRxqTLMkihn8J46czqomK3gg9NOalVVA7hISq4ec
kc9lMl6W0iZe+I6QGI6ILtqKK2ZBbWR8ilbxT+vBDhzeizYS2e070QlCQJGXxRVB
Lqm003xjEabm3HKagOGuleNDOTeORyOc4sEeuZmCjQ2mo9OdCF/Qdkng4CBxr87I
S19Q59zIv5quftuLk3HCrnsvcsQ2yZPljhr8/viJU92j1IDmXTo0Qy+89wM0ZkYU
pZhhTtvKZk6IVQ0WCJAMigtitTeGda43aKaFJHGl9xaB6pfKkBMLLA==
=w59p
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
unattended-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-devel