Trying to deploy Windows 11 25H2 using FOG always leads to the Windows recovery screen
-
This post is deleted! -
Have you sysprep your Windows before capture ? (i don’t think it’s related but it’s important to do this, if no need nothing just launch C:\Windows\System32\Sysprep\sysprep.exe and coche generalize, shutdown)
I use “Multiple Partition Image All Disks” just for the upload, and after upload done, i set “single disk resizable” for the deploy.
-
@Florent I do sysprep before capture but I used the GUI version of it that Windows offers me in the admin login. I click on “generalize” and “shutdown” and wait for it to do it’s thing but I’ll do the CLI version of it the next time. And did I understand that right, you use “Multiple Partition Image - All Disks” and before deploying you set it to “Single Disk - Resizable”?
-
@lucamathuse said in Trying to deploy Windows 11 25H2 using FOG always leads to the Windows recovery screen:
And did I understand that right, you use “Multiple Partition Image - All Disks” and before deploying you set it to “Single Disk - Resizable”?
Exactly
-
@Florent okay and what exactly does it do? I mean that can’t really work, can it? I capture it one way and deploy it another.
I just tried it again with Single Disk for both capturing and deployment on a clean Win 11 install. I ran these commands:
reagentc /disable(I removed the recovery partition because I read somewhere that it can cause troubles when capturing),powercfg -h offandC:\Windows\System32\Sysprep\sysprep.exe /oobe /generalize /shutdown.The captured image looked like this:
-rw-r--r-- 1 fogproject fogproject 4 Apr 7 08:18 d1.fixed_size_partitions -rw-r--r-- 1 fogproject fogproject 1.0M Apr 7 08:18 d1.mbr -rw-r--r-- 1 fogproject fogproject 697 Apr 7 08:18 d1.minimum.partitions -rw-r--r-- 1 fogproject fogproject 20 Apr 7 08:18 d1.original.fstypes -rw-r--r-- 1 fogproject fogproject 0 Apr 7 08:18 d1.original.swapuuids -rw-r--r-- 1 fogproject fogproject 697 Apr 7 08:18 d1.partitions -rw-r--r-- 1 fogproject fogproject 697 Apr 7 08:18 d1.shrunken.partitions -rw-r--r-- 1 fogproject fogproject 15M Apr 7 08:18 d1p1.img -rw-r--r-- 1 fogproject fogproject 767 Apr 7 08:18 d1p2.img -rw-r--r-- 1 fogproject fogproject 3.3G Apr 7 08:23 d1p3.img.000I don’t know why it’s so hard for me to capture an image of Windows 11. I just need to do it once and then never again.
-
@lucamathuse
I don’t remember if it’s related to Win11 we have this in our postdownload script :if [ -n "$hd" ]; then if [ "$hd" = "/dev/nvme0n1" ] ; then partsys=$hd'p2' partdata=$hd'p3' else partsys=$hd'2' partdata=$hd'3' fiWe use Virtualbox, install classic WIndows 11, disable Bitlocker, and capture with FOG with image set to “Multiple Partition Image - All Disks”
My folder capture :d1.mbr d1p1.img d1p2.img d1p3.img d1p4.img d1.partitions d1.sizeMaybe try capture debug to see which partition FOG get during your capture