Jump to content

ChrisBaksa

Member
  • Posts

    230
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    country-ZZ

Posts posted by ChrisBaksa

  1. I don't know how Barts does it... But I can tell you what to do when building WINPE from the OPK.

    Create the following directories:

    TEMP DIR\I386\System32\Drivers

    TEMP DIR\I386\INF

    Add the sys files to the the DRIVERS directory and the INF files to the INF dir.

    Simply XCOPY the directories over your file structure before you make your image. The drivers in tose direcories will be added/upgraded.

    BUT.. Some Drivers require additional files in the SYSTEM32 directory. In that case do the same thing as you dir for Drivers and Inf.

    Chris

  2. The Microsoft SAK (Storage product) support Headless systems. But not in the sense of removing the physical video card. It installs a video shim that disables the video redirect to the monitor. You will see the machine post, and the windows animated graphic.. and thats all.

    As mentioned above, the motherboard you are using must support being able to boot without a graphics adapter. in most cases it will fail the post check and beep at you.

    Out of curosity, why would you want to do this?

    Chris

  3. Here is my Run line (VB Script)... Hope this helps.

    InstallCommand = i386Path & "\winnt32.exe /unattend:" & GENFile & " /s:" & i386Path & " /dudisable /syspart:c: /copysource:lang /noreboot"

    I run this After I have created a new FAT32 Partition. The Windows Install Converts to NTFS later.

    Chris

  4. I had the same issues. When virtual Disks are enabled it causes the Virtual devices it creates to assume the logical values of 0 and 1 and pushes the HD out respectivly. This caused all my scripting to fail because I deal in the logical volume of the device. If they would have put teh Virtual Defices AFTER that of the HArd Disk.. all would be fine in the world.

    Here is what I did. Enter the DRAC (control-D) and DISABLE VIRTUAL MEDIA. At my firm we have no use for this function. So we shut it off.

    Chris

  5. This is due to how the OS discovers the Volume.

    Ever put a cd in XP and it never displays teh contents?

    You must actually "Kick" the OS awake and force it to discover the new volume. I do this by using a tool we wrote in house that Queries the drive partitions and writes out the Boot Record to to a file in the ram drive. This causes the OS to go thru it's motions which will discover the new voume. It has been Very reliable.

    Before that... It was a crap shoot.

    Chris

  6. Here is a sample unattent.txt for a Compaq/HP Smart Array.

    You will need to do the same for your SATA card.

    [MassStorageDrivers]

    "Smart Array 5300 Controller"=OEM

    "Smart Array 5i, 532, 5312 Controllers"=OEM

    "Smart Array 6i, 641, 642, 6400 EM, 6400 Controllers"=OEM

    "IDE CD-ROM (ATAPI 1.2)/PCI IDE Controller"=RETAIL

    [OEMBootFiles]

    CPQCISSM.SYS

    TXTSETUP.OEM

  7. I initally had an issue like this when I was first developeing with PE 2005. Actually... I was migrating my build form PE 1.2 to PE 2005. What I found was in the process I was moving files that were not compatible.

    Ex... If you had a PE 1.2 build... you must now re-compile the Optional components. Any hotfixes you added must be cleared. Drivers (if SP Specific) must be re-installed.

    Basically... Start over. Once I did that. My out of memory issues wen away.

    Chris

  8. There are several ways to add Mass Controller drivers into PE. But you have to follow the rules. This is the method I use.

    If the OS you are comiling PE from already has a version (older) of the controller driver you will need to overwrite the files for that driver with the newer files and ADD THE PNP strings to the TEXTSETUP.SIF file.

    The driver will load but unless you add the PNP strings... It will never see the newer controller.

    A perfect example is the HP Smart Arrary 6400 series controller. The new driver is backwards compatable. Just overwriting the driver files will allow the driver to see and load for 5300 series controllers.. but not for a 6400 series untill you add the PNP strings in the TEXTSETUP.SIF file.

    If the driver does not exist at all... (like the IBM Serve Raid Driver or the VMWARE Mass controller driver) you copy the drivers (from the F6 floppy disk) into a folder in your WinPE directory structure and add the references to those folders in the winpeoem.sif file.

    Example:

    Copy drivers to:

    <CD ROOT>\I386\System32\Drivers\ADDITIONAL_OEM\VMWARE_SCSI

    <CD ROOT>\I386\System32\Drivers\ADDITIONAL_OEM\IBM_SERVERAID

    add entries to winpeoem.sif

    [OemDriverParams]

    OemDriverRoot="drivers\additional_oem"

    OemDriverDirs=IBM_SERVERAID, VMWARE_SCSI

    Hope this helps.

    Chris

  9. I had a similar problem.

    Here is part of a vbs that dell sent me. basically all you need is teh file types and the locations.

    If (fso.FolderExists(fldr&"\i386\system32\drivers") AND _

    fso.FolderExists(fldr&"\i386\inf") AND _

    fso.FileExists(fldr&"\I386\system32\setupreg.hiv") AND _

    fso.FileExists(fldr&"\I386\txtsetup.sif")) Then

    Set parent = fso.GetFolder(abspath&"\drivers")

    set subfolder = parent.Subfolders

    For Each subs in subfolder

    fso.CopyFile subs&"\*.sys",fldr&"\i386\system32\drivers",true

    fso.CopyFile subs&"\*.dll",fldr&"\i386\system32",true

    fso.CopyFile subs&"\*.exe",fldr&"\i386\system32",true

    fso.CopyFile subs&"\*.din",fldr&"\i386\system32",true

    fso.CopyFile subs&"\*.inf",fldr&"\i386\inf",true

    Next

    If you notice... There are DLL files required to make it function as well as some others. Copy those files too and your good as gold.

    Chris

  10. The problem is.. That you can't just replace the driver by over writing the old one.

    There is more involved. If you do that the driver will function but not for any of the new devices (which is why you are replacing the driver). You have to add the PNP strings to the txtsetup.sif file as well.

    Chris

  11. PE will not be avaliable to the public because of the Hole it pokes in Security. I think that is one of the biggest problems that Microsoft had with Barts. The other problem is the total misuse of the product. PE is a tool not an OS.

    Rumor has it... that they are working on a version that will keep the NTFS security if it exists.

    Chris

  12. I have two partitions on a hard drive, one with BartPE and the other with some data.

    I know that it is not possible to change the boot drive from X: (as it is hardcoded) but is it possible to have the secondary partition mount as drive Y: or any other specific letter?

    I want the secondary partition to always show up as Y:

    WIN PE automatically assignes a drive letter to existing partitons on the HD.

    If you have an existing Drive C: it will show up as Drive C:

    Same for D: E:... etc...

    That is one of the reasons MS Uses X: as the PE Volume.

    You can change the letters with Diskpart but that will entail some fancy scripting.

    The pronblem you will have is making it work on every machine that you PE boot on. Diskpart is not the most firendly tool in the world.

    Chris

  13. Hello.

    We are using WinPE 2005 and Ghost 8.0 for imaging.

    The functionality is as followed.

    1.Booting WinPE

    2.Starting factory + registering dll

    3.VBScripts will started to gathering information

    4.after that diskpart destroys the existing partition

    5.diskpart create a new primary partition

    6.Format partition with ntfs

    7.Ghost will started to copy image to created partition

    8.Writing sysprep-information

    This works fine, but on some computers after ghost image is beeing restored, no access to data on partition is given. It looks like before step 7. If i´ve created an directory, for example, this directory existing after ghost also.

    Just if I boot the computer, the data on the partition become visible and then I can write on it. But why only on some computers this accures?

    It looks like the mapping table of the partition will not written or refreshed. Can I do it manual?

    Thanks for help in advance

    kRUSty

    No need to create a new partiton. Ghost will do that for you as you lay down the new image. Make sure you use the Partition switches on the command line. Not Drive letter.

    Chris

  14. FYI I just copied the original manual, but if I am not mistaken this is the new correct link http://users.compaqnet.be/cn181612/RAMDisk/ramdiskfree.htm

    But remember you better use the ramdrv.sys driver from Bart PE v3.0.32/v3.1.3 or the updated Microsoft ramdrv.sys from the WSSRA deployment kit.

    I was not going to use it.. Just wanted to take a look at it.

    Thisis not supported my Microsoft. Neither is Barts.

    Pure PE here.

    Chris

  15. I have done a few a those. HP remote insight boards are nice. Simply take the nic ofline and install it  :D but i agree that it is a better soloution to enum the macs.

    Currently im fighting with DB2, trying to get the db2 ole driver to work in pe. Looks like we will have to use a ms sql as a proxy instead

    No throw the layer of complexity in of MULTIPLE VENDORS. (IBM, HP, DELL, VMWARE)...

    Insiteboard is noce.. but only for HP.

    Thats what I run into all the time. Make it work across the board.

    My supported model list is up to 32.

    Chris

  16. Nice peice of code...

    The biggest problem the I see right off the bat is that it doesn't deal in machines with more than one network adapter.

    I ran this on my dektop and it picked up my VMware Bridged adapter instead of my real NIC. Servers have anywhere from 1 to 4 or even more network adapters. Most commonly 2 unless you add aditional cards.

    My other problem is that I have IBM servers that will actually report different values for the model. Same machine... Different Bios revs. Thats why I opted to stay away from WMI I can control the options that I present without having to worry about if the Manufacturer releases a bad bios rev.

    Chris

×
×
  • Create New...