To update the ISO, I mounted the ISO on a linux box, extracted the
initrd image using cpio, edited /etc/master to include the correct
username and password, and then recompiled back to a bootable CD. On
booting from the CD, the Z drive gets mounted, as the username and
password are correct, but then the script immediately drops to the shell
with the "autoexec.bat failed to set Z_PASS; bailing at
/z/dosbin/install.pl line 1163". Unfortunately, I don't program perl, so
I don't understand what's going on around line 1163 in install.pl, so I
don't really know what could be causing the error (hence why I put the
password in the install.pl - which I have now removed).

You mentioned a tempcred.bat file - where is this stored on the server?
I managed to find it on a client by interrupting the installation part
way through, but I haven't been able to find where it's stored (or
created from?) on the server.

Thanks,

Paul

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Steffen Kaiser
Sent: 05 June 2007 07:34
To: unattended-info@lists.sourceforge.net
Subject: Re: [Unattended] Linux boot CD problems

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 4 Jun 2007, Paul Lewis wrote:

> I have updated the ISO to include the Z_PATH, Z_USER and Z_PASS
relevant

Er, how did you done it?

> 1162   $u->comments ('_meta', 'z_password') = ['pr2E4LaX'];

Is this your password??? Setting a comment does not mean to set a 
password.

> 1163   (defined $ENV{'Z_PASS'})
> 1164       or die "autoexec.bat failed to set Z_PASS; bailing";
> 1165   $u->{'_meta'}->{'z_password'} = $ENV{'Z_PASS'};

> Does anyone have any ideas what's not working here? :-)

That depends on why the password hadn't been forwarded from your boot
disk 
to the installation. There should be a .BAT file (TEMPCRED.BAT), in
which 
the env vars are defined.
If you insist changing install.pl, you'll have to use proper
programming, 
e.g.:

remove lines 1163 and 1164 and replace line 1165 by:
$u->{'_meta'}->{'z_password'} = $ENV{'Z_PASS'} || 'pr2E4LaX';

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBRmUD3dOkJV1AYoBwAQIPsQf/ZgAW1JAYeun0iYQ0nDkHMQjuWaiH9ADp
p3+cXRXhHqOvd5GzHqL7blHpFGSVbkYYghd4D/gnJATHiEaDzLTz5iPWVE1DHcx9
rdh4MLchBmIPkgXc0LJZUKaGmdhRm5gkVbLLuvyfkdoWs+Se5JwHveNcWOWZFMkC
PPm8Uv73QrGc/ZixvRkGtU+L628L6GFoLP5EKM1xcIM1zdfFaIcrK708c+zxrXku
409O9c+haSwTXu9t+GizJcjWdX/BB0TFtNbHSSSdczQbkUeW5a61TDpA179hP0rh
M66Sn8xF/DBqdaPqPhFIehWXhNKhclTCEc9zuEQnVxNWP3prES/P+w==
=uO79
-----END PGP SIGNATURE-----

------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to