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

    Posts made by george1421

    • RE: Broken iPXE boot loader

      @Mightmar I wonder if the devs for iPXE has changed something in the ipxe source code to cause this error message about autoexec.ipxe not found. This should be supplied by the fog project add on files. I’ll take a look at the compiler to see if something has changed. You should not see this error.

      Reinstalling 1.5.10 will fix the error of the latest build of iPXE. Also you mentioned about a later version of FOG. Yes you can install that over 1.5.10 without issue. It should also have updated (but not the newest version of iPXE).

      posted in FOG Problems
      george1421G
      george1421
    • RE: Broken iPXE boot loader

      @Mightmar Just a few points of info to give you.

      1. iPXE is managed by a different project than the FOG Project. They have a quicker release cycle than the FOG Project so they will/may support newer hardware quicker.
      2. When a specific version of FOG is released it contains the current version of iPXE at the time a specific version of FOG is released.
      3. If you manually update iPXE using the following instructions: https://forums.fogproject.org/topic/15826/updating-compiling-the-latest-version-of-ipxe and then reinstall FOG 1.5.10 it will replace the updated version of iPXE created by the previous script with the version shipped with FOG 1.5.10. This is by design in case you make a change that breaks FOG you can always fix it by rerunning the FOG installer putting back the FOG files to a known good state.

      So to say it another way, if you find issues with iPXE not supporting certain hardware, I would always upgrade the version of iPXE first and just remember that if you reinstall FOG it will replace the updated versions of iPXE and the FOS Linux kernel with the ones that were shipped with the current release of FOG. While I don’t know what the current release of FOG is I believe there are sub release later that 1.5.10 that fix a few discovered issues.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Problem deploy slow

      @alexamore90 Lets try to unpack this.

      You have 3 ESXi servers connected to an unmanaged switch.

      This part is a bit unclear. After deploying on a few pcs the speed dropps to 900mb/min (watch your unit of measure). Normally its up to 22GB/min (again assuming you are getting this number from partclone).

      After deploying to a few PCs the speed drops. Is this simultaneous deployments or consecutive deployments the speed drops?

      Unmanaged switch: So this isn’t an enterprise class switch. You may have issues with throughput on the switch itself. The aciscs might not be fast enough for the amount of data your are trying to push through. Look at the throughput listed in the technical documentation for the switch.

      You didn’t mention the uplink speed from the ESXi servers to this switch. On a well managed 1GbE network you should get around 6GB/min throughput. On a well managed 10GbE network I’ve seen 13-15GB/min. So your 22GB/min seems a bit higher than expected. I can say with a physical FOG server connected via 1GbE link, I can saturate that 1GbE link with 3 concurrent image deployments. When that happens the error rate increases and the throughput drops off quote a bit.

      The other thing if you are trying to do concurrent deployments with these 3 FOG servers, make sure the drives on ESXi are SSD or NVME drives and not spinning disks for performance reasons.

      In the end I don’t think this is a FOG server issue specifically, rather something in the environment that is causing the speed issue.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Pas de capture

      @ALV_SUPECOLES This seems to be similar to this thread: https://forums.fogproject.org/topic/17759/ipxe-initialising-devices

      In this case uefi firmware was updated then iPXE stops at initializing devices. If compiling and installing the latest version of iPXE doesn’t solve the problem then we will have to wait for either iPXE developers or Lenovo to fix the problem. https://forums.fogproject.org/topic/15826/updating-compiling-the-latest-version-of-ipxe

      posted in FOG Problems
      george1421G
      george1421
    • RE: Problems With PXE OVER IPVA4

      @nicolas-moraes We have to be careful some Soho routersthe don’t behave well with pxe booting. Some will put its IP address as the boot server even if you have dhcp option 66 configured. I don’t know the edgerouter, but if there is a bootp option make sure that is turned on too.

      The edgerouter is based on vyos so it should behave correctly. Make sure when you define dhcp option 66 its the IP address of the fog server and for dhcp option 67 the boot file name needs to be all lower case. Make sure you don’t have a leading or trailing white space in the name.

      If you have double checked everything then get a witness computer and load wireshark on it. Make sure you setup a capture filter of port 67 or port 68 start the scanning then pxe boot the computer until you get the error message then stop scanning.

      What you are looking for is the DORA sequence
      Discover (sent by target computer, akin to hello world, please configure me)
      Offer (sent by one or more dhcp server, I would there to be only one of these and from your edgerouter).
      Request (sent by the target computer)
      Ack/Nack (sent by the dhcp server)

      The interesting packet will be the OFFER.

      Look at the packet, there should be an ethernet header section with the following fields.
      Next-Server: this should be the IP address of your fog server (this is the bootp part)
      Boot-FIle: this should be the name of the ipxe file to load.

      If either of those are blank some pxe clients will not boot if they look at the bootp fields.

      In the dhcp options section you should see option 66 and 67 that should mirror the values in the bootp part.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Broken iPXE boot loader

      @JYost well there is two ways.

      1. download the git version so you have all of the bits in place and recompile it.
      2. redownload the released version of the ipxe files from here: https://github.com/FOGProject/fogproject/tree/stable/packages/tftp

      I think you will be better served by option 1 in the case of upgrades, but the quickest route is #2 which will download the older binaries for iPXE.

      posted in FOG Problems
      george1421G
      george1421
    • RE: At the end of capturing an image, FTP login incorrect...New Rocky Fog srv

      @RocksAndRolls I’m not sure how much additional help I can provide here but where it failing is at the end of the imaging process, the target system logs into the ftp server on the FOG server using the fogproject user account. That fogproject user MUST be able to rename the captured file in /images/dev from the mac address and the move the directory from /images/dev/<mac_address> to /images/<image_name>.

      If you have verified you can log into the fog server via ftp as the fogproject user using the password saved in the fog ui then it has to be a permission issue on the /images directory.

      The image capture process is

      FOS Engine -> connects to /images/dev NFS share and creates a directory that matches it’s mac address
      FOS Engine -> Uploads the disk connect as the root user (on the FOS Engine)
      FOS Engine -> Connects to the FOG server as fogproject user and issues a mv command to move the directory from /images/dev/<mac_address> to /images/<image_name>
      FOS Engine -> Logs out of ftp and completes the cleanup before reboot.

      posted in Linux Problems
      george1421G
      george1421
    • RE: "Windows Other" vs "Windows 10" when creating new Windows 11 images?

      @danieln said in "Windows Other" vs "Windows 10" when creating new Windows 11 images?:

      Windows 10 - (9)

      This selector was put in place many years ago to deal with the quirks in the OS between the early versions of windows. While there are some minor differences between win10 and win11 disk formats the FOS imaging engine is now robust enough to manage it. So from an imaging standpoint the developers could change the label to “Windows 10&11 - (9)” and be syntactically correct. Who knows what Win 12 will bring.

      posted in General
      george1421G
      george1421
    • RE: Slow restoration of Windows 11 with FOG on Proxmox

      @rurap said in Slow restoration of Windows 11 with FOG on Proxmox:

      02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8161] (rev 15)
      03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15) - This is the built-in network card

      and the other two are Realtek cards, which appear to be identical.

      Technically they are not identical, they have the same family name but one is a 8161 and the other is a 8168 of the rev 15 generation.

      Just confirming that the /var/log/messages file exists and the /var/log/syslog one doesn’t ? The 8168 model has been around for years as you can see by the rev numbers. I believe they need nic specific firmware to operate. That should be called out in the boot up messages.

      In researching this it seems one instant the 8169 driver was being installed instead of the 8168 linux kernel driver. This will take some looking by lspci -knn | more will list out all installed pci hardware with the “kernel drivers in use” for the hardware. As a hint for looking through the big list the section you are interested in starts with “03:00.0 Ethernet controller” since that is the built in nic you found in the previous post. Lets see if its using the 8169 driver instead.

      Edit: I keep seeing reference to these kernel parameters in posts about debugging this nic r8168.aspm=0 r8168.eee_enable=0 pcie_aspm=off Not sure the importance, but noting it here for future reference.

      Edit2: This command may help give the answer on driver than looking through the entire list of lspci commands: inxi -Naz

      posted in FOG Problems
      george1421G
      george1421
    • RE: iPXE initialising Devices

      @ITCC Just to be clear you complied the latest version of iPXE using the instructions I provided? If that’s the case and it failed, then there is not much we can do because something in Lenovo’s firmware causing the software to hang. If rolling back the firmware isn’t an option (I don’t know what they were correcting with the update) I think we are stuck unless the iPXE developers have any idea why it might be getting stuck.

      posted in Hardware Compatibility
      george1421G
      george1421
    • RE: Slow restoration of Windows 11 with FOG on Proxmox

      @rurap From historical experience if we have an issue with a network card/chip set it will be realtek.

      For that realtek nic, can you get the hardware ID of that card, in windows you can get it from the device manager vendor and Id numbers. They will be 4 hex digit codes both the vendor and device id.

      You can get them from FOS linux running on the target computer. It will probably be easiest to get from FOS Linux since I will need you to get some info from there for the second part of the question.

      Schedule a debug capture/deploy to one of these vostros. Before you hit the scheduled task button tick the debug checkbox. Then schedule the task.

      PXE boot the target computer, after several screens of text you need to clear with the enter key you will be dropped to the command prompt.

      Key in the following
      lspci -nn | grep -i net
      Search for the Realtek nic in question and capture the hex codes in the square brackets in the form of [XXXX:XXXX]

      Some nics require special firmware to work correctly with linux. Run this command to see if any firmware messages were logged. I should know this by now but I forget if the log is syslog or messages file. So you might have to adjust.

      grep -i -e firm /var/log/syslog

      Hint: If you want to make it easier for copying and pasting to the target computer do the following after you pxe boot into debug mode.

      1. Get the IP address of the target computer with the following command ip a s
      2. Change root’s password with passwd make it something simple like hello it will be reset at the next reboot.
      3. Now using putty from a windows computer or ssh from a linux computer connect to the target system using the above two bits of info. Login as root and the password you just set.

      From there you can copy and paste using the apps.

      posted in FOG Problems
      george1421G
      george1421
    • RE: iPXE initialising Devices

      @ITCC I would start with seeing if snp.efi works instead of ipxe.efi. I have doubts that this will solve the issue, but this is the easiest test.

      The second recommendation is to update iPXE to the latest version using this tutorial: https://forums.fogproject.org/topic/15826/updating-compiling-the-latest-version-of-ipxe

      The third recommendation is to keep checking for updates to the firmware because it looks like lenovo created an inconsistency in their firmware.

      posted in Hardware Compatibility
      george1421G
      george1421
    • RE: Slow restoration of Windows 11 with FOG on Proxmox

      @rurap Well, I thought it said the current version at the top…

      OK for a plan B then, with the fog server console, navigate to /var/www/html/fog/service/ipxe directory. In that directory run this command file bzImage. The file command should tell you about that kernel image with a version number embedded in it. Note the version number and post it here.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Slow restoration of Windows 11 with FOG on Proxmox

      @rurap said in Slow restoration of Windows 11 with FOG on Proxmox:

      I’m not sure what you meant by the FOS kernel

      There is a customized linux distro that gets copied to the target computer during pxe booting. You will see that as bzImage and init.xz. To check the version of FOS linux from within the web ui go to fog settings->kernel update. From there it will tell you the version and give you options to update it if needed.

      So from your testing you can rule out the OS being deployed. I kind if figured that but ruling it out is always good at helping us narrow down the root of the issue.

      So now its down to the network adapter and or the disk controller/nvme. If we could use your idea of process of elimination (one you verify you are on the latest version of FOS Linux) to see where the problem isn’t.

      Also we might want to schedule a debug deployment so we can get to the command line on the target system within FOS linux. I would search /var/log/syslog on the target computer for the keyword firmware to see if there are any error messages wanting a specific version of a firmware driver.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Slow restoration of Windows 11 with FOG on Proxmox

      @rurap Just to add an additional bit of information the partclone “speed” is a composite rating of

      1. Speed the fog server can move the image from nv storage to the network interface.
      2. Transmission speed over the network. (these first two variables are probably not changing between win10 and win11 deployments.
      3. Target system ingest of image from network adapter to main memory
      4. Decompression of image (using zstd compressor [regardless of compressor used])
      5. Writing the decompressed image to disk.

      If we had to rule out differences between Dell 7010 and 3910 the decompression of the image is probably not a factor because of the speed differences between a 4th Gen processor and a 12th Gen Intel processor (the Pcore-Ecore might be an issue depending on the FOS kernel). Looking at the truth table I would say the issue is either with #3 or #5.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Slow restoration of Windows 11 with FOG on Proxmox

      @rurap OK just to be clear. Your fog server is running on proxmox. You are only restoring to physical computers. The physical computers in question are Dell 7010 (about 10 years old) and Dell Vostro 3910 with a 12 Gen processor writing to a nvme drive.

      Windows 10 deploying to both systems are > 6.5GB/min according to partclone
      Windows 11 deploying to both systems are < 2GB/min according to partclone

      Do I understand the situation correctly?

      If this is the case we can probably rule out the fog server and proxmox as a root cause. FOG on a capture or deploy are really not a factor in imaging because at this point its only moving data blocks between the network interface and local nonvolatile storage. All of the heavy lifting is being done by the target computer.

      Also, what version of FOG are you running as well as what version of the FOS Linux (fog ui->fog settings->kernel update) are you running. Make sure you are running the latest 6.6.x version. Having an old version of FOG and FOS Linux kernel may cause this type of issue.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Configuring adding to an active directory domain.

      @azm9s said in Configuring adding to an active directory domain.:

      Do I need to create an capture creation task on the site in the host settings?

      Just to be clear on this task. Once you have your golden image the way you want it. Use sysprep command line switches to power off the computer, or user the shutdown -s -t 0 to power off the computer. This will properly close the files for cloning. Then schedule the task for image capture in FOG and then pxe boot the target computer.

      Prior to your step file, you need to create a batch script called setupcomplete.cmd in the proper location (google it), and in that batch file use the sc command to enable and start the fog client service (this should be explained in the fog client wiki page). The setupcomplete.cmd batch file (if it exists in the correct location) will be called by OOBE/WinSetup when its all done with its bits. At this point we want the fog client to be enabled and started so the fog client can do its stuff.

      Yes on the AD stuff. You will probably want the fog client to rename the computer too, or it will go into AD with a generic system name.

      posted in Windows Problems
      george1421G
      george1421
    • RE: Newbie to imagin Mac's and pxe booting in general

      @Mr_____T First let me say I don’t have a clue when it comes to imaging macs. The last time I touched one was in the mid 90s.

      But from working on the FOG Forums I know that people are able to image the older ones with FOG. The introduction of the T2 chip caused some issues but I was able to compile a patched version of FOS Linux to allow imaging to work there too.

      Looking at your error screen I see several promising clues. iPXE is running and it can see the nic because it can see the mac address of the nic. It doesn’t appear to see the PHY interface because unless you didn’t plug in the network cable, its waiting for the link up to continue.

      Did you get iPXE to run by pxe booting or usb boot drive?

      I did notice that iPXE is pretty old (circa 2019). You probably want to get the latest version, yes I know you are working with old hardware.

      That also raises the question, what version of FOG are you using.

      Just to be clear the issue is between iPXE and the network, you haven’t got to FOS Linux bit yet. That may be the next milestone you will need to pass.

      posted in Mac Problems
      george1421G
      george1421
    • RE: Configuring adding to an active directory domain.

      @azm9s Yes that needs to be installed before you capture the image, because its needed for post deployment actions (if you want FOG to manage those).

      https://docs.fogproject.org/en/latest/installation/client/install-fog-client/

      You will install the fog client before capture, but make sure you disable the service before you capture it then use the windows startupcomplete.cmd file that OOBE/WinSetup runs to reenable the service and start it. The issue is if you leave the service enabled, after deployment the fog client (if left running before image capture) will start doing its thing before windows OOBE completes giving you a botched deployment because the fog client program will change the system name and then reboot it, before oobe is ready for the reboot.

      posted in Windows Problems
      george1421G
      george1421
    • RE: What is /bin/fog.download?

      I’m not sure what the problem is at the moment (not enough info yet), but this error has nothing to do with the target computer.

      “Unable to locate image store” At this point in the deployment, FOS (the customized linux OS that runs on the target system) maps a local directory back to the FOG server. Once it does this then partclone will take over and move the bits from the fog server to the target computer. So where its failing is FOS can’t reach the FOG server or storage node to map the directory.

      First thing I would do is look on the fog server console see if in /images/dev there are directory names that look like MAC addresses. If yes then your image uploads are not completing. Then look in /images directory to see if you see directories with names that match the image name you are trying to deploy.

      When FOS throws the error unable to locate image store. It will print out a bunch of variables at the end of the error. Those variables are important to debug what went wrong. Take a clear picture of the error with a mobile phone and post it here. Lets match up the variables to what fog thinks its doing.

      posted in FOG Problems
      george1421G
      george1421
    • 1 / 1