Recapture a cloned disk
-
Hello, i’m making a dual boot image (Win11/Ubuntu24)
I :
- deployed our Win11 golden image on the computer (without booting to keep post install scripts)
- installed Ubuntu alongside with a USB stick
- shutdown
- Capture
The issue is that it tells me that the ntfs partition is dirty and that i need to boot windows.
Is it possible to recapture a deployed image without booting once ? I’d like to have the postdeploy scripts to run on the final computer, not the one used to make the dual boot
-
@Small0145
powercfg /h off
Most of the time, the reason people see this is “shutdown” goes into a special mode called “Fastboot” which works similarly by flipping the dirty bit on the drive.
The command I posted here should prevent “fast log” so when you shutdown, the machine ACTUALLY powers off without any dirty bit.
-
@Tom-Elliott the thing is, i did not boot on Windows, i deployed our syspreped golden image, so at first boot it will configure windows and install drivers.
-
@Small0145 Sure, but it still seems like the golden image had this issue. How it got there I don’t know. I would suggest attempting to boot windows, perform the chkdsk/scandisk as needed. Then shutdown (may need to re-sysprep) after running this command. Windows 11, to my knowledge, can be a little bit strange sometimes.
-
@Tom-Elliott I fixed it by directly removing the dirty flag using Linux.
sudo ntfsfix -d /dev/nvme...
We need to redo our golden image, so we will check at that time if we still get the same behavior.
Thx for the help !