Page 2 of 2
Re: using wimlib apply wim file cannot boot
Posted: Wed Jan 18, 2023 8:55 pm
by JFX
Yes, DISM++ does update the MountedDevices key in the applied Os.
Re: using wimlib apply wim file cannot boot
Posted: Wed Jan 18, 2023 10:00 pm
by Tokener
JFX wrote: ↑Wed Jan 18, 2023 8:55 pm
Yes, DISM++ does update the MountedDevices key in the applied Os.
Thank you JFX
Best regards T.
Re: using wimlib apply wim file cannot boot
Posted: Thu Jan 19, 2023 6:41 am
by lvw
Thanks JFX & Tokener,
I would try:
1. copy files from Tokener mentioned,
(
but I have copy the whole c's config from C: to D: before;
if you are talking about copy from dism++ applied drive, it might be the JFX's solution?
)
2. update the mount device key
could you share more information about how to update the registry?
Re: using wimlib apply wim file cannot boot
Posted: Thu Jan 19, 2023 2:14 pm
by JFX
\DosDevices\C: tells Windows which partition should be mounted as C:
If you apply your OS to a different partition, it will still point to the old one.
So after apply do load offline registry and swap the mountpoints
Code: Select all
reg load D:\Windows\System32\config\system HKLM\sys
and with Regedit.exe change HKLM\sys\MountedDevices, \DosDevices\C: with the value from HKLM\System\MountedDevices, \DosDevices\D:
and the same for HKLM\sys\MountedDevices, \DosDevices\D: and HKLM\System\MountedDevices, \DosDevices\C:
then unload offline hive with:
Re: using wimlib apply wim file cannot boot
Posted: Mon Jan 30, 2023 2:34 am
by lvw
Hi JFX,
I would try reg load/unload to edit mounted devices,
and access that with regedit.exe GUI first.
Thanks for sharing info.