• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Valer
    V
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 14
    • Groups 0

    Valer

    @Valer

    1
    Reputation
    48
    Profile views
    14
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Valer Unfollow Follow

    Best posts made by Valer

    • FOG 1.6.0-beta.2641 - Instalation on Debian 13

      Hello everyone,

      I am currently testing the FOG Project working-1.6 branch on a fresh installation of Debian 13 (Trixie) and encountered a fatal error during the installation script. I wanted to share the bug and a proposed fix.

      The Issue

      During the package installation phase, the installer fails with the following error:

      Installing package: sysv-rc-conf............................Failed! (Will try later)
       ...
       sysv-rc-conf:amd64=0.99-10 is selected for install
       sysv-rc-conf:amd64 Depends on sysvinit-core
      

      Because Debian 13 uses systemd, trying to install sysv-rc-conf forces the package manager to attempt installing sysvinit-core, which conflicts directly with systemd-sysv. The OS prevents this to avoid breaking the system, causing the FOG installation to halt.

      The Cause

      In /lib/ubuntu/config.sh, the variable sysvrcconf is hardcoded for all Debian versions:

      bash
      if [[ $linuxReleaseName_lower == +(*bian*) ]]; then
          sysvrcconf="sysv-rc-conf"
      

      Proposed Fix

      Since sysv-rc-conf is completely obsolete on modern Debian systems, we should exclude it for Debian 13 (and newer). I modified /lib/ubuntu/config.sh on my machine as follows, which allowed the installation to finish successfully:

      if [[ $linuxReleaseName_lower == +(*bian*) ]]; then
          # Exclude sysv-rc-conf for Debian 13 and newer
          if [[ "$OSVersion" -ge 13 ]] 2>/dev/null; then
              sysvrcconf=""
          else
              sysvrcconf="sysv-rc-conf"
          fi
      elif [[ $linuxReleaseName_lower == +(*ubuntu*|*mint*) ]]; then
      

      I hope this helps anyone else trying to deploy FOG on the upcoming Debian releases, and perhaps this check could be merged into the repository for future compatibility.

      Thanks for all the great work on FOG!

      posted in Bug Reports
      V
      Valer

    Latest posts made by Valer

    • RE: Partition Error

      To check the BitLocker status, open an elevated Command Prompt and run:

      manage-bde -status
      

      If the C drive shows as encrypted, disable BitLocker and allow the drive to fully decrypt before attempting another capture:

      manage-bde -off C:
      manage-bde -off D:
      

      Have you tried setting the image type to “Multiple Partition Image - All Disks (Not Resizable)” instead of “Single disk - resizable”?

      In “Single disk - resizable” mode, you will save an image of only one of the two disks. In the host settings, you can set the primary disk.

      Try disable Windows Fast Boot or restart computer from cmd

      shutdown /r /t 0
      
      posted in FOG Problems
      V
      Valer
    • RE: FOG: 1.5.4 -> How to setup NAS - Synology DiskStation as Master Node

      UPDATE 07/17/2026

      After some experimentation and examining the fogftp.class.php file, I found that FOG calls ftp_rename to move files from the /image/dev/<mac_host> folder to the /image/<image_name> folder.

      Finally, it helped me to connect with a regular ftp client (WinSCP) and try to move the folders manually. This is how I found out that the problem was in the permissions set on the folders.

      So I found out that from my original version 1.5.10.10 to the current 1.5.10.1903 there was a change in the file

      /lib/reg-task/taskqueue.class.php
      

      in the private function _moveUpload() method it was previously

      ->chmod(0777, $dest)
      
      and now it is
      
      ->chmod(0775, $dest)
      

      That (maybe) could be the reason why it stopped working for me. Thanks to this post https://forums.fogproject.org/post/156271

      chown -R fog:users /volume1/images/
      #set inheritance to the dev folder
      chmod g+s /volume1/images/dev/
      

      I connected to the NAS with ssh and fixed the permissions over the folders. Now it’s working fine again.

      posted in Tutorials
      V
      Valer
    • How to hide some items in the Advanced menu?

      FOG version: 1.5.10.1903

      Hello,

      I’m trying to hide the menu item “Perform Full Host Registration and Inventory” (fog.reginput) in the iPXE menu and make it available only after a user successfully logs in.

      My configuration is:

      PXE MENU HIDDEN = disabled
      NO MENU = disabled
      iPXE General Configuration → Advanced Menu Login = enabled

      Menu settings:

      1. Perform Full Host Registration and Inventory (fog.reginput)
        Menu Show With: Advanced Login Required

      2. Advanced Menu (fog.advancedlogin)
        Menu Show With: Show All

      Test scenario:

      I am booting a test machine that is not registered as a host in FOG.
      During PXE boot, the normal FOG menu is displayed.
      The Advanced Menu option is visible.
      I select Advanced Menu and successfully log in with my username and password.
      After authentication, I return to the FOG menu, but the “Perform Full Host Registration and Inventory” option is still not visible.
      I also tested the same behavior with Memtest configured as Advanced Login Required, with the same result.

      My expectation is that after a successful Advanced Menu login, all menu items configured with “Advanced Login Required” should become visible.

      Am I misunderstanding how this feature is supposed to work, or could there be another setting that I’m missing?

      Thank you for any help.

      posted in FOG Problems
      V
      Valer
    • RE: Partition Error

      Send a photo showing how your image is configured.

      posted in FOG Problems
      V
      Valer
    • FOG 1.6.0-beta.2641 - Instalation on Debian 13

      Hello everyone,

      I am currently testing the FOG Project working-1.6 branch on a fresh installation of Debian 13 (Trixie) and encountered a fatal error during the installation script. I wanted to share the bug and a proposed fix.

      The Issue

      During the package installation phase, the installer fails with the following error:

      Installing package: sysv-rc-conf............................Failed! (Will try later)
       ...
       sysv-rc-conf:amd64=0.99-10 is selected for install
       sysv-rc-conf:amd64 Depends on sysvinit-core
      

      Because Debian 13 uses systemd, trying to install sysv-rc-conf forces the package manager to attempt installing sysvinit-core, which conflicts directly with systemd-sysv. The OS prevents this to avoid breaking the system, causing the FOG installation to halt.

      The Cause

      In /lib/ubuntu/config.sh, the variable sysvrcconf is hardcoded for all Debian versions:

      bash
      if [[ $linuxReleaseName_lower == +(*bian*) ]]; then
          sysvrcconf="sysv-rc-conf"
      

      Proposed Fix

      Since sysv-rc-conf is completely obsolete on modern Debian systems, we should exclude it for Debian 13 (and newer). I modified /lib/ubuntu/config.sh on my machine as follows, which allowed the installation to finish successfully:

      if [[ $linuxReleaseName_lower == +(*bian*) ]]; then
          # Exclude sysv-rc-conf for Debian 13 and newer
          if [[ "$OSVersion" -ge 13 ]] 2>/dev/null; then
              sysvrcconf=""
          else
              sysvrcconf="sysv-rc-conf"
          fi
      elif [[ $linuxReleaseName_lower == +(*ubuntu*|*mint*) ]]; then
      

      I hope this helps anyone else trying to deploy FOG on the upcoming Debian releases, and perhaps this check could be merged into the repository for future compatibility.

      Thanks for all the great work on FOG!

      posted in Bug Reports
      V
      Valer
    • RE: FOG: 1.5.4 -> How to setup NAS - Synology DiskStation as Master Node

      Hello everyone,

      I am facing an issue with image capturing after performing an upgrade on my FOG server from 1.5.10 to 1.5.10.1886. Before the update, everything worked fine for me. The images were stored directly on the Synology NAS.

      My Setup:

      FOG Server: IP 192.168.10.220 (Debian 13)
      
      Storage: External Synology NAS with multiple virtual IPs (192.168.109.220 and 192.168.110.220).
      
      Storage Configuration: The Synology NAS is configured in FOG web UI as the Master Node for its storage group. The local Default storage node is NOT the master.
      
      Clients: Multiple clients on different subnets (e.g., 192.168.109.23 and 192.168.110.23).
      

      The Problem:
      The Partclone phase finishes successfully on the client machine. The image files are correctly uploaded via NFS directly to the Synology NAS into the /images/dev/[MAC_ADDRESS] folder.

      However, right after Partclone reaches 100%, the task gets stuck in the FOG Web UI (at around 70%), and the client screen shows the following PHP FTP error:

      Error returned: Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 709, Message: ftp_put(/images/dev/[MAC]): Failed to open stream: No such file or directory, Host: 192.168.110.220, Username: foguser

      What I have verified:

      I tested the FTP connection manually via CMD/PowerShell from a PC using the same foguser credentials. I am able to log in, mkdir, rename, and rmdir inside the /images and /images/dev directories on the NAS without any permission errors.
      
      If I move and rename the MAC folder manually inside Synology File Station from /images/dev/[MAC] to /images/[Image_Name], the image works fine.
      
      This setup worked flawlessly before the FOG server upgrade. The /images directory is NOT mounted locally on the FOG server itself (and never had to be).
      
      Verified FTP username and password on NAS and FOG. It's same.
      

      It seems that fogftp.class.php is incorrectly triggering ftp_put (trying to read a local file from the FOG server) instead of doing a remote ftp_rename directly on the NAS storage node.

      Has anyone encountered this bug after a recent upgrade, or is there a specific setting in the new version that I missed?

      Thank you for any help.

      Storage Node for NAS
      Storage Node for NAS.png

      Error on PC
      U10-PC13.jpg

      posted in Tutorials
      V
      Valer
    • RE: IPXE 2.0 Secure Boot Working

      Has anyone tried this? It would be very useful for my organization. Any guidance on what files to manually replace/edit?

      posted in General
      V
      Valer
    • RE: [HELP WANTED] Client Internationalization

      Czech language code cs-CZ

      ### SHUTDOWN PROMPT ###
      {company} je vyžadována údržba tohoto počítače.
      Uložte prosím Vaši práci a ukončete všechny programy.
      Zrušit
      Skrýt
      Odložit
      Restartovat nyní
      Vypnout nyní
      Odložit o
      X hodin Y minut Z sekund
      
      ### NOTIFICATIONS ###
      Vypnutí přerušeno
      Vypnutí bylo přerušeno
      Vypnutí odloženo
      Vypnutí bylo odloženo o {time}
      K vypnutí dojde v {time}
      
      Chystáte se odhlásit
      Pokud zůstanete neaktivní, budete odhlášeni
      
      Instaluje se {snapin name}
      Prosím nevypínejte počítač dokud nebude dokončeno.
      
      {snapin name} byl instalován
      Instalace byla dokončena a je nyní připravena k použití
      
      posted in General
      V
      Valer
    • RE: FOG with UEFI - rEFInd Error: Failure booting legacy (BIOS) OS

      @Sebastian-Roth Thank you very much. It worked. Now everything is ok.

      posted in General Problems
      V
      Valer
    • RE: FOG with UEFI - rEFInd Error: Failure booting legacy (BIOS) OS

      Hi,

      i have this issue. After upgrade from Fog 1.5.5 to 1.5.6 not work rEFInd.

      In 1.5.5 works all fine. HP workstation boot from UEFI PXE, FOG did not task and then normaly load Windows 10.

      In 1.5.6 HP workstation boot from UEFI PXE ok, FOG did not task and then freeze on line “rEFInd - Initializing…” and nothing happens. I wait 5 minutes. Keyboard not response. Only powerbutton on pc case power off computer.

      I tried change in /var/www/fog/service/ipxe/refind.conf config to “scanfor internal”. The same problem remains.

      I dont know what to do next.

      posted in General Problems
      V
      Valer