Im using wimlib to capture running c: and apply it to d: (same disk),
but after apply the wim file and bcdboot setting, I can't boot into windows with black screen;
another test with dism++(they said cbs based) to apply wim file (capture by wimlib),
it boot successfully with bcdboot setting.
Any idea or suggestion on this situation? thanks.
using wimlib apply wim file cannot boot
Re: using wimlib apply wim file cannot boot
Hello Ivw
I had this case before, interesting!
Please check "D:\Windows\System32\config" folder. (after you applied with wimlib)
Must be (~about) equal to "C:\Windows\System32\config".
I remember that wimlib messed up files inside when applying. Maybe because locked Registry hives are applied.
If you boot Win system (with dism++ applied), what letter does Windows partition get, and what is your starting partition?
Regards T.
I had this case before, interesting!
Please check "D:\Windows\System32\config" folder. (after you applied with wimlib)
Must be (~about) equal to "C:\Windows\System32\config".
I remember that wimlib messed up files inside when applying. Maybe because locked Registry hives are applied.
If you boot Win system (with dism++ applied), what letter does Windows partition get, and what is your starting partition?
Regards T.
Re: using wimlib apply wim file cannot boot
Hi Tokener,
Did you mean after copy/replace the config, windows could successfully boot?
---------
After replace the whole config folder, still not working when select D: to boot.
With dism++ and bcdboot set, windows boot entry would display 2 windows;
and switch different entry (partition) to boot, the drive letter would be like C: & D: (D: & C:).
Did you mean after copy/replace the config, windows could successfully boot?
---------
After replace the whole config folder, still not working when select D: to boot.
With dism++ and bcdboot set, windows boot entry would display 2 windows;
and switch different entry (partition) to boot, the drive letter would be like C: & D: (D: & C:).
Re: using wimlib apply wim file cannot boot
Hi Ivw
Just saying there was a malfunction when applying(?).
I will repeat the test with dism++ and report back asap.
Regards T.
Unfortunately: NoDid you mean after copy/replace the config, windows could successfully boot?
Just saying there was a malfunction when applying(?).
I will repeat the test with dism++ and report back asap.
Regards T.
Re: using wimlib apply wim file cannot boot
Hi Ivw
some information would be useful:
what version of Windows did you capture with what tool?
how was the time difference between the capture-events?
regards T.
some information would be useful:
what version of Windows did you capture with what tool?
how was the time difference between the capture-events?
regards T.
Re: using wimlib apply wim file cannot boot
Hi Tokener,
windows 10 1909 pro capture by wimlib,
and
apply with wimlib --> fail
apply with dism++ --> success
their apply time very close, and both of them after apply,
I would do bcdboot setting manually.
windows 10 1909 pro capture by wimlib,
and
apply with wimlib --> fail
apply with dism++ --> success
their apply time very close, and both of them after apply,
I would do bcdboot setting manually.
Re: using wimlib apply wim file cannot boot
Hi Ivw
I could reproduce the error discribed, using Win10 22H2 -OS base.
For me both ways of capturing (Wimlib-captured and dism++-captured) failed the same way.
Even starting in safe mode ended in an eternal error-loop.
But:
Both images (Wimlib-captured and dism++-captured) are valid.
Applying images from an other OS (I used wimlib on Win7-U) and writing BCD from Win10-XPE-system made both Operating Systems boot and run without error.
I, for me, draw the conclusion that the error / fault happens when the image gets applied or the BCD entry is written.
Maybe Win10 is restrictive when it comes to cloning OS on same PC.
Best regards T.
P.S.
just noticed that applying with dism++ succeeded.
did not try this, maybe something to investigate ....
I could reproduce the error discribed, using Win10 22H2 -OS base.
For me both ways of capturing (Wimlib-captured and dism++-captured) failed the same way.
Even starting in safe mode ended in an eternal error-loop.
But:
Both images (Wimlib-captured and dism++-captured) are valid.
Applying images from an other OS (I used wimlib on Win7-U) and writing BCD from Win10-XPE-system made both Operating Systems boot and run without error.
I, for me, draw the conclusion that the error / fault happens when the image gets applied or the BCD entry is written.
Maybe Win10 is restrictive when it comes to cloning OS on same PC.
Best regards T.
P.S.
just noticed that applying with dism++ succeeded.
did not try this, maybe something to investigate ....
Last edited by Tokener on Wed Jan 18, 2023 4:38 pm, edited 1 time in total.
Re: using wimlib apply wim file cannot boot
Dear Ivw
I apologize for inaccurately reading your post.
You wrote:
- You captured OS with wimlib-imagex (snapshot)
- You applied with two different tools (running online Windows):
dism++ -> success
wimlib -> failed
- BCD entry was written OK
I could reproduce your scenary and found:
following files were not accessed / modified when booting the (wimlib-applied) OS:
All in C:\Windows\System32\config\
BBI
DEFAULT
SAM
SECURITY
SOFTWARE
SYSTEM
after copying these files from the one time booted (dism++-applied) OS to the (wimlib-applied) OS the (wimlib-applied) OS started and worked OK.
the procedure of copying these files was done on external OS (Win7-U_x64).
Hope it helps. T.
I apologize for inaccurately reading your post.
You wrote:
- You captured OS with wimlib-imagex (snapshot)
- You applied with two different tools (running online Windows):
dism++ -> success
wimlib -> failed
- BCD entry was written OK
I could reproduce your scenary and found:
following files were not accessed / modified when booting the (wimlib-applied) OS:
All in C:\Windows\System32\config\
BBI
DEFAULT
SAM
SECURITY
SOFTWARE
SYSTEM
after copying these files from the one time booted (dism++-applied) OS to the (wimlib-applied) OS the (wimlib-applied) OS started and worked OK.
the procedure of copying these files was done on external OS (Win7-U_x64).
Hope it helps. T.
Re: using wimlib apply wim file cannot boot
If you apply windows to a different partition, you need to change registry accordingly.
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices, \DosDevices\C:
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices, \DosDevices\C:
Re: using wimlib apply wim file cannot boot
Hello JFX
Regards T.
Does Dism++ do this?If you apply windows to a different partition, you need to change registry accordingly.
Regards T.