Page 1 of 1

Wimlib Apply Boot

Posted: Sun Apr 22, 2018 12:04 pm
by laddanator
Hello,

I am new to the forum as I am new to wimlib. I'm loving this program so far!! I have a 600mb Win PE boot wim that I use to do a lot of my work in a "Virtual Windows" environment. I applied the wim to a folder to make some changes to some system file, and then used the capture command to put my new files into a wim, and the wim would not boot. I was able to add --boot option to the end of the capture command line, and my little wim booted fine.

I am having an issue getting a Win 7 or Win 10 wim to boot after I have applied with wimlib to a hard drive. I use this command to capture the WIM

Code: Select all

wimlib-imagex.exe capture %WinDrive% 10Pro.wim "Win 10 PRO" --compress=LZX --boot 
and this command to apply the WIM

Code: Select all

wimlib-imagex.exe apply Y:\WINSETUP\Win10Pro\10Pro.wim 1 %WinDrive% 
But after the apply command finishes, and I reboot the computer, and I get this error which was the same error I got on my little Win PE wim when it tried to boot before I did a capture using the --boot option.

Image

Any advice would be much appreciated! :)

Re: Wimlib Apply Boot

Posted: Mon Apr 23, 2018 9:46 am
by Skyblue
Hello,

After restoring the backup, did you try to recreate the BCD store in the WinPE environment?

Code: Select all

bcdboot C:\Windows /s C:

Re: Wimlib Apply Boot

Posted: Tue Apr 24, 2018 2:02 pm
by T-S
Maybe I'm missing something but whats the point of capturing with the --boot switch on a normal system.

Isn't that meant only for PE wims and alike?

Re: Wimlib Apply Boot

Posted: Wed Apr 25, 2018 12:25 pm
by laddanator
Skyblue wrote: Mon Apr 23, 2018 9:46 am Hello,

After restoring the backup, did you try to recreate the BCD store in the WinPE environment?

Code: Select all

bcdboot C:\Windows /s C:
This seemed to do the trick....thanks!!
T-S wrote: Tue Apr 24, 2018 2:02 pm Maybe I'm missing something but whats the point of capturing with the --boot switch on a normal system.

Isn't that meant only for PE wims and alike?
I was just testing different options. The --boot option is not needed on what I was trying to do.