AlbinoRaven Posted April 27, 2006 Share Posted April 27, 2006 Hi all,I've thumbed through the newsgroups, microsoft's "help" files and did a little bit of roaming through here. I've been trying to take my unattended win2k3 sp1 build and "plop" it into WinPE 1.1 and run the setup with PE as the Drive config tool.So far with trying things I've seen here I can get it to start the minint setup, but all it seems to do is tell me it's 50 minutes, reboot and boot back into WinPE. Basically it hasn't made the C drive bootable or copied the setup files over. Makes me sad.At least I'm running VMware and can make quick changes, test them and smack myself with a brick. I take the original CD Microsoft for WinPE sent me and create a folder called win2k3 with WinISO and drop the files from my original unattended into it (with WinISO).The directory structure in the ISO looks like this from the root.DOCSI398 \WinPE Files like system32 etc.WIN2K3 \$OEM$ \$1 \Oracle92010 \Oracle92070 \OraclePatches \App \AdobeAcro \I386 \Usual OS stuffWinPE(pardon the layout)My Startnet looks like this===STARTNET.CMD===regsvr32 /s netcfgx.dllfactory -minintnetcfg -v -winpenet start dhcpnet start nlaa:\floppy.cmdclsdiskpart /s CDISKPARTSCRIPT.txtREMREMFORMAT c: /fs:ntfs /q /V:OS /yREMREMmkdir c:\win2k3REMREM \Win2k3\i386\winnt32.exe /syspart:c /tempdrive:c /unattend:\Win2k3\i386\winnt.sifREM \win2k3\i386\winnt32.exe /s:\Win2k3\i386\ /copydir:\win2k3\i386 /unattend:\Win2k3\i386\winnt.sif\win2k3\i386\winnt32.exe /copydir:\win2k3\i386 /unattend:\Win2k3\i386\winnt.sifexit=========CDISKPARTSCRIPT.txt===list diskselect disk 0create partition primaryassign letter cexit=========WINNT.SIF===[Data]Autopartition = 1MsDosInitiated = 0UnattendedInstall = Yes[unattended]UnattendMode = FullUnattendedUnattendSwitch = YesOemPreinstall = YesOemSkipEula = YesRepartition = YesWaitForReboot = NoNoWaitAfterTextMode = 1NoWaitAfterGUIMode = 1WaitForReboot = NoTargetPath = WINDOWSDriverSigningPolicy = IgnoreNonDriverSigningPolicy = Ignore[GuiUnattended]AdminPassword=PasswordAutoLogon=YesAutoLogonCount=3 EncryptedAdminPassword = NoOEMSkipRegional = 1TimeZone=35 OemSkipWelcome = 1ServerWelcome = No[Display]BitsPerPel=16XResolution=800YResolution=600[shell]DefaultThemesOff = YesDefaultStartPanelOff = Yes[LicenseFilePrintData]AutoMode = PerSeat[components]iis_asp = Oniis_common = Oniis_inetmgr = Oniis_internetdataconnector = Offiis_serversideincludes = Offiis_webadmin = Oniis_webdav = Offiis_www = On[internetServer]PathWWWRoot = C:\Inetpub\Wwwroot [userData]ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxxComputerName=*FullName = "Da Place"OrgName = "Superfly"[Networking]InstallDefaultComponents = Yes[identification]JoinWorkgroup = Workgroup[TapiLocation]CountryCode=107[RegionalSettings]LanguageGroup=1SystemLocale=00000409UserLocale=00000409InputLocale=0409:00000409[TerminalServices]AllowConnections = 1LicensingMode = PerUserPermissionsSetting = 1[NetOptionalComponents]SNMP=1 ====== Link to comment Share on other sites More sharing options...
Br4tt3 Posted April 28, 2006 Share Posted April 28, 2006 Sounds like the drive onto which you are installing is not activated through diskpart... that way, even if the installation has been performed once (files copied to the drive) the installation will kick back onto the PE CD again as their is no other valid boot devices! Have u run a diskpart script from within your PE installation? Does it include a "active" command aswell?Check out the diskpart /s <scriptfile/textfile> command - to fix ur drive prior to the installation of the Win32 setup. There is loads of info in the winpe.chm on ur PE CD media.Best RegardsTha Sausage Eater.. Link to comment Share on other sites More sharing options...
JuMz Posted April 28, 2006 Share Posted April 28, 2006 (edited) Have you tried using the [DiskConfig] Section in your winbom.ini? WinPE has the built in ability to wipe the disk...[DiskConfig]Disk1 = First.Config[First.Config]Size1 = *FileSystem1 = NTFSSetActive1 = YesPartitionType1 = PrimarySize2 = *PartitionType2 = ExtendedSize3 = *PartitionType3 = LogicalQuickFormat1 = YesForceFormat = YesThis is what I use to configure the disk. Completely formats it and makes one big drive. All the information I used to do this is in the winpe.chm file... Edited April 28, 2006 by JuMz Link to comment Share on other sites More sharing options...
AlbinoRaven Posted April 28, 2006 Author Share Posted April 28, 2006 Sounds like the drive onto which you are installing is not activated through diskpart... that way, even if the installation has been performed once (files copied to the drive) the installation will kick back onto the PE CD again as their is no other valid boot devices! Have u run a diskpart script from within your PE installation? Does it include a "active" command aswell?Check out the diskpart /s <scriptfile/textfile> command - to fix ur drive prior to the installation of the Win32 setup. There is loads of info in the winpe.chm on ur PE CD media.Best RegardsTha Sausage Eater..Nuts!I totally forgot about that. I'll add this to my diskpart script:list diskselect disk 0delete disk 0list diskselect disk 0create partition primaryassign letter cexitI'll give this a shot too.Have you tried using the [DiskConfig] Section in your winbom.ini? WinPE has the built in ability to wipe the disk... Link to comment Share on other sites More sharing options...
brainstane Posted April 29, 2006 Share Posted April 29, 2006 You need to add a format C:/fs:ntfs /q /y in there. Link to comment Share on other sites More sharing options...
gadget Posted April 30, 2006 Share Posted April 30, 2006 dont forget to make the partition active as well in disk part.You may also suffer from mbrproblems too. the only way I know of writing mbr in pe is using the latest version of gdisk32. Link to comment Share on other sites More sharing options...
p4ntb0y Posted April 30, 2006 Share Posted April 30, 2006 (edited) you can use mbrwiz also.I had this problem and I wrote the MBR to a temp loction then wrote back too the disks after diskpart as I understand it you got to jumpstart the OS into seeing the boot record.to help with debugging add "/debug4:a:\debug4.log" to the end of winnt32.This will tel you if your drive is bootable and all files are being copied properly.I take it your not working with raid disks? Edited April 30, 2006 by p4ntb0y Link to comment Share on other sites More sharing options...
AlbinoRaven Posted May 4, 2006 Author Share Posted May 4, 2006 you can use mbrwiz also.I had this problem and I wrote the MBR to a temp loction then wrote back too the disks after diskpart as I understand it you got to jumpstart the OS into seeing the boot record.to help with debugging add "/debug4:a:\debug4.log" to the end of winnt32.This will tel you if your drive is bootable and all files are being copied properly.I take it your not working with raid disks?Not yet but it looks like some of the other groups I do work for are interested in doing that.I'm building an autoinstall for one of our web apps in our web farm. The first drop for it was the unattended methods for CD building, took about a month and bit to get it done right. The WinPe method is going to allow me more control over the disks as there isn't any way to monkey with disk partitioning properly with unattended CD without using a third party.Plus I thought it would be cooler looking. The debug command works great BTW.Thanks Link to comment Share on other sites More sharing options...
p4ntb0y Posted May 4, 2006 Share Posted May 4, 2006 looking at your diskpart script I would have......rem This file instructs Diskpart.exe to select Disk 1 as target,rem clean the target, create a primary partition on the diskrem and mount it to c: for the new partition. The new partition is thenrem ready for format and OS installrescanselect disk=0cleancreate partition primaryassign letter=cYou may need a reboot depending on the drives your using again you may need to use gdisk32 or MBRFix.Format the drive as normal then kick of the winnt32.exe...\win2k3\i386\winnt32.exe /copydir:\win2k3\i386 /unattend:\Win2k3\i386\winnt.sif /syspart:c /tempdrive:cyou can also add the /noreboot switch to tell windows not to reboot after the file copy phase finishesI started this an two HP ML310's as I wanted to make sure the raid scsi drives were being configuired properly.Nightmare!just got the get rid of the reboot and then its complete Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now