Jump to content

load install.wim from external source


Recommended Posts

Hi.

we are currently handling with the following situation

i have two HDDs ... "C" with OS and "D" with work data and installing Windows 7 from USB flash

knows someone if it is possible put install.wim on drive "D" and from USB flash load only boot loader?

...set path to install.wim in Autounattend.xml or something

install from HDD is fastest way than usb flash stick

sorry my english

Edited by AnimaliX
Link to comment
Share on other sites


yes yes i try before but everytime i get this:

2012-03-24_170157.jpg

and part of my Autounattend.xml:


<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/image/index</Key>
<Value>1</Value>
</MetaData>
<Path>D:\install.wim</Path>
</InstallFrom>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>

tested on virtualbox (emulated ide dvdrom) and primary PC (USB flash)

Edited by AnimaliX
Link to comment
Share on other sites

You'll need to find out what drive letter the CD drive has. You can hard code a drive letter into your code like that ONLY when you can be relatively certain that it will be correct every time.

You can get a cmd at that screen with Shift+F10. Then you can find out what your CD drive is, and what is D: and/or if a D:\install.wim actually exists.

Link to comment
Share on other sites

Or you can use imagex /apply and place the contents of install.wim onto c: drive.

Place imagex and other necessary files and install.wim on D-drive, then use imagex /apply to extract and write the contents of install.wim onto C-drive.

Then, you can use BCDBOOT command-

Bcdboot.exe <source> [/l <locale> ] [/s <volume-letter> ] [/v]

<source> is windows source folder

/l <locale> is locale (such as en-us)

/s <volume-letter> is the target drive

/v is verbose mode

So you should issue-

bcdboot C:\windows\ /l en-us /s C: /v

to create a bcdstore on C drive (based on windows source files extracted from install.wim onto c-drive). Make sure c drive is the active partition, and boot the system, and it should start windows setup.

Edited by daremo
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...