windows could not collect information for [OSImage] since the specified image file [install.wim] does not exist

คำถาม windows could not collect information for [OSImage] since the specified image file [install.wim] does not exist

  • Monday, September 24, 2012 10:26 PM
     
     

    Hi, before I go out of my mind I need help! ;-) What I'm trying to do is simply find a way to add some drivers to my Windows 7 Ent SP1 x64 French DVD. I need to add drivers because the Windows setup can't see my hard drive because of the SAS controller. So here's what I try so far.

    1- Extract, using MagicISO, the files boot.wim and install.wim from my Windows 7 ISO.

    2- Run these commands:

    a)

    boot.wim index=1

    dism /Mount-Wim /WimFile:"C:\boot.wim" /index:1 /MountDir:"C:\mountdir"

    dism /Image:"C:\mountdir" /Add-Driver /Driver:"C:\Temp"

    dism /Unmount-Wim /MountDir:"E:\Windows 7 ent SP1 x64" /commit

    boot.wim index=2

    dism /Mount-Wim /WimFile:"C:\boot.wim" /index:2 /MountDir:"C:\mountdir"

    dism /Image:"C:\mountdir" /Add-Driver /Driver:"C:\Temp"

    dism /Unmount-Wim /MountDir:"E:\Windows 7 ent SP1 x64" /commit

    install.wim

    dism /Mount-Wim /WimFile:"C:\install.wim" /index:1 /MountDir:"C:\mountdir"

    dism /Image:"C:\mountdir" /Add-Driver /Driver:"C:\Temp"

    dism /Unmount-Wim /MountDir:"E:\Windows 7 ent SP1 x64" /commit

    3- Finally, I overwrite the files boot.wim and install.wim in D:\sources of my Windows 7 ISO and save the new ISO under a new name.

    So far so good. Now when I try to boot with my new ISO I can select my language then I get the error: "Windows could not collect information for [OSImage] since the specified image file [install.wim] does not exist". I tried the same pattern with 2 versions of Windows 7 I have and I still get the same error! Is it even possible to modify the Microsoft original DVD/ISO? I need a Windows 7 DVD/ISO that can detect and install on an hdd from a SAS controller on a Lenovo S30.

    Note: I did use Google. I also tried to search the Microsoft forums for an answer. So far nothing! And since I use an ISO image for my tests please don’t tell me to switch DVD brand or burn at a lower speed. Thanks

    Thanks in advance for the help!

    Guillaume

All Replies

  • Wednesday, September 26, 2012 6:35 AM
    Moderator
     
     

    Hi,

    Do you still keep the original wim files? You may perform the following steps to add the drivers for SAS controller.

    1. Copy the drivers for your motherboard's SAS controller to a diskette or USB stick.

    2. Boot from your Windows 7 DVD and at the screen that says "Install now" select "repair....".

    3. Press Load Drivers and browse to your SAS controller driver. Select and press "Add drivers" (no need to select anything in the list).

    4. After drivers are loaded, just close the repair window, and press the "Install now" button.

    5. Installation should work now.

    Hope it helps.


    Tracy Cai

    TechNet Community Support

  • Wednesday, September 26, 2012 8:31 PM
     
     

    Hi Tracy, I'm sorry I forgot to mention that this image is use in the deployment of 1000 computers. I don't have the time or the man power to manually add the driver this way.

    Thanks anyway for the help!

  • Friday, September 28, 2012 12:27 PM
    Moderator
     
     
    Hi,
    Please try the following commands and check the result.
    boot.wim index=1
    =================================
    dism /Mount-Wim /WimFile:C:\boot.wim /index:1 /MountDir:C:\mountdir
    dism /Image:C:\mountdir /Add-Driver /Driver:C:\Temp /Recurse
    dism /Unmount-Wim /MountDir:C:\mountdir /commit
    boot.wim index=2
    =================================
    dism /Mount-Wim /WimFile:C:\boot.wim /index:2 /MountDir:C:\mountdir
    dism /Image:C:\mountdir /Add-Driver /Driver:C:\Temp /Recurse
    dism /Unmount-Wim /MountDir:C:\mountdir /commit
    install.wim
    =================================
    dism /Mount-Wim /WimFile:C:\install.wim /index:1 /MountDir:C:\mountdir
    dism /Image:C:\mountdir /Add-Driver /Driver:C:\Temp /Recurse
    dism /Unmount-Wim /MountDir:C:\mountdir /commit

    Tracy Cai

    TechNet Community Support

  • Friday, September 28, 2012 6:24 PM
     
     

    Hi Tracy, I already tried that. I end up with the error "Windows cold not collect information for [OSImage] since the specified image file [install.wim] does not exist".

    Guillaume

  • Friday, October 05, 2012 8:28 AM
     
     
    Please let me know how you deply the system, I mean how you boot. Since you have more than 1000 computers, I think you may use some useful tool to boot directly, such as WDS, SCCM, not just putting the files on every machine and boot.

    Thanks
    Zero

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Friday, October 05, 2012 4:54 PM
     
     

    Hi Zero Xia, the question I asked here is for being able to install my Windows 7 Ent SP1 x64 base image on any hardware that I have included the drivers while creating the image. For example, right now if you try to install manually Windows 7 on a Lenovo S30 it won't work. The S30 come with a SAS controller that Windows can't recognize. So Windows is not able to see the hard disk. All I want is a way to modify the original Windows 7 Ent SP1 x64 DVD so that Windows will be able to, at least, detect correctly this SAS controller, install Windows normally and boot on it. By the way when I'm finish creating my Windows 7 base image I run the command sysprep. So it always flushes my new drivers. Which is why I'm here trying to find a better way to do this than having to create a unique Windows 7 base image just for this type of computers. The rest doesn't matter. I'm already able to deploy easily my Windows 7 base image using Novell ZENworks.

    Guillaume

  • Saturday, October 06, 2012 8:27 AM
     
     

    The reason why I asked how you deployed the system is that in WDS, we have an option to add drivers to the image, and this kind of issue can be avoided usually. Even you are using 3rd party solution, I think there still should be a method to add the drivers in the tool.

    Could you please let me know how you created the ISO in the last step? Just copied the new WIM file to the original ISO? Have you tried the oscdimg command like below:
    oscdimg -n -bC:\temp2\boot\etfsboot.com C:\temp\ISOsource C:\W7.ISO

    You may refer to the following articles:

    Oscdimg Command-Line Options
    http://technet.microsoft.com/en-us/library/cc749036(v=WS.10).aspx

    http://www.thomasmaurer.ch/2011/01/add-drivers-to-windows-installation-iso/


    Thanks
    Zero

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Thursday, October 11, 2012 6:25 PM
     
     

    Did you build a custom unattend.xml file for this?

    Sounds like the unattend is missing the "windowsPE" settings pass.

    Under the "Microsoft-Windows-Setup" component, set the ImageInstall parameters. If this portion is missing from the unattend, it will default to 'install.wim' which doesn't exist.

    Best of luck