• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. JJ Fullmer
    3. Posts
    • Profile
    • Following 5
    • Followers 4
    • Topics 55
    • Posts 955
    • Groups 3

    Posts

    Recent Best Controversial
    • RE: 1.6.0-alpha.1377 not showing available images on host

      @MatMurdock

      First I would ask you to check the php error log
      cat /var/log/php-fpm/www-error.log
      And post any relevant errors or warnings occurring at the same time this happens.

      Then 2 things I would try

      I’d start with trying ipxe.efi instead of snponly.efi. I don’t remember if the kernel is loaded at that point so a different pxe boot file could help.

      The other thing to do is update the kernel and Init to the latest “experimental” versions. There’s a wizard to do it in the gui for both under the configuration menu. Then give it another go.

      posted in Bug Reports
      JJ FullmerJ
      JJ Fullmer
    • RE: Restrict access to web management UI?

      @fogcloud Pxe boot has to get to the boot.php file. It does this over port 80 or 443 if you have https enforced. When you enforce https ipxe is compiled with the fog ca and the certificate generated by said ca as trusted certs within your local version of ipxe.
      I’m not quite sure what you mean by restricting access only to the web UI. Do you mean close all other ports? Because that will likely break tftp and nfs as they use other ports and imaging and pxe boot will be broken. ipxe itself will be fine if you’ve booted to it outside of native pxe boot where the ipxe boot file (i.e. ipxe.efi or snponly.efi) is downloaded via tftp. ipxe then downloads the boot.php file from the fog web server and boots to it to get to the fog pxe menu.

      posted in General Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Group Management Settings not saving

      @MatMurdock You can also do a full host registration and that allows you to set the group and the snapin associations at registration and kick off the image from there.

      I use the API powershell module (see my signature) and have created custom functions and powershell tools to manage most my assignments. That takes a bit more work to get setup at scale but gives you more customization options.

      Starting fresh, well depends on how fresh, the best answer depends on how you’re going to use Fog. Like if these are all brand new computers that aren’t in any other system yet, then doing quick reg on them all might be best.
      I myself do full registration and inventory for new hosts. If all your computers already exist on the network or in Active Directory you could get the host information and import. Many moons ago I made this host scanner example https://forums.fogproject.org/topic/9560/creating-a-csv-host-import-from-a-network-scan?_=1721413305258 that will create a csv of all hosts and their macs on your network in the provided subnets.
      If you can get them all in before hand, then mass-setting the snapins would be much easier.

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Group Management Settings not saving

      @MatMurdock A newly imaged machine will automatically deploy any assigned snapins.

      The design is flexible and you can do it in many different ways but here’s a general example that would utilize a group.

      • You have a group named ‘Group A’ with computers you want to image with the same image and join the domain in the same ou and have them use the same bunch of snapins
      • You assign the image via group management, they all now have the same image
      • You assign the AD information, they all now have the same AD info
      • You assign some snapins, they all now have those snapins assigned (in addition to anything else those hosts already have assigned, you could also do a group remove of all snapins first if desired)
      • You push the task to deploy or multicast deploy on the group
      • All the machines in that group now have a deploy task for the image and a deploy task for the snapins associated
      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Fog Client replaced powershell script with "Please update your FOG Client, this is old and insecure"

      @MatMurdock That is correct.
      If git pull gives you trouble (sometimes happens on upgrades) then do this within your git folder (i.e. /root/fogproject)

      git fetch --all
      git checkout working-1.6
      git reset --hard origin/working-1.6
      git pull
      

      Then the cd bin and installfog.sh are good.

      Also lols to CrowdStrike

      posted in Windows Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Fog Client replaced powershell script with "Please update your FOG Client, this is old and insecure"

      @sideone https://forums.fogproject.org/topic/17575/snapins-not-downloading-to-client-hash-check-error just linking to your other post.

      posted in Windows Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Group Management Settings not saving

      @MatMurdock Are you using the persistent groups plugin? When you set something in group management I believe it doesn’t save persistently unless you’re using that plugin. The idea is that you’re setting that settings on all hosts in that group the one time. I might be remembering that wrong, but that’s what I recall.

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: NVMe PCIe : BSOD after imaging "INACCESSIBLE_BOOT_DEVICE"

      @nathan67 That sounds like the image doesn’t have the nvme driver.
      There’s a potential easy solution, first check the bios settings on the nvme machine, if there are settings for intel VMD or intel optane make sure those are off. They require a different storage driver that isn’t including by default in windows.

      You could also try recapturing the image from the nvme based machine

      The more complicated solution involves recapturing the image and ensuring you use sysprep and add a set of basic storage drivers that don’t get wiped so they’re embedded and at the ready for multiple use cases. If the other options don’t work I can find some time to help with that. If it requires the intel vmd driver though, I’ve had experiences where that driver makes older non-vmd intel chipsets fail to boot. So I eventually gave up on having VMD enabled, it’s a pretty sweet feature and can add some performance, but not enough to matter for the operational complexity within a controlled and mixed business environment (at least that’s what I went with for me).

      posted in Windows Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: My drivers can't install

      @IT-MAN
      Where are you capturing your image and are you using sysprep to generalize the image without any drivers?

      The only way for driver injection to work on the windows side automatically is to use sysprep via an unattend.xml. Well I guess technically setupcomplete.cmd may run after setup without it according to https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/add-a-custom-script-to-windows-setup?view=windows-11 but utilize sysprep and an unattend.xml is far more robust.

      It is possible to inject just the driver files into the disk in a post download script but without sysprep to kick it off, you can run into issues.

      This requires capturing your image with sysprep and an unattend.xml. One thing you can do with unattend.xml is remove the drivers from the image so that conflicting drivers don’t exist, then you can add the pnputil portion in the specialize phase of sysprep.

      This post is what I used and I added some of what I’ve done on top of it that may be of help.

      https://forums.fogproject.org/topic/8889/fog-post-install-script-for-win-driver-injection
      Also this one
      https://forums.fogproject.org/topic/7740/the-magical-mystical-fog-post-download-script

      At a high level, driver injection being dynamic per model has some assumptions

      • You captured an image that doesn’t have model specific drivers (this is easiest when capturing from a VM and using sysprep)
      • You have drivers organized within your /images nfs share
      • You have a postdownload script that detects the model, finds the drivers, mounts the windows disk, and then injects them into a known path
      • You have a method to kick off a script that installs the drivers into windows
        • For example, I have a synchronouscommand in my specialize phase of my unattend that runs pnputil against the injected path, so drivers are loaded as early as possible in the process
      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Management images problem

      @alexpolytech94 I’m still a bit confused. So have you had working images with fog in the past and they suddenly stopped working?

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Host not registered" appears again and again

      @paranoid64 Technically the menu is just ipxe, but when capturing or deploying images, getting hardware inventory, stuff like that you’re booting into fos which is in the kernel and init.
      You can manually make a backup of the old kernel and init that can be just as easily restored. I believe in working-1.6 this happens automatically but to be safe you can just run this on your fog server linux terminal

      sudo mv /var/www/html/fog/service/ipxe/bzImage /var/www/html/fog/service/ipxe/bzImage.old
      sudo mv /var/www/html/fog/service/ipxe/init.xz /var/www/html/fog/service/ipxe/init.xz.old
      

      To revert you can simply reverse those like this

      sudo mv -f /var/www/html/fog/service/ipxe/bzImage.old /var/www/html/fog/service/ipxe/bzImage
      sudo mv -f /var/www/html/fog/service/ipxe/init.xz.old /var/www/html/fog/service/ipxe/init.xz
      

      You can also name the new kernels different and specify a different kernel per host, but since this is happening before registration is recognized, it’ll be better to update globally to test it out. I am currently using the ‘experimental’ kernels in production with 0 issues.

      Another thing to look at is some log files.
      See if you have anything helpful in /var/log/php-fpm/www-error.log and post it here

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: HP Z8 Fury G5 Workstation Desktop PXE boot

      @alessandro19884 Is that working-1.6? I would update your fog server, that error should be fixed in the latest version.

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Host not registered" appears again and again

      @paranoid64 Can you add the macs of the 4 intel lan ports to the host in the web ui? One of those macs may be being used to query the host. It should be able to see all of them and find the match but something is off.

      You could try updating to the latest experimental kernel and init. If you update to the dev-branch or working-1.6 branch you can update the init in the web GUI or you can do it manually by downloading it from https://github.com/FOGProject/fos/releases and putting the init.xz on your server manually.
      See also https://docs.fogproject.org/en/latest/manual-kernel-upgrade
      The reason that might help is we recently added functionality for better handling of pass-thru macs. That’s not quite the case here, as it’s mostly for laptops that require a USB ethernet adapter to pxe boot, enabling mac address passthru in the bios/firmware of such systems now works as intended within fog with the new kernel and init as it will find the correct mac when there’s a passthru mac, but the new behavior may also benefit you here.

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Fog stops at init.xz...18% and other percentages

      @steveballantyne Did you also update the Kernel and Init? What version fo FOG are you on?

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Management images problem

      @alexpolytech94

      Firstly what version of Fog are you on?

      Also are you saying that your images disappeared overnight? Or are you saying you can’t create just an image object in the web UI to then capture to?
      We need a little more information and context I think

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Using SMB as default node

      So this will not work for a few reasons, but it is possible to use windows.

      Why it won’t work

      When you boot into fog (FOS - Fog Operating System) it has loaded on the client machine.
      The client machine then mounts an nfs share to upload/download an image from.
      If your nfs share is pointing to another file share, the client only has access to the first NFS share, nfs won’t share out that smb share. I once tried to do something similar in a subfolder of /images for drivers. It has to be local.

      However, it is possible to create a storage node that is just an nfs share, and you can create an nfs share on a windows machine (preferably a windows server install).

      We need to update the this doc still to be in the fog docs site and to apply to newer versions of windows but the general principles outlined in this wiki article https://wiki.fogproject.org/wiki/index.php?title=Windows_Storage_Node should still apply.

      Essentially you need to

      • Add the nfs server feature/role to the windows machine
      • Create an nfs share on windows
      • add a storage node definition in fog that points to the windows nfs share (see also https://docs.fogproject.org/en/latest/storage-node for info on storage nodes in general)
      • there are some other steps to ensure you capture to the storage node as you configure the storage group/node that I don’t recall off the top of my head
      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: An Error has been detected when attempting to load Ubuntu 22.04.1

      @Rudolf So Fog can do what you want there’s just a few steps you skipped.

      Fog will essentially do the same idea of copying the SSD from one to another but in a more centralized manner with more customization capability.

      Basically, you need to

      • Install and configure the OS on a Virtual or Physical machine (virtual is easier to maintain if you already have a virtual infrastructure)
      • Capture the image of that machine with fog
      • Deploy the image to hosts

      See https://docs.fogproject.org/en/latest/capture-an-image and https://docs.fogproject.org/en/latest/intro for some more info.

      You can also expand further with customization of how you update your reference image, with windows there’s sysprep and other tools to help create a reference image, I’m sure linux has tools as well, I’m just not as well versed in them.

      You can also edit the fog pxe menu to boot to an iso, I’m sure we have some examples in the forum for that.
      There are also pre/post scripts so you can have a linux bash script that runs after an image is complete to do further customization of the image.

      It sounds like Fog is the tool that will do what you’re trying to do, there’s just a bit more setup.

      posted in General
      JJ FullmerJ
      JJ Fullmer
    • RE: pxe booting using dhcp from home router

      @Mr_____T I would also agree with @Tom-Elliott that the proxy dhcp with dnsmasq is the way to go. Especially with a router from your isp like that, it’s unlikely you’d be able to set those settings. I have seen the needed DHCP options on my Asus router at home but haven’t played with that just yet.

      If you get us the particulars on that failure (error message, deploy or capture, os being deployed/captured, etc) we will gladly help with that too.

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: An Error has been detected when attempting to load Ubuntu 22.04.1

      @Rudolf The output you have here shows the imgpath it’s looking for is /images/cinema/cinema.iso the deployed image should not be an ios, or is that just what you named your image?
      Are you able to deploy other images?

      posted in General
      JJ FullmerJ
      JJ Fullmer
    • RE: I can't capture my image "mounting partition (/dev/nume0n1p3) failed" HP probook 440 g9

      @xirrax We are happy to help but we need a bit more information.

      What version of FOG are you running?
      Are you able to capture images from other devices?
      If yes, is there something different about this device?
      What OS are you capturing?
      Is there anything special about the partitions of this image?
      What messages do you see before you see this error? We need to know what point in the process this is happening.

      The error is saying it can’t mount partition 3, can you boot this host into fog and run the compatibility tool? Let us know what it says under disk and other options?

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • 1 / 1