• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. MarkG
    3. Posts
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 11
    • Posts 58
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: iPXE boot doing nothing after update to 1.6.0.158

      @Tom-Elliott Oh thank you, yes I edited the new file and didn’t notice that typo. Sorry for the confusion.

      posted in FOG Problems
      M
      MarkG
    • RE: iPXE boot doing nothing after update to 1.6.0.158

      Further to the previous reply, I edited my old dhcpd.conf with the new filenames, and this is still working. I’m at a loss to explain this.

      # DHCP Server Configuration file\n#see /usr/share/doc/dhcp*/dhcpd.conf.sample
      # This file was created by FOG
      #Definition of PXE-specific options
      # Code 1: Multicast IP Address of bootfile
      # Code 2: UDP Port that client should monitor for MTFTP Responses
      # Code 3: UDP Port that MTFTP servers are using to listen for MTFTP requests
      # Code 4: Number of seconds a client must listen for activity before trying
      #         to start a new MTFTP transfer
      # Code 5: Number of seconds a client must listen before trying to restart
      #         a MTFTP transfer
      option space PXE;
      option PXE.mtftp-ip code 1 = ip-address;
      option PXE.mtftp-cport code 2 = unsigned integer 16;
      option PXE.mtftp-sport code 3 = unsigned integer 16;
      option PXE.mtftp-tmout code 4 = unsigned integer 8;
      option PXE.mtftp-delay code 5 = unsigned integer 8;
      option arch code 93 = unsigned integer 16;
      use-host-decl-names on;
      ddns-update-style interim;
      ignore client-updates;
      # Specify subnet of ether device you do NOT want service.
      # For systems with two or more ethernet devices.
      # subnet 136.165.0.0 netmask 255.255.0.0 {}
      subnet 195.168.0.0 netmask 255.255.255.0{
          authoritative;
          option subnet-mask 255.255.255.0;
          range dynamic-bootp 195.168.0.10 195.168.0.252;
          default-lease-time 5000000;
          max-lease-time 5000000;
          option routers 195.168.0.1;
          option domain-name-servers 8.8.8.8,8.8.4.4;
          option domain-search "local";
          option domain-name "local";
          next-server 195.168.0.1;
      
          # To make a specific rule based on a MAC address follow this pattern
          class "AlanPartridge" {
             match if binary-to-ascii(16,8,":",substring(hardware, 1, 6)) = "50:eb:f6:b7:8a:b0";
             filename "snp.efi";
          }
       
      
          class "Legacy" {
              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000";
              filename "undionly.kkpxe";
          }
          # To make a specific rule based on a MAC address follow this pattern
          # class "ThunderAMD" {
          #    match if binary-to-ascii(16,8,":",substring(hardware, 1, 6)) = "a8:a1:59:42:15:08";
          #    filename "snp.efi";
          #}
          class "UEFI-32-2" {
              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00002";
              filename "i386-efi/ipxe.efi";
          }
          class "UEFI-32-1" {
              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00006";
              filename "i386-efi/ipxe.efi";
          }
          class "UEFI-64-1" {
              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007";
      #        filename "snp.efi";
      	filename "secureboot/snponly-shimx64.efi"; 
         }
          class "UEFI-64-2" {
              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00008";
      #        filename "snp.efi";
              filename "secureboot/snponly-shimx64.efi";
      
          }
          class "UEFI-64-3" {
              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00009";
      #        filename "snp.efi";
               filename "secureboot/snponly-shimx64.efi";
          }
          class "UEFI-ARM64" {
              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00011";
      #        filename "arm64-efi/snponly.efi";
              filename "secureboot/arm64-efi/snponly-shimaa64.efi";
          }
          class "SURFACE-PRO-4" {
              match if substring(option vendor-class-identifier, 0, 32) = "PXEClient:Arch:00007:UNDI:003016";
      #        filename "ipxe.efi";
              filename "secureboot/snponly-shimx64.efi";
         }
          class "Apple-Intel-Netboot" {
              match if substring(option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386";
              option dhcp-parameter-request-list 1,3,17,43,60;
              if (option dhcp-message-type = 8) {
                  option vendor-class-identifier "AAPLBSDPC";
                  if (substring(option vendor-encapsulated-options, 0, 3) = 01:01:01) {
                      # BSDP List
                      option vendor-encapsulated-options 01:01:01:04:02:80:00:07:04:81:00:05:2a:09:0D:81:00:05:2a:08:69:50:58:45:2d:46:4f:47;
                      filename "snponly.efi";
                  }
              }
          }
      }
      
      posted in FOG Problems
      M
      MarkG
    • RE: iPXE boot doing nothing after update to 1.6.0.158

      @Tom-Elliott Thanks. Actually the update complete rewrote my dhcpd.conf (I know it backed the old one up) and that seems to be the problem. The dhcp server won’t start with that config, but it won’t tell me what the problem is. I replaced it with my old file and that works.

      # DHCP Server Configuration file\n#see /usr/share/doc/dhcp*/dhcpd.conf.sample
      # This file was created by FOG
      #Definition of PXE-specific options
      # Code 1: Multicast IP Address of bootfile
      # Code 2: UDP Port that client should monitor for MTFTP Responses
      # Code 3: UDP Port that MTFTP servers are using to listen for MTFTP requests
      # Code 4: Number of seconds a client must listen for activity before trying
      #         to start a new MTFTP transfer
      # Code 5: Number of seconds a client must listen before trying to restart
      #         a MTFTP transfer
      option space PXE;
      option PXE.mtftp-ip code 1 = ip-address;
      option PXE.mtftp-cport code 2 = unsigned integer 16;
      option PXE.mtftp-sport code 3 = unsigned integer 16;
      option PXE.mtftp-tmout code 4 = unsigned integer 8;
      option PXE.mtftp-delay code 5 = unsigned integer 8;
      option arch code 93 = unsigned integer 16;
      use-host-decl-names on;
      ddns-update-style interim;
      ignore client-updates;
      # Specify subnet of ether device you do NOT want service.
      # For systems with two or more ethernet devices.
      # subnet 136.165.0.0 netmask 255.255.0.0 {}
      subnet 195.168.0.0 netmask 255.255.255.0{
          option subnet-mask 255.255.255.0;
          range dynamic-bootp 195.168.0.10 195.168.0.254;
          default-lease-time 5000000;
          max-lease-time 5000000;
          option routers 195.168.0.1;
          option domain-name-servers 8.8.8.8,8.8.4.4;
          option domain-search "local";
          option domain_name "local";
          next-server 195.168.0.1;
      }
      class "Legacy" {
          match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000";
          filename "undionly.kkpxe";
      }
      class "UEFI-32-2" {
          match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00002";
          filename "i386-efi/snponly.efi";
      }
      class "UEFI-32-1" {
          match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00006";
          filename "i386-efi/snponly.efi";
      }
      class "UEFI-64-1" {
          match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007";
          filename "secureboot/snponly-shimx64.efi";
      }
      class "UEFI-64-2" {
          match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00008";
          filename "secureboot/snponly-shimx64.efi";
      }
      class "UEFI-64-3" {
          match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00009";
          filename "secureboot/snponly-shimx64.efi";
      }
      class "UEFI-ARM64" {
          match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00011";
          filename "secureboot/arm64-efi/snponly-shimaa64.efi";
      }
      class "SURFACE-PRO-4" {
          match if substring(option vendor-class-identifier, 0, 32) = "PXEClient:Arch:00007:UNDI:003016";
          filename "secureboot/snponly-shimx64.efi";
      }
      class "Apple-Intel-Netboot" {
          match if substring(option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386";
          option dhcp-parameter-request-list 1,3,17,43,60;
          if (option dhcp-message-type = 8) {
              option vendor-class-identifier "AAPLBSDPC";
              if (substring(option vendor-encapsulated-options, 0, 3) = 01:01:01) {
                  # BSDP List
                  option vendor-encapsulated-options 01:01:01:04:02:80:00:07:04:81:00:05:2a:09:0D:81:00:05:2a:08:69:50:58:45:2d:46:4f:47;
                  filename "snponly.efi";
              }
          }
      }
      # Two alternatives to the UEFI boot file above, if you need them.
      # Uncomment one and narrow the match to the affected machines. Both are
      # DHCP-only changes -- nothing is renamed on this server.
      #
      # This file is regenerated by every install and upgrade, so an edit here
      # does not survive the next one. To change the boot file for every UEFI
      # client, re-run the installer with --uefi-bootfile ipxe (or snponly).
      #
      # 1. The chain loads but the network never comes up, or the FOS kernel
      #    hangs at the handoff: that is the firmware's own UEFI SNP driver,
      #    so use iPXE's built-in drivers instead.
      #    On arm64, secureboot/arm64-efi/ipxe-shimaa64.efi.
      #class "FOG-UEFI-64-IpxeDrivers" {
      #    match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007";
      #    filename "secureboot/ipxe-shimx64.efi";
      #}
      #
      # 2. You want FOG's own builds rather than upstream's signed pair. They
      #    are in the TFTP root; on arm64, arm64-efi/snponly.efi. They carry
      #    this server's own signature, so a Secure Boot client refuses them
      #    until that certificate is enrolled on it.
      #class "FOG-UEFI-64-FogBuild" {
      #    match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007";
      #    filename "snponly.efi";
      #}
      
      posted in FOG Problems
      M
      MarkG
    • iPXE boot doing nothing after update to 1.6.0.158

      Apologies for the flurry of questions. I don’t know which version of FOG I was running before the upgrade, but it’s been several months, maybe even a year. Everything’s changed and I’m lost 🙂

      Having done the upgrade, my PC now simply fails to PXE boot, there’s no error message, it’s as if it’s not getting any reply from the server.

      DHCP is working, since when it boots to WIndows it gets an IP address. But on boot it does this , sits for a while, then boots to Windows. Secure boot is disabled.

      image0.jpeg

      posted in FOG Problems
      M
      MarkG
    • RE: Upgrade to 1.6.0.158 fails with mysql 8.4.13

      @Tom-Elliott Thanks for the detailed reply. That does seem overkill for my needs but I’ll bookmark this for later reading.

      posted in FOG Problems
      M
      MarkG
    • RE: Upgrade to 1.6.0.158 fails with mysql 8.4.13

      @Tom-Elliott Thanks for that reply. I understand why it’s failing now. The link you sent to use a CA I control has broken my brain 🙂 Is there any documentation on what ACME is? I’ve only ever heard it in reference to Wile E Coyote, and I’m assuming it’s not that. Google has not helped.

      posted in FOG Problems
      M
      MarkG
    • RE: Upgrade to 1.6.0.158 fails with mysql 8.4.13

      @Tom-Elliott Thanks, that has worked. It has raised another question though - I notice that https is now supported, which is great. But browsers are giving me a security warning when I use https, and even if I hit the right buttons to get through that, the address bar still says ‘not secure’.

      Screenshot 2026-11-23 at 20.59.53.png

      Screenshot 2026-11-23 at 21.12.32.png

      posted in FOG Problems
      M
      MarkG
    • Upgrade to 1.6.0.158 fails with mysql 8.4.13

      Ubuntu 26.04.1 has updated to mysql 8.4.13, where certain long data types cannot have default values.

      Having updated my server to this release, upgrading FOG fails

      mysql> ALTER TABLE `hosts` ADD COLUMN `hostSecTokenPrev` longtext NOT NULL DEFAULT '' AFTER `hostInfoLock`;
      ERROR 1101 (42000): BLOB, TEXT, GEOMETRY or JSON column 'hostSecTokenPrev' can't have a default value
      

      It’s impossible to continue with the installation after this error

      posted in FOG Problems
      M
      MarkG
    • RE: Windows on ARM

      @Tom-Elliott just bumping this. Is there anything I can do to help? I have some experience building Linux kernels from a few years ago.

      posted in Hardware Compatibility
      M
      MarkG
    • RE: Windows on ARM

      I don’t know whether this is relevant, but I’ve just noticed in my PHP error log the following error after I tried doing a System Compatability check with the Dell XPS:

      PHP Warning:  ftp_mkdir(): Create directory operation failed. in /var/www/fog/lib/fog/fogftp.class.php on line 499', referer: http://11.211.55.5/fog/management/index.php?node=about&sub=kernel&file=aHR0cHM6Ly9naXRodWIuY29tL0ZPR1Byb2plY3QvZm9zL3JlbGVhc2VzL2Rvd25sb2FkLzIwMjYwMzA2L2FybV9JbWFnZQ===&arch=arm64
      
      posted in Hardware Compatibility
      M
      MarkG
    • RE: Windows on ARM

      I’m returning to this after a while. The Lenovo Neo I was trying to get working looks to be a lost cause for Linux support, so I’ve switched to a Dell XPS 9345. This boots and runs with Ubuntu 26.04. I have networking and a keyboard and it recognises the internal SSD so this looks to be a goer. The kernel it’s using is 7.0.0-22.qcom.x1e. How feasible is it to get something like this built for FOG?

      posted in Hardware Compatibility
      M
      MarkG
    • RE: Windows on ARM

      @Tom-Elliott thanks for the quick response. No joy though.

      I’ve been and tried an Ubuntu live iso with a 6.14 kernel from the Ubuntu Concept Snapdragon Elite branch (https://discourse.ubuntu.com/t/faq-ubuntu-25-04-on-snapdragon-x-elite/61016) and even that doesn’t boot - though it gets as far as telling me it can’t create a device tree. So I guess I’m just going to have to be patient while upstream gets this whole SoC working.

      posted in Hardware Compatibility
      M
      MarkG
    • RE: Windows on ARM

      Resurrecting this topic. I now have myself a Lenovo ThinkCentre Neo 50q, which has a Snapdragon CPU. I’ve updated my FOG to the latest (1.5.10.1698) and updated my ARM kernel and inits to the cutting edge version (6.12.35 from Sep 19th 2025). I can boot to a FOG menu but when I choose the ‘Compatability’ option it gets this far and then reboots:

      image0.jpeg

      Looks as though the kernel just won’t boot. I have this machine now for as long as I need it and am prepared to put some effort in to help get this working. Any pointers? I have built linux kernels in the past, though not for 10 years or so.

      posted in Hardware Compatibility
      M
      MarkG
    • RE: Transferring database and .fogsettings

      @AUTH-IT-Center Hi thanks for the reply.

      Yes I’ve read that link, my problem is that I’ve done the password migrations “backwards” - ie I’ve copied the passwords from the database to .fogsettings instead of the other way around as specified on that link.

      posted in FOG Problems
      M
      MarkG
    • Transferring database and .fogsettings

      I think I might have done something stupid…

      I have a new server on which I have already installed FOG.
      Today I wanted to transfer the database from my old server to the new server and update the version of FOG.

      I thought I was being clever… before transferring the database and running the FOG installer, I edited /opt/fog/.fogsettings on my new server and inserted the passwords, copied from the management interface on the old server:

      username='fogproject'
      password='password from old server'
      
      snmysqluser='fogmaster'
      snmysqlpass='password from old server'
      

      Then having run the installer it occurred to me, does the installer update all the necessary services to use these passwords, if FOG is already installed? Or have I broken something - and if so, how do I fix it?

      posted in FOG Problems
      M
      MarkG
    • RE: Server Migration, hostnames, and certificates

      @AUTH-IT-Center Thank you. I didn’t find that article but it has what I need.

      posted in General
      M
      MarkG
    • Server Migration, hostnames, and certificates

      Apologies if this has been covered before, I found a few similar topics but this is a ‘what if’ question about something I don’t quite understand.

      I’m migrating to a new server which will eventually have the same IP and hostname as my current server, though it does not have those yet - it has a temporary hostname.

      I’ve run through the FOG installer and when it asked for a hostname I gave it the hostname of my current server because it said it would use it for certificates. I’m not using HTTPS on my server.

      My aim is that I can switch the old server off, change the IP and hostname of the new one to be the same as the old one, and all the FOG clients will be happy and not need any reconfiguring. Is this going to work?

      posted in General
      M
      MarkG
    • RE: Windows on ARM

      @george1421 This is all very encouraging! I tried kernel debug level 7 but there was no additional information.

      posted in Hardware Compatibility
      M
      MarkG
    • RE: Windows on ARM

      @Tom-Elliott
      Yes I think that’s correct if I’m correct that getting into FOS would mean the kernel started to boot. What you see there is what happens immediately after I make a selection from the FOG menu. It downloads the kernel and the init. The next thing that appears onscreen is what you see there, and then after a couple of seconds it reboots.

      posted in Hardware Compatibility
      M
      MarkG
    • RE: Windows on ARM

      @Tom-Elliott

      Need a storage for global arm Kernel and Init
      Need to associate architecture to appropriate kernel/init.

      Yeah. I don’t know how you detect that you need the ARM kernels at that point but atm it thinks it needs to send the x86 kernels. (I’m not actually using any x86 PCs so I haven’t actually broken anything by changing that config 🙂 )

      Later we need to get kernel/init actually loading/booting?

      Not completely sure I’ve understood that, but with the config hack I’ve done it is definitely downloading the arm_Image and the ARM init, I can see that the filenames are correct just before it gets to the point where it stops.

      I tried the most recent 3 builds (including the experimental one) of the ARM kernels and inits but it made no difference.

      posted in Hardware Compatibility
      M
      MarkG
    • 1 / 1