• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. GRISLET
    3. Posts
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 5
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Deploy task never marked complete on GPT/UEFI disks with "Single Disk - Resizable" + Partition: Everything — client reboots into infinite deploy loop

      Hi Tom,

      In my case the culprit was /images/postdownloadscripts/fog.postdownload.

      echo "Activating boot partition..."
      sfdisk --activate /dev/sda 1
      
      echo "Rebooting..."
      reboot -f
      

      Fix was simply commenting out (or deleting) those lines. After cleanup the file looks like this:

      cat /images/postdownloadscripts/fog.postdownload
      #!/bin/bash
      ## This file serves as a starting point to call your custom postimaging scripts.
      ## <SCRIPTNAME> should be changed to the script you're planning to use.
      ## Syntax of post download scripts are
      #. ${postdownpath}<SCRIPTNAME>
      
      

      Thanks for the pointer, Tom — saved me from chasing GPT partition tables for a problem that had nothing to do with them.

      posted in FOG Problems
      G
      GRISLET
    • Deploy task never marked complete on GPT/UEFI disks with "Single Disk - Resizable" + Partition: Everything — client reboots into infinite deploy loop

      FOG version: 1.5.10.2482 (reproduced also on 1.5.10.1660 before upgrading — same behavior on both)
      Base OS: Debian, Apache + PHP-FPM (proxy:fcgi on 127.0.0.1:9000)
      Target OS being imaged: Windows 11, UEFI/GPT, 4 partitions (ESP, MSR, Windows, Recovery)
      Image config: Image Type = “Single Disk - Resizable”, Partition = “Everything”, Image Manager = “Partclone Zstd”

      Steps to reproduce:

      1. Capture a Windows 11 UEFI/GPT image with the above settings (Debug mode shows “Cloned successfully” with no errors).
      2. Deploy the same image back to the same physical machine, only swapping the disk (same hardware, same boot mode — rules out network/driver/boot-mode mismatches).
      3. On the client, the deploy completes all local disk work correctly: partition UUIDs reset for all 4 partitions, GPT bootable-flag activation (“Activation is unsupported for GPT — entering nested PMBR…”), disks synced, then reboot — no errors ever shown on screen.
      4. On the server side, the task is NEVER marked complete. On next PXE boot, boot.php tells the host to deploy again, re-downloading bzImage/init.xz and restarting the whole deploy — infinite loop.

      Evidence from Apache access log (other_vhosts_access.log), filtered by client IP:

      …
      12:20:31 POST /fog/service/progress.php 200 (every ~3s throughout cloning)
      12:20:34 POST /fog/service/progress.php 200 <- LAST call from client
      [48s gap — local disk work: UUID reset, GPT flag activation, reboot]
      12:21:23 POST /fog/service/ipxe/boot.php 200 <- client re-PXE-boots, asks server what to do
      12:21:23 GET /fog/service/ipxe/bzImage 200
      12:21:23 GET /fog/service/ipxe/init.xz 200
      …

      No request of any kind (successful or failed) appears between the last progress.php and the reboot — the client never attempts to signal task completion.

      Already ruled out:

      • Network/DNS/certificate issues (progress.php calls succeed with 200 OK throughout the entire clone).
      • Image content/corruption (reproduced identically with a Clonezilla-produced partclone image manually placed in FOG storage, not just FOG’s own capture).
      • Outdated FOG version (reproduced identically before and after upgrading server + client kernel/init to the latest stable 1.5.10.2482).
      • Windows 11 “dirty bit”/Fast Startup (disabled, verified clean before capture; also irrelevant since Clonezilla-sourced image fails the same way).

      Suspected area: the completion signal appears tied to the GPT partition-table recreation / resize path used by “Single Disk - Resizable”. Have not yet confirmed whether “Multiple Partition Image - Single Disk (Not Resizable)” avoids the issue — will update if I test this.

      Happy to provide full debug-mode screen captures, video, or additional log excerpts on request.
      I coudnt find information about this using IA o in this forum.

      Thanks

      posted in FOG Problems
      G
      GRISLET
    • RE: Issue when I tried to make Windows 11 gold image

      Hi Again guys

      I have some news about this problem.
      I found a work around.

      I change the file d1.fixed_size_partitions deleting the recovery Windows partition. This change generated and error when I made the deploy image in Client PC.
      But if I cancel the job in the CLI fog server and reset the client machine after fog show the error
      It boot ok.

      I’ll continue reading …
      Thanks

      posted in Windows Problems
      G
      GRISLET
    • RE: Issue when I tried to make Windows 11 gold image

      Hi everyone, and thanks for your answers.

      Good news! If FOG works for you, it’ll work for me too (comming soon).

      @mashina said in Issue when I tried to make Windows 11 gold image:

      I am not aware of any completion message on the server. As far as I know, once the progress bar in the Task tab reaches 100%, the image has been fully cloned to the computer. Can you confirm if that is what you are seeing?

      In the PC client, yes it’s exactly this message appears

      @mashina said in Issue when I tried to make Windows 11 gold image:

      Based on your description, it sounds like your configuration is not capturing the boot partition. As a result, when the image finishes deploying, the system cannot find a valid boot mechanism and falls back to network boot.

      I’m looking at the clone I made on a test PC, and I can see using diskpart that the BCD was created correctly.

      The files are there.

      I tried rebuilding the BCD using the commands.

      509 / 5000
      Hi everyone, and thanks for your replies.

      Good news! If FOG works for you, it’ll work for me too (eventually).

      I’m looking at the clone I made on a test PC, and I can see using diskpart that the BCD was created correctly.

      The files are there.

      I tried rebuilding the BCD using the commands. The output is correct, but Windows won’t boot.

      boot C:\Windows /l es-es /s X: /f UEFI

      @pilipp_edv said in Issue when I tried to make Windows 11 gold image:

      d8eb6692-2fff-4250-9ce8-9bf34f1e1183-image.png

      I have the same configuration in my server.
      But i tested the others options (im not used DD)

      I don’t know what other options I have to check.
      Do you know of any logs where I can find more information?

      Regards

      posted in Windows Problems
      G
      GRISLET
    • Issue when I tried to make Windows 11 gold image

      Good evening everyone!

      I’m a new FOG user and new to this forum.

      I need to capture a master image in Windows 10 and another in Windows 11 so I can distribute them to multiple clients using PXE.

      My server:
      I installed my server (version 1.5.10.1660) on Linux Debian and was able to upload a “gold” image in Windows 10. I had some problems.
      I could resolved the issue to make manually the partition and install Windows 10.
      I use for this image Legacy

      My problem:
      My current problem is that I’m trying to do the same but using Windows 11 and UEFI. At the moment, it’s impossible.

      I’ve read on this forum, and in theory, the procedure is the same (and easy, but I can’t).

      https://forums.fogproject.org/topic/16947/fog-windows-11

      I tried:

      I disabled Secure Boot.
      I created different images to test the configuration. There were recommendations to use the config single disk resizable or multiple partitions option.

      I tried using Clonezilla (which uses PartClone) and I was able to create images on a USB drive. I took that image and uploaded it to my FOG server and (obviously XD) it didn’t work.

      I tried rebuilding the machine’s BCD. It worked with Windows 10, but not with Windows 11 (it creates the partitions with the information, but it doesn’t boot).

      The problem is that the image never finishes deploying. On the client, it reaches 100%, restarts, and starts again. On the server, I never see the completion message.

      If I cancel the task or disconnect the network cable after restarting, the image won’t boot.

      Can anyone guide me on how to solve this problem? Any links I can read?
      Sorry for “my” english. Im using Google translate

      posted in Windows Problems
      G
      GRISLET
    • 1 / 1