• Deploying FOG in a Secure‑Boot‑Mandated UEFI Environment

    Unsolved FOG Problems
    3
    0 Votes
    3 Posts
    2k Views
    K

    I’ve gotten a very similar set up to what you want and have tried working.

    You’ll need to either rebuild the FOG version of iPXE with the shim command enabled or use a stock version of iPXE with the default.ipxe script replaced with an autoexec.ipxe script (I haven’t tested this so you mileage may vary). Once you’ve done that you can just sign your iPXE binary with your sec boot key, and save it as grubx64.efi (or see this Shim Issue or this part of the foguefi install script if you use Dell PCs.)

    Finally now when you netboot, provided you also have mokmanager (mmx64.efi) in the same folder, you’ll be prompted to install your secboot key and on next boot you’ll be able to boot. iPXE with secure boot on. You will also need to sign you bzImage etc and then modify your default.ipxe script to load the shim with the shim command, and then you’ll be able to boot into fog fully!

    If anyone wants I can put together a more coherent guide and I’m happy to answer any questions you have on this.

  • Location Plugin - PHP Warning and Location Assigned Node not working

    Unsolved FOG Problems
    5
    0 Votes
    5 Posts
    1k Views
    C

    Hi @Tom-Elliott,

    Currently both nodes are in the same storage group as I want to replicate images and snapins from the Master to the Normal storage Node. I read through some documentation and it seems this should still happen if they are in different storage groups. Is this true?

    If so, I believe this second issue should be fixed.

  • 0 Votes
    17 Posts
    2k Views
    Tom ElliottT

    @Fog_Newb probaly just typoed it and i went with it too lol.

  • 0 Votes
    4 Posts
    3k Views
    R

    @marcolefo Sounds like the package ‘build-essential’ should be an install target of the FOG install script? It doesn’t seem to be.

    However I think my distro installs of Debian 12 and Mint 22.1 both installed that package by default.

  • Migrating to a new fog server

    General
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    3 Posts
    1k Views
    F

    @Tom-Elliott sounds good!

  • failing to install package php-mysqlnd

    Linux Problems
    5
    0 Votes
    5 Posts
    2k Views
    R

    Solved for me on Linux Mint 22.1

    The base problem is that php-mysqlnd is a “virtual package” that is included in the package php-mysql, and trying to install it individually (as the FOG install script does) fails with apt dumping a list of php mysql versions and that “You should explicitly select one to install.” Even if php-mysql is already installed.

    The solution for me was to remove php-mysqlnd as an install target in the FOG install scripts. As of this date, that includes:

    In file [fog install pkg path]/lib/ubuntu/config.sh:

    remove ‘php-mysqlnd’ from line 26 "packages="apache2[…]

    In the file [fog install pkg path]/lib/common/functions.sh:

    remove the lines

    php-mysql*) for phpmysql in $(echo php-mysqlnd php-mysql); do eval $packagelist "$phpmysql" >>$error_log 2>&1 if [[ $? -eq 0 ]]; then x=$phpmysql break fi done ;;
  • 0 Votes
    3 Posts
    991 Views
    M

    @george1421 Thank you so much! I enabled portfast on the switch port, and it works on physical PCs.

    Kernel panic - not syncing: VFS: Unable to mount root fs on "/dev/ram0" or unknown-block(1,0) Kernel Offset: disabled ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on "/dev/ram0" or unknown-block(1,0)

    But sometimes this error appears even if I haven’t changed anything in the configuration and files. Even if I update or roll back the init.xz or bzImage file to a previous version, it doesn’t help. The only thing that seems to work is setting up a completely new FOG server, but after some time, the problem can come back. How I can find right version or how I can solve this problem? Most time it error on PCs with UEFI

  • Printer not showing for non Admin User Accounts

    Unsolved Windows Problems
    1
    0 Votes
    1 Posts
    124 Views
    No one has replied
  • Dell Optiplex 7020: Multicast problem

    Unsolved FOG Problems
    1
    0 Votes
    1 Posts
    885 Views
    No one has replied
  • Help needed for multiple Ubuntu desktops deployment

    Unsolved FOG Problems
    4
    0 Votes
    4 Posts
    899 Views
    george1421G

    @uzee FOG doesn’t change or really step into the target system during deployment. You CAN do this if you write a post install script that will get called once the target image is deployed to the target computer. In the case of a linux computer you could potentially set the target computer’s name here by updating the /etc/hostname file or anything else you can do with a bash script. The FOG Client can also be configured to make changes to the target computer or install applications based on instructions from the fog server. Its really identifying what you want to do and how much automation you want to script. Its all possible with FOG and a little creativity on your end. Since you already know Ubuntu (linux) bending FOG to what you want will be easier than coming strictly from a MS Windows background.

  • multicast flow

    Unsolved FOG Problems
    2
    0 Votes
    2 Posts
    846 Views
    S

    version is 1.5.10

  • Image capture issue from VM

    Unsolved FOG Problems
    4
    0 Votes
    4 Posts
    871 Views
    U

    I was not able to figure out capturing the image from a VM, I decided to use an actual desktop as the master/golden image. It made more sense as it would include the right hardware type, drivers, etc. I have captured the image finally. Now on to deployment

  • Image sync Main / Master node

    Unsolved General
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • FOGBackup.sh does not back up the database

    Unsolved FOG Problems
    1
    0 Votes
    1 Posts
    799 Views
    No one has replied
  • No Network Interfaces Found Error

    Unsolved FOG Problems
    4
    0 Votes
    4 Posts
    869 Views
    george1421G

    @Ryxn I checked and that nic has been in the linux kernel for several years.

    And secondly when you checked for missing firmware the kernel wasn’t complaining about missing something.

    Its a good thing you were able to get the error while in debug mode. Because that was going to be the next quest for you. To get the system when its behaving badly.

    So when you get it into debug mode and its complaining about no nic lets do the following.

    ip a s should show if the network interface has an ip address, I’m going to suspect no because it complained about it earlier in the boot process.

    lspci -k -nn | more Look through this list until you find the entry. The number in the square brackets will be what you posted earlier. [8086&1502]. See if the nic is visible to the kernel. AND if it is it should mention what kernel driver its using. I’ll give you a for example using my laptop.

    0000:00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection ( 13) I219-V [8086:15fc] (rev 20) Subsystem: Dell Ethernet Connection (13) I219-V [1028:0a22] Kernel driver in use: e1000e Kernel modules: e1000e

    lastly if everything looks good, kernel sees the nic, there is a kernel driver assigned. Lets see if time fixes your problem.

    When you ran the ip a s command it listed all of the network interfaces and if it has IP addresses. You will need to know the interface name for your network adapter. It may be something like eno1 or ens192, or something else. Get that device name.

    Now run this command /sbin/udhcpc -i $iface --now replacing the whole word $iface with the device name listed from the ip command. This will tell the network adapter to again poll for an IP address from your dhcp server. If it picks up an IP address this time, then time does solve your problem and you will need to look into your network configuration and make sure that port-fast or fast-stp is enabled on your network port.

  • 0 Votes
    1 Posts
    579 Views
    No one has replied
  • FOG Dashboard showing wrong date of captured images?

    Unsolved FOG Problems
    1
    0 Votes
    1 Posts
    690 Views
    No one has replied
  • Secure LDAP authentication

    General
    4
    0 Votes
    4 Posts
    1k Views
    AUTH IT CenterA

    @DBCountMan said in Secure LDAP authentication:

    Do I need to have a cert that is trusted by my domain’s root CA in the FOG’s root store?

    As far as I know, no.

    @DBCountMan said in Secure LDAP authentication:

    BTW the screenshot at the bottom of that thread you linked shows “Use LDAP SSL” but I do not have that option.

    The last screenshot is from the 1.6-alpha version of FOG Server.

    The screenshot in https://forums.fogproject.org/post/155590 is from the current stable 1.5.10.xxxx version and as you can see it uses 636 port.

  • Literally cant even run ./installfog.sh -_-

    Unsolved FOG Problems
    5
    0 Votes
    5 Posts
    826 Views
    J

    @tacOS said in Literally cant even run ./installfog.sh -_-:

    I keep getting told to run “su -” or “sudo -i”, while and after having run one, the other, or BOTH. just the same error over and over.

    It’s a workaround but I managed to continue by editing installfog.sh and deleting the if-fi block that has this message. I think it’s using a very specific way of testing that might not work in every distro ( like the previous block that checks if the user ID is 0 to see if it’s root and it won’t work on distros that randomize the root’s ID). I’m working on Garuda Linux (Arch based), and I’ve hit another wall at the end with TFT but at least it’s installed.