Author Topic: Win2K Server unattended setup/Mass Storage  (Read 5218 times)

Anonymous

  • Guest
Win2K Server unattended setup/Mass Storage
« on: August 07, 2002, 11:10:51 AM »
After spending two days searching through the Google archives, I\'m hoping someone can give me some help.  I am trying to put together an unattended install of Win2K using a bootable cd and am having problems getting it to work.  I want to include drivers for the Dell PERC RAID card and not have to hit F6 to load the drivers from floppy.  I\'ve already got SP2 slipstreamed onto the cd and I have created the $OEM$textmode directory on the root of the cd (not in the i386 directory).  I put all of the RAID drivers and the txtsetup.oem file  in this directory and referenced them in the [unattended] section of winnt.sif.  When I start the setup, I get a message saying that the file \'txtsetup.oem\' could not be found.  How do I tell setup where to look for this?  I thought it would look for it automatically in the $OEM$textmode directory.  Any suggestions or ideas?  Here is the partial winnt.sif

[Data]
    AutoPartition=0 (I want to select partition size during setup)
    MsDosInitiated=\"0\"
    UnattendedInstall=\"Yes\"

[Unattended]
    UnattendMode=FullUnattended
    OemSkipEula=Yes
    OemPreinstall=Yes
    DriverSigningPolicy=Ignore
    TargetPath=WINNT
    Repartition=No
   OEMPnPDriversPath=\"PnPDrvrsN3Com;PnPDrvrsNAtn;PnPDrvrsNBC;PnPDrvrsNIS;PnPDrvrsStorage;PnPDrvrs;Mgmt\"

[MassStorageDrivers]
    \"Dell PERC 2, 2/Si, 3/Si, 3/Di RAID Controllers\"=\"OEM\"

[OEMBootFiles]
    txtsetup.oem
    perc2.sys
    perc2.cat
    perc2hib.sys
    perc2cin.dll
    perc2.inf
    perc2mgt.inf

Clercon

  • Guest
Win2K Server unattended setup/Mass Storage
« Reply #1 on: August 09, 2002, 01:48:42 AM »
Well I\'m having the same kind of problem. But I thought I could share what I have come up with so far, and maybe we can come to a solution in the end.

I\'m also puttinng the $OEM$/Textmode under the root of the cd, and not under the i386 folder. It seems though that the installation finds txtsetup.oem, cause I get an error message (File txtsetup.oem caused an unexpected error (18) at
line 1041 in F:nt1privatentosbootsetupoemdisk.c
). As far as I understand the txtsetup.oem as default looks for all the files under a:. So you have to change the txtsetup.oem so that it will look for the drivers on the cd. For more info see microsofts article Q288344. As I sad I haven\'t succeded with this yet (I\'m still working on it) so if someone has any more information please let me know. And of course if I succed i let you know.

-Clercon

Offline Fjellu

  • member
  • Global Moderator
  • Full Member
  • *****
  • Posts: 125
  • Karma: +0/-0
    • View Profile
Win2K Server unattended setup/Mass Storage
« Reply #2 on: August 13, 2002, 04:34:47 AM »
It can be done. The problem is editing the txtsetup.oem file so it works.
In addition to the article Q288344 I found some additional articles on the net, unfortunately I did not save them. It is helpful to use Virtual PC, this saves a lot of time. If you get an error, stop Virtual PC make the necessary changes and remake the ISO and try again.

Anonymous

  • Guest
Win2K Server unattended setup/Mass Storage
« Reply #3 on: November 27, 2002, 12:35:27 PM »
Know what? I am experiencing the same problem (altho I am doing an XP unattended install). The error I am have is this: \"File txtsetup.oem caused an unexpected error (18) at line 1742 in d:xpsp1basebootsetupoemdisk.c.\"

I already added the necessary lines under WINNT.SIF, so I guess the problem\'s restricted only to txtsetup.oem.

My txtsetup.oem has these lines:
#
# © American Megatrends Inc. 1999
# All Rights Reserved.
#
# Windows NT 4.0 Miniport Driver for American Megatrends MegaRAID IDE
#
[Disks]
d1 = \"AMI MegaRAID IDE Driver\", MEGAIDE, .
d2 = \"AMI MegaRAID IDE Driver\", MEGAIDE, .
d3 = \"AMI MegaRAID IDE Driver\", MEGAIDE, .
d4 = \"AMI MegaRAID IDE Driver\", MEGAIDE, .

[Defaults]
scsi = MegaIDE100_Whistler

[scsi]
MegaIDE100_NT4 =       \"AMI MegaRAID IDE 100 Controller (Windows NT)\", MegaIDE
MegaIDE100_NT5 =       \"AMI MegaRAID IDE 100 Controller (Windows 2000)\", MegaIDE
MegaIDE100_Whistler =  \"AMI MegaRAID IDE 100 Controller (Windows XP)\", MegaIDE
MegaIDE100_NT4C =      \"Integrated Ultra ATA-100 Dual Channel Controller (Windows NT)\", MegaIDE
MegaIDE100_NT5C =      \"Integrated Ultra ATA-100 Dual Channel Controller (Windows 2000)\", MegaIDE
MegaIDE100_WhistlerC = \"Integrated Ultra ATA-100 Dual Channel Controller (Windows XP)\", MegaIDE
MegaIDE100_NT4L =      \"Integrated Ultra ATA-100 IDE RAID Controller (Windows NT)\", MegaIDE
MegaIDE100_NT5L =      \"Integrated Ultra ATA-100 IDE RAID Controller (Windows 2000)\", MegaIDE
MegaIDE100_WhistlerL = \"Integrated Ultra ATA-100 IDE RAID Controller (Windows XP)\", MegaIDE




# This section lists the files that should be copied if the user
# selects a particular component option.
#
# is one of driver, port, class, dll, hal, inf, or detect.
#   See below.
# identifies where the file is to be copied from, and must
#   match en entry in the [Disks] section.
# is the name of the file. This will be appended to the
#   directory specified for the disk in the [Disks] section to form the
#   full path of the file on the disk.

[Files.scsi.MegaIDE100_NT4]
driver  = d2, MegaIDE.sys, MegaIDE
inf     = d2, MegaIDE.inf

[Files.scsi.MegaIDE100_NT5]
driver  = d3, MegaIDE.sys, MegaIDE
inf     = d3, MegaIDE.inf
catalog = d3, Mega2k.cat

[Files.scsi.MegaIDE100_Whistler]
driver  = d4, MegaIDE.sys, MegaIDE
inf     = d4, MegaIDE.inf
catalog = d4, MegaW.cat

[Files.scsi.MegaIDE100_NT4C]
driver  = d2, MegaIDE.sys, MegaIDE
inf     = d2, MegaIDE.inf

[Files.scsi.MegaIDE100_NT5C]
driver  = d3, MegaIDE.sys, MegaIDE
inf     = d3, MegaIDE.inf
catalog = d3, Mega2k.cat

[Files.scsi.MegaIDE100_WhistlerC]
driver  = d4, MegaIDE.sys, MegaIDE
inf     = d4, MegaIDE.inf
catalog = d4, MegaW.cat

[Files.scsi.MegaIDE100_NT4L]
driver  = d2, MegaIDE.sys, MegaIDE
inf     = d2, MegaIDE.inf

[Files.scsi.MegaIDE100_NT5L]
driver  = d3, MegaIDE.sys, MegaIDE
inf     = d3, MegaIDE.inf
catalog = d3, Mega2k.cat

[Files.scsi.MegaIDE100_WhistlerL]
driver  = d4, MegaIDE.sys, MegaIDE
inf     = d4, MegaIDE.inf
catalog = d4, MegaW.cat





[HardwareIds.scsi.MegaIDE100_NT4]
id=\"PCIVEN_1095&DEV_0649&SUBSYS_0649101E\", \"MegaIDE\"

[HardwareIds.scsi.MegaIDE100_NT5]
id=\"PCIVEN_1095&DEV_0649&SUBSYS_0649101E\", \"MegaIDE\"

[HardwareIds.scsi.MegaIDE100_Whistler]
id=\"PCIVEN_1095&DEV_0649&SUBSYS_0649101E\", \"MegaIDE\"

[HardwareIds.scsi.MegaIDE100_NT4C]
id=\"PCIVEN_1095&DEV_0649&SUBSYS_005D0E11\", \"MegaIDE\"

[HardwareIds.scsi.MegaIDE100_NT5C]
id=\"PCIVEN_1095&DEV_0649&SUBSYS_005D0E11\", \"MegaIDE\"

[HardwareIds.scsi.MegaIDE100_WhistlerC]
id=\"PCIVEN_1095&DEV_0649&SUBSYS_005D0E11\", \"MegaIDE\"

[HardwareIds.scsi.MegaIDE100_NT4L]
id=\"PCIVEN_1095&DEV_0649&SUBSYS_007E0E11\", \"MegaIDE\"

[HardwareIds.scsi.MegaIDE100_NT5L]
id=\"PCIVEN_1095&DEV_0649&SUBSYS_007E0E11\", \"MegaIDE\"

[HardwareIds.scsi.MegaIDE100_WhistlerL]
id=\"PCIVEN_1095&DEV_0649&SUBSYS_007E0E11\", \"MegaIDE\"

[Config.MegaIDE]
value = \"\", Tag, REG_DWORD, 1

Guest_Sage

  • Guest
Win2K Server unattended setup/Mass Storage
« Reply #4 on: August 07, 2003, 06:48:54 PM »
I too am having the same error as above..

however iam not trying to make my RAID drivers incorparated into the unattended install..

i have made an unattended XP CD with SP1 integrated.. everything is unattended except the partition and the RAID driver..

so i actually hit F6 at startup and manually choose my RAID driver from my floppy disk and i still get the same error as above (d:\xpsp1\base\boot\setup\oemdisk.c)..

this is driving me nuts.

any help would be greatly appreciated

Nic

  • Guest
Win2K Server unattended setup/Mass Storage
« Reply #5 on: August 08, 2003, 02:13:40 AM »
I copied the Windows 2000 CD to another computer.
Then I made the file changes, burned it back to CD-R.

When I booted my computer, it did not recognize the CD-R that I burned.
Even with the same CD tag.

How do I make my system boot the Windows Setup on a customized CD?
I checked that there was no hidden files that I missed...

Help~~ thx

Ausmith

  • Guest
Win2K Server unattended setup/Mass Storage
« Reply #6 on: August 13, 2003, 10:05:22 AM »
I posted a message in another thread on this forum on how to do this. You can read how I got it to work @

http://patrick.naoise.com/articles/windows/bootablecd/