Steven Blackery wrote: > -----Original Message----- > From: Pierre Bourgin [mailto:pierre.bour...@arteris.com] > >>> First I couldn't get it to run the correct nt5-install script, but I >>> worked out that that's because I use custom unattend.txt files in which >>> I had hard-coded ntinstall_cmd to avoid being prompted during setup, I >>> changed that to /z/site/nt5x-install and that part is 'fixed', in that >>> it runs the right script. > >> Strange that you are prompted about it. >> It also strange that hardcoding it in unattend.txt file works. > > Unattended in its default config prompts you to ask if you want to > use ntx5-install, we would only ever answer yes to that question, so I > edited our various unattend.txt files in /site (we use different ones > and specify them in the csv) with ntinstall_cmd = nt5x-install - which > removed the prompt. > >> So, did you try to add the following line in install/site/config.pl : >> ## Windows drivers scanning: use updated version of ntx5-install >> $u->{'_meta'}->{'ntinstall_cmd'} = '/z/site/nt5x-install' ; > > Yes, but it didn't work, as the part of the script which writes that > out only runs if the _meta section doesn't already exist, which for us > does. By changing our _meta section as I mentioned above it then fixes > it.
Still strange: my site/unattend.txt contains a [_meta] section (defining NTP server) and the fact to use "$u->{'_meta'}->{'ntinstall_cmd'} = '/z/site/nt5x-install' " in site/config.pl implies no ask for choose between DOSEMU or nt5x-install . This might be related to the use of CSV entries perhaps. > I've checked and viewed open files on the server while unattended is > running and I can see it has opened /site/nt5x-install from the server. > > This makes the install/dosbin/install.pl master script using the > site/nt5x-install script instead of the unattended original one (the one > I provide) > >> first take a look into its generated output : >> /c/netinst/logs/search-win-drivers.log >> It should contains the PCI device detection listing and the matching >> windows drivers if any. > > That file is not there > >> You can also launch dosbin/search-win-drivers.pl directly from the shell >> to see what's happening (it won't destroy anything by itself): > >> $ /z/dosbin/search-win-drivers.pl -d /path/to/drivers > > That seemed to work. The text scrolled too fast to read, but it > matched a whole load of devices to drivers. I definitely do not get this > output when unattended runs. > > I'm thinking at this point that the problem is with install.pl, that > it's not running properly. I'm actually running a bastard hybrid of rc2, > rc3 and rc5, and I think my pre-patched install.pl is the rc3 version, > so that might be the problem. No, this is my fault: see next post. Pierre Bourgin ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ unattended-devel mailing list unattended-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-devel