Developers

Private

Posts

  • RE: Determine version installed after update

    @Nono Without going through the web interface you can check the file in /var/www/fog/lib/fog/system.class.php.
    Toward the bottom of the file there is a line that start with define('FOG_VERSION'

    posted in Linux Problems
  • RE: Unable to Capture an image: ERROR: Could not adjust the bad sector list

    @bond007fink A new version of ntfs-3g, which is the parent package for ntfsresize, has finally been released last week. That’s after 4 years of no updates. If all goes well, I will be doing an experimental release this weekend with the newer package.

    As @Tom-Elliott stated, this is not an issue with FOG itself, instead FOG relies on tools like ntfs-3g and partclone to handle all the NTFS filesystem changes. Hopefully this updated version fixes your issue.
    I will update the thread once the experimental release is available.

    posted in FOG Problems
  • RE: Sysprep in FOG?

    @trent_potter Yes you figured it out. Sysprep is a Windows utility, it has nothing to do with FOG. It is always recommended to sysprep before capturing an image.

    posted in General
  • RE: EFI Stub Errors on XCP-ng Virtual Machine Attempting 'Perform Full Host Registration and Inventory'

    @JCS-RVK Okay so I don’t see why this kernel wouldn’t work for you with those settings. Only difference I can think of may be the initrd version that is being loaded. I know that @BPSTravis is using the latest released version so it wouldn’t hurt to update yours too.

    I also see that you are running an older version of FOG. You could upgrade to the latest stable release and that will also download the latest initrd.

    You could also download it manually if you don’t want to update FOG:

    On your FOG server, run this command to download the latest initrd
    wget https://github.com/FOGProject/fos/releases/download/20260306/init.xz

    Move it to the correct location like this:
    sudo mv init.xz /var/www/fog/service/ipxe/

    Then you need to change the permissions and ownership of that file:
    sudo chmod 644 /var/www/fog/service/ipxe/init.xz

    Red Had based server: sudo chown fogproject:apache /var/www/fog/service/ipxe/init.xz

    Debian based server: sudo chown fogproject:www-data /var/www/fog/service/ipxe/init.xz

    posted in FOG Problems
  • RE: EFI Stub Errors on XCP-ng Virtual Machine Attempting 'Perform Full Host Registration and Inventory'

    @JCS-RVK Hi I have a kernel that should work for XCP-ng. If you don’t mind giving it a try and let me know if it works for you please.
    You will need to download and set it up manually but here are the instructions.

    On your FOG server, run this command to download the test kernel
    wget https://github.com/rluzuriaga/fos/releases/download/EXPERIMENTAL_XCP_1/bzImage
    That will download it to whatever directory you are currently on.

    Rename the file and move it to the correct location like this:
    sudo mv bzImage /var/www/fog/service/ipxe/bzImage_XCP

    Then you need to change the permissions and ownership of that file:
    sudo chmod 644 /var/www/fog/service/ipxe/bzImage_XCP

    Red Had based server: sudo chown fogproject:apache /var/www/fog/service/ipxe/bzImage_XCP

    Debian based server: sudo chown fogproject:www-data /var/www/fog/service/ipxe/bzImage_XCP

    Then add bzImage_XCP to the Host Kernel line in the XCP-ng host on the FOG web.
    Also, remove all the host kernel arguments.

    posted in FOG Problems
  • RE: Image creation and network connection

    @BLT I don’t necessarily have a timeline for the final release but I did just release an experimental kernel with a newer nic driver. It may work for you if you want to give it a try.

    posted in FOG Problems
  • RE: Image creation and network connection

    @BLT Hi I am working on an updated kernel that should support newer hardware like the Framework Desktop.

    posted in FOG Problems
  • RE: EFI Stub Errors on XCP-ng Virtual Machine Attempting 'Perform Full Host Registration and Inventory'

    I have a windows 11 golden VM residing on an xcp-ng 8.3 host, I am able to boot into the fog menus and upload images(although sometimes the console window blanks out after 3-4 minutes so I use snapshots and brute force to get it to complete).

    Try adding this to your host kernel arguments: xen_emul_unplug=unmodified nomodeset vga=788

    Also use the intel nic option not realtek. I am not using a custom kernel for my VM, just the latest same as any other machine.

    UEFI bios mode on the VM(required for TPM).

    posted in FOG Problems
  • RE: FOG hangs on "... free base memory after PXE unload"

    @jas777 Hi sorry for the delay. I believe I have the solution for this issue.
    I haven’t been able fully test these changes on physical hardware, so I pushed them to another branch. Please clone the repository and change the branch like this before installing:

    git clone https://github.com/fogproject/fogproject.git
    cd fogproject
    git switch ipxe-bios-test
    

    Let me know if it works out for you.

    posted in FOG Problems
  • RE: FOG hangs on "... free base memory after PXE unload"

    @jas777 It looks like you are running an old version of iPXE. The newest version, as of 10 minutes ago when I built it, is 1.21.1+ (g21b5b).
    I may be wrong, since I don’t use my own custom certificate, but you probably need to rebuild your iPXE with the new certificate.

    posted in FOG Problems