• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. george1421
    3. Best
    • Profile
    • Following 1
    • Followers 64
    • Topics 113
    • Posts 15,325
    • Best 2,773
    • Controversial 0
    • Groups 2

    Best posts made by george1421

    • RE: Error no such file or directory

      @abdel The error message indicates that no pxe boot information is making it to the target computer. Please try to pxe boot with a physical computer. For this test you don’t need to do anything other than get to the fog ipxe menu. Make sure when you pxe boot a physical computer you know if its in bios or uefi mode, because the value entered in dhcp option 67 is specific to the pxe booting computer. For bios computers you need undionly.kpxe in option 67 and for uefi computers you will need ipxe.efi in dhcp option 67.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Time for a New FOG Tutorial

      @marsface said in Time for a New FOG Tutorial:

      I recently got a FOG environment set up, but it was a huge pain. The documentation is all over the place, and often very outdated, but we got it done.

      How much exactly did you pay for the rights to install and setup FOG?

      Probably not the way I would go about asking for help from a forum driving support system. There is always room for those folks who would want to update or create the perfect FOG documentation.

      My question is now, is there a new tutorial or method for using FOG with autopilot that will inject drivers without having to create a new golden image for each type of device, or need to include drivers in the golden image. I have the CAB files set up in the FOG server, so why do I need to put the drivers on the C drive as well?

      As the person who wrote the tutorial on drive injection using FOG that was written before autopilot. And truth be told autopilot is a windows “thing” not a FOG thing. FOG only moves data blocks from here to there. I can tell you at the time I was deploying a single golden image to 14 different hardware platforms by injecting the drivers as I had laid out in the tutorial. The issue you have is that FOG is linux based and not MS Windows based (as with SCCM/WDS/MDT) so there are only a limited things FOG can do during deployment (move data blocks from here to there). FOG can’t step in and run windows applications. Once FOG imaging is done, its up to the target OS to complete the setup.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Multiple TFTP Servers

      @GorkaAP Ok your explanation is very clear of the problem.

      I have a couple of ideas here:

      An additional building, located 4 kilometers away, shares the same network subnet.

      I have see remote locations connected via a WAN have issue with loading the iPXE boot loaders via tftp. In this case the computers would error out where it can not download the NBF boot file. The issue was related to the tftp block size being larger that the MTU packet size on the WAN. If you are direct conneted between the remote building with fiber this is probably not your issue.

      Having both locations on one subnet makes things a bit harder since dhcp works off broadcast domains and your local and remote locations have the same broadcast domain since they are on the same subnet.

      The FOG booting process is such
      PXE Rom (target computer) boots and queries dhcp to find dhcp options 66 and 67
      PXE Rom downloads the bootloader pointed to by options 66 and 67
      The iPXE boot loader boots and again queries dhcp for dhcp option 66 to locate the FOG server.
      The IPXE boot loader then will chain load to the fog server over tftp default.ipxe
      default.ipxe will chain load boot.php.

      If you are on the same subnet between the sites and it works at the main campus but not at the remote campus then this is the first time ipxe chain loads to http instead of tftp. From the remote campus can you get to the fog server’s web ui?

      It might help to debug if you can snap a clear picture of the error message on the target computer as you get the chain load error.

      One additional thing I can think is if you have more than 1 dhcp server within this broadcast domain (such as a primary/slave) make sure both have the proper dhcp option settings. I have see two dhcp servers with one having the setting configured and the other without cause random issues. Whichever dhcp responded first the client would use (one having the proper boot setting and the other without).

      Bonus additional thing: You are using dnsmasq to provide pxe boot information. Could there be something filtering out the DHCP Discover packet from the client at the remote site? I can see where/if DNSMASQ would work at the main campus, where the remote campus might not, if the DISCOVER packet is getting lost on its way to the DNSMASQ service. You can test this on the dnsmaq server by using tcpdump and monitoring for port 67 or port 68 Now power on a computer at the remote building, do you see the DISCOVER packet arrive at the dnsmaq server? The DISCOVER packet starts the process in DNSMASQ to send the pxe boot information to the target computer.

      Bonus++ thing. If your link speed to the remote location is less than 1GbE you can install a fog storage node at that location and deploy your computers using the storage node. (this assumes you solve the pxe booting issue). You will install the location plugin into fog then assign computers to the remote location as well as the storage node. It will still boot using the main campus dhcp and tftp server, but actual image deployment will happen via the storage node not the WAN link.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Multiple TFTP Servers

      @GorkaAP I hate to begin with this, but that referenced document deals with a 10 year out of date version of FOG.

      Lets see if we can work out a solution using a current release. Please state the problem you are trying to resolve.

      posted in FOG Problems
      george1421G
      george1421
    • RE: FOG deployment problem (partition)

      @alexpolytech94 The shrinking of the disk when using single disk resizable is a bit of black magic. Sometimes because of the actual data size or location of the data on the disk its not possible to shrink the volume down enough to make it fit on a disk that is 1/2 the size of the source disk. I won’t go into too much detail, but if you have a partition that is fixed in size that can’t shrink, but a partition just before it on the disk that can shrink, fog will shrink the one that can be shrunk but leaves the one that can’t be shrunk as it were. If you were to deploy that image to a computer with half the size that non shrunk partition would be technically beyond the last sector on the 1/2 size disk.

      To put it another way, always build your mother image on the smallest disk possible, because it can expand to a larger target disk more often than shrink your image to fit on a smaller disk.

      When I was building golden images I would build them on a VM with a 50GB hard drive (smaller than anything I would deploy it to) and then let FOG expand the disk to match the target disk size. That always worked.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Isolated Network Install - No Internet

      @atlas You need to have internet access to install FOG. I have seen some people install 2 network adapters in the fog server, one on the business network and one on the isolated network. The nic on the business network is for management and (install time only) internet access. This keeps the isolated network isolated.

      FWIW that wiki page you referenced is 10 years old and does not currently apply to a current version of FOG.

      FWIW: You can manually download the inits and kernels from here: https://github.com/FOGProject/fos/releases/

      posted in FOG Problems
      george1421G
      george1421
    • RE: Isolated Network Install - No Internet

      @atlas When it comes to opensource, the only wrong answer is one that doesn’t work. Well done!

      Another hackish way would be to instead of changing the programming, you could enter a fake/but valid entry in the /etc/hosts table to point the dns entry to your internal server. This way you can use fog native code when version next comes out. But again if it worked for you it was the right answer.

      posted in FOG Problems
      george1421G
      george1421
    • RE: VPN Subnet

      You are going to have to draw a picture with IP addresses of how this infrastructure is connected. Use fake public addresses, but real internal addresses.

      I can tell that that the way FOG with a master, storage nodes, and FOG clients are designed… they are expected (storage node and fog clients) to be able to reach the master node 100% of the time to remain operational. So If you have a fully routeable site to site VPN then everything will work as designed. If you have intermittent connection then things won’t work quite as well. The storage node needs to be able to contact the master node because the database only exists on the master node. So this link needs to be up 100% of the time. PXE booting is local then jumps to the master node to load boot.php.

      posted in FOG Problems
      george1421G
      george1421
    • RE: FOG storage node and data replication

      While I can’t comment on the FOG code, at lot of systems will launch a process and then keep track of that process via a handle until it stops. In the destructor for the instances they will kill off the task based on the handle that was created when the process was launched of the application instance dies before the launched processes. I think the intent of the replicator was to have only one instance of the lftp process running at one time so it wouldn’t be too difficult to keep track of the process handle (as apposed to several hundred processes).

      With the current design you normally wouldn’t have to start and stop the replicator multiple times, so having multiple instances of the lftp process running should never happen. I’m not seeing the value in putting energy into fixing a one off issue.

      posted in FOG Problems
      george1421G
      george1421
    • RE: FOG storage node and data replication

      My preference would be to not do something out of band if possible. It does appear that creating a fake image with its path set to /image/drivers is choking the FOG replicator because of the sub folders, so I’m going to back out that change. Because no replication is happening because of that error.

      I haven’t dug into the fog replicator code yet, but I’m wondering if rsync wouldn’t be a better method to replicate the images from the master node to the other storage nodes. Rsync would give us a few more advanced options like data compression and only syncing files that were changed than just a normal file copy.

      posted in FOG Problems
      george1421G
      george1421
    • RE: FOG storage node and data replication

      Its a trunk build 5040.

      Looking at the drivers folder. I have a combination of files and sub folders. Depending on how smart the replicator is it may not handle or traverse the sub folders.

      The structure of the drivers folder is such.
      /images/drivers/OptiPlex7010.zip
      /images/drivers/OptiPlex7010/audio
      /images/drivers/OptiPlex7010/audio/<many files and sub folders>
      /images/drivers/OptiPlex7010/video/<many files and sub folders>
      <…>

      I suspect that the replicator was only designed to copy the image folder and one level of files below.

      posted in FOG Problems
      george1421G
      george1421
    • RE: FOG storage node and data replication

      Rebooting the storage node appears to have started the replication /images/drivers but so far only the first file has replicated.

      Looking at /opt/fog/logs/fogreplicator.log on the master node I see this error.

      [10-22-15 8:19:52 pm] * shvstorage - SubProcess -> mirror: Fatal error: 500 OOPS: priv_sock_get_cmd
      [10-22-15 8:21:08 pm] * shvstorage - SubProcess -> Mirroring directory drivers' [10-22-15 8:21:08 pm] * shvstorage - SubProcess -> Making directory drivers’
      [10-22-15 8:21:08 pm] * shvstorage - SubProcess -> Transferring file `drivers/DN2820FYK.zip’

      the zip file is the only thing in /images/drivers on the storage node.

      posted in FOG Problems
      george1421G
      george1421
    • RE: FOG storage node and data replication

      OK that sounds like a plan. I’ll set that up right away.

      Do you know what the replication cycle interval is or where to find the setting? Under “normal” production once a days is sufficient, but I can see during development that we might need to shorten it to just a few hours.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Dell XR11 No Bootable Media

      @fhhowdy This error looks similar to what I might expect when secure boot is enabled. Check the firmware settings to ensure that secure boot is disabled, which will allow the FOG boot manager (iPXE) to load.

      Something else to keep in mind is that FOG’s imaging operating system (FOS), is really targeted towards laptop/desktop computers and not servers. Servers often use hardware not commonly found on workstation class computers. I’m not saying it won’t work, we will just need to be mindful if things act abnormally. Machine class isn’t the issue here, because your server is not booting into the boot manager. The problem I mentioned may come when you pick an action from the boot menu.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Chainloading Simple Next Server ?

      @Cire3 The short answer is that it’s possible, but it depends on how nextboot.xyz handles dhcp information.

      The simples form is to add this to the fog ipxe menu builder parameter block.

      chain tftp://192.168.1.12/nextboot.xyz || goto Menu
      

      If nextboot.xyz uses dhcp information (which will point to the fog server unless we alter it.

      set newserver:ipv4 192.168.1.12
      set newbootfile nextboot.xyz
      
      set net0.dhcp/next-server ${newserver}
      set net0.dhcp/filename ${newbootfile}
      set proxydhcp/filename ${newbootfile}
      
      chain tftp://${newserver}/${newbootfile} || goto Menu
      
      posted in FOG Problems
      george1421G
      george1421
    • RE: Error generating image

      @Thiago-Ryuiti The error is saying that the service account fogproject doesn’t have rights to the /images directory.

      This typically happens for two reasons.

      1. Someone changed the password to the fogproject linux user account on the fog server. This password is managed by the FOG installer script. If someone intentionally changed this password you will need to fix it. The complex password is saved in a hidden file in /opt/fog/.fogsettings file. You will need to be root or su to root to be able to view this file. If you need to keep this changed password for some reason there is a process to resync the password with what FOG thinks.
      2. Someone has changed the permissions on the /images directory after FOG was installed.
      posted in FOG Problems
      george1421G
      george1421
    • RE: Issues With UEFI When Trying To Capture Images

      @1337darkin My initial reaction is don’t use virtual box, my second thought is don’t use virtual box…

      The thing is that vb uses iPXE as its own internal boot loader, and the issue is chaining with FOG’s version of iPXE. The screen shot you show is VB’s version of iPXE running trying to call snponly.efi where its failing. This is an issue with VB and not specifically with FOG.

      I think there is a fix for this but I can’t seem to find it at the moment, google-fu is weak today.

      On a totally abstract note. You can capture a uefi image with FOG in bios mode. And on the flip side you can capture a bios disk image in uefi mode. BUT to be able to boot that image after image/deployment the target computer’s firmware needs to match the disk image.

      posted in FOG Problems
      george1421G
      george1421
    • RE: How to use fog with two different VLANs

      @professorb24 from 192.168.52.X can you ping devices on 192.168.54.X. If yes then you have network routing setup.

      Once you pass full routing, what is your dhcp server for 192.168.52.X and 192.168.54.X?

      posted in FOG Problems
      george1421G
      george1421
    • RE: Fog menus painfully slow if host computer is running Windows 11

      @EuroEnglish I’m finding it hard to believe that there is a connection of having win11 on the computer that is causing this behavior. When the fog menus are being displayed, we are running iPXE boot loader. This in a way is an OS by itself. The OS on the target computer is not even known about at this point in the booting process.

      The only thing I can think is that the format or disk structure is now allowing iPXE to fully initialize correctly.

      Could you make this test for us? If you have 2 computers of the same model (make sure that bit locker is disabled on both systems) and secure boot is disabled.). One with win11 and one with win10. Verify they both behave the same way as you mentioned above.
      On the win11 computer remove the hard drive/nvme drive. Boot into the FOG iPXE menu. Does it still have the slow speed?
      Move the hard drive from the win10 computer to the win11 computer. Does the system act slow or normal?

      posted in FOG Problems
      george1421G
      george1421
    • RE: Dell Latitude 3550 Unable to PXe

      @MonsterKaos There are 3 issues (well really 4 issues) that is probably impacting your deployment.

      1. You have really new hardware, but you are running an old version of FOG.
      2. Your version of iPXE (the boot loader that provides the FOG Menu is old (this is probably causing the no connection methods.
      3. Your version of the FOS Linux kernel (you haven’t got this far yet) is probably too old.
      4. You are missing some of the enhancements to the FOS Linux OS that interface with NVMe drives. Just be aware if you have issues deploying to nvme drives you should probably upgrade to FOG version 1.5.10 and then upgrade to the branch version of 1.5.10. This is not a mandatory upgrade unless you have issues deploying your image.

      For issues 2, I have instructions on how to compile the latest version of iPXE here: https://forums.fogproject.org/topic/15826/updating-compiling-the-latest-version-of-ipxe Your fog server will need to have internet access to get the latest source code for iPXE. This should address the no configuration methods.

      For issue 3, in the fog ui go to fog configuration-> kernel update. Download the latest kernel 6.x series to get support for the newest hardware.

      Lets see where that works for you with deploying images.

      posted in FOG Problems
      george1421G
      george1421
    • 1 / 1