Hey guys,

I just started trying out unattended a week ago, and I must say I'm
impressed with how much thoughts have been put into this project.

I am having some trouble with a win2k sp4 install on a desktop (Dell
GX110).  I can start the initial file copy, reboot, and start the actual
Windows 2000 install.  But soon (30 seconds) after the install starts, I
get a BSOD with the following message:

*** STOP: 0x0000001E (0xC0000006. 0x804F5004, 0x00000000, 0x485870B8)
KMODE_EXCEPTION_NOT_HANDLED

*** Address 804F5004 base at 80400000, DateStamp 3ee650b3 - ntoskrnl.exe

I've googled a number of times and searched this list, and I couldn't find
anything...  I've tested my XP installation point and that sort of works
(it installs Windows XP!).  I use the same unattend.txt and config.pl for
all OS installs.  I've also tried it on different machines with the same
results.

Any help would be greatly appreciated.

My unattend.txt:

[Data]
    AutoPartition=1
    MsDosInitiated="0"
    UnattendedInstall="Yes"

[Unattended]
    UnattendMode=DefaultHide
    OemSkipEula=Yes
    OemPreinstall=Yes
    Repartition=YES
    FileSystem=ConvertNTFS
    ExtendOemPartition=1
    UnattendSwitch = Yes
    DriverSigningPolicy = Ignore
    NtUpgrade = no
    OverwriteOemFilesOnUpgrade = no
    ConfirmHardware = yes

[GuiUnattended]
    OEMSkipRegional=1
    OEMSkipWelcome=1
    TimeZone=4

[UserData]
    OrgName="XXXXXXXXXXXXX"

[TapiLocation]
    CountryCode=107
    Dialing=Tone
    AreaCode=604

[Branding]
    BrandIEUsingUnattended=Yes

[URL]
    Home_Page=www.colliers.com
    Search_Page=www.google.com

[Proxy]
    Proxy_Enable=0
    Use_Same_Proxy=1

[Components]
    accessopt=off
    chat=off
    deskpaper=off
    freecell=off
    hypertrm=off
    media_clips=off
    mousepoint=off
    mplay=off
    rec=off
    templates=off
    OEAccess = Off

[Identification]
    JoinWorkgroup=XXXXXXXXX

[Networking]
    InstallDefaultComponents=No

[NetAdapters]
    Adapter1=params.Adapter1

[params.Adapter1]
    INFID=*

[NetClients]
    MS_MSClient=params.MS_MSClient

[NetProtocols]
    MS_TCPIP=params.MS_TCPIP

[params.MS_TCPIP]
    DNS=Yes
    UseDomainNameDevolution=No
    EnableLMHosts=Yes
    AdapterSections=params.MS_TCPIP.Adapter1

[params.MS_TCPIP.Adapter1]
    SpecificTo=Adapter1
    DHCP=Yes
    WINS=No
    NetBIOSOptions=0

[FavoritesEx]
    Title1="Colliers International.url"
    URL1="www.colliers.com"

[_meta]
    fdisk_lba=1
    fdisk_cmds="fdisk /clearall 1;fdisk /pri:3500;fdisk /activate:1"
    fdisk_confirm=0
    format_cmd="format /y /z:seriously /q /u /a /v: c:"
    replace_mbr=1
    ntp_servers=0
    edit_files=0
    top=base.bat

My config.pl

# File to hold site-specific customizations.

# Enable maximum warnings and disallow sloppy constructs.
use warnings;
use strict;

$u->{'GuiUnattended'}->{'AdminPassword'} =
    "XXXXXXXXXXX";

$u->{'UserData'}->{'ProductKey'} =
    sub {
        my $media_obj = Unattend::WinMedia->new
($u->{'_meta'}->{'OS_media'});
        my $os_name = $media_obj->name ();
        if ($os_name =~ /Windows XP/) {
            return 'XXXXXXXXX';
        }
        elsif ($os_name =~ /Windows Server 2003/) {
            return 'MY-SERVER-2003-KEY';
        }
        return undef;
    };

$u->{'UserData'}->{'ProductID'} =
    sub {
        my $media_obj = Unattend::WinMedia->new
($u->{'_meta'}->{'OS_media'});
        my $os_name = $media_obj->full_name ();
      warn $os_name;
        if ($os_name =~ /Windows 2000 Professional SP4 \(Retail/) {
            return 'XXXXXXXX';
        }
      elsif ($os_name =~ /Windows 2000 Professional SP4 \(OEM/) {
          return 'XXXXXXXXXX';
      }
        elsif (defined $u->{'UserData'}->{'ProductKey'}) {
            # It is OK for us to return undef as long as there is a
            # ProductKey.
            return undef;
        }
        die "No ProductKey nor ProductID!";
    };


$u->{'UserData'}->{'TargetPath'} =
   sub {
        my $media_obj = Unattend::WinMedia->new
($u->{'_meta'}->{'OS_media'});
        my $os_name = $media_obj->name ();
        if ($os_name =~ /Windows 2000/) {
            return '\\WINNT';
      }
        elsif ($os_name =~ /Windows XP/) {
            return '\\WINDOWS';
        }
    };

$u->{'Unattended'}->{'OemPnPDriversPath'} =
    sub {
        my $media_obj = Unattend::WinMedia->new
($u->{'_meta'}->{'OS_media'});
        my @pnp_driver_dirs = $media_obj->oem_pnp_dirs (1);
        # No driver directories means no drivers path
        scalar @pnp_driver_dirs > 0
            or return undef;
        print "...found some driver directories.\n";

        my $ret = join ';', @pnp_driver_dirs;
        # Setup does not like empty OemPnPDriversPath
        $ret =~ /\S/
            or undef $ret;
        return $ret;
     };

# Make this file evaluate to "true".
1;

PS: I'm trying to combine unattended with nwdsk
(http://www.veder.com/nwdsk/) so that I can store my os files on my netware
server.  Once I got it working, I'd love to write a little documentation
for it!  I'm sure there are still some Novell faithful out there.....
(isn't there??)

Cheers,
Kenny.




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to