• Subnet Groups Plugin | Dynamic Groups Not Working

    2
    0 Votes
    2 Posts
    42 Views
    C

    I’ve done some trivial troubleshooting, and it seems that the ‘RequestClientInfo’ action is not taking place thus the plugin is never being called to run.

    I’ve tried installing the FOG Client (rather than relying on the machine booting to fog via PXE), and power cycling a test machine, but this did not make a difference.

    Reviewing previous forum post @mattmurdock78 had a similar issue and wrote a trigger, unfortunately the file he attached is not available.

    @Tom-Elliott, I understand you were not the main author of the plugin but if you have the opportunity to review and advise if the plugin ‘should’ be working or is deprecated and potentially how I can try to proceed it would be greatly appreciated.

  • Resizable Linux

    4
    0 Votes
    4 Posts
    117 Views
    Tom ElliottT

    @slawa-jad Single disk resizable is able to be put on smaller/larger drives and it should be expanding once the image completes.

    The “Fixed size” partitions wouldn’t be touched as far as size goes because that’s expected.

    I think we need more details to understand and help with he issue. Resizable does what it seems you’re saying it’s not doing. Please help us help you with more details such as Images of the error’s you’re seeing, and what you’ve tried.

  • Dockerize FOG

    2
    0 Votes
    2 Posts
    999 Views
    8

    @tchavei2

    check out my image! Let me know if it works for you

    https://forums.fogproject.org/topic/18000/unofficial-docker-image-beta

  • Adding Deploying images to the main iPXE menu without need to login

    Unsolved
    3
    0 Votes
    3 Posts
    502 Views
    Tom ElliottT

    @mr-Twister Can you please try this:

    http://forums.fogproject.org/post/122702

    effectively your boot menu likely needs to be:

    params param mac0 ${net0/mac} param arch ${arch} param qihost 1 kernel bzImage loglevel=4 initrd=init.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://${fog-ip}/fog/ consoleblank=0 rootfstype=ext4 mac= ftp=<storageIPHere> storage=<storageIPHere>:/images/ storageip=<storageIPHere> irqpoll chkdsk=0 capone=1 type=down img=<imageNameHere> imgType=n imgPartitionType=all imgid=2 osid=<imageOSIDHere> imgFormat=<imageFormatHere> imgfetch init.xz boot

    Replacing as appropriate:
    <storageIPHere>
    <imageNameHere>
    <imageOSIDHere>
    <imageFormatHere>

    with your relevant information.

    Ultimately finding these pieces of data relevant to your specific image will be the hardest part, but once done I believe this will do what you are wanting/hoping.

  • Fog is indexing only sdb

    11
    0 Votes
    11 Posts
    2k Views
    Tom ElliottT

    @Bearr1976 If you use the latest init, the primary drive is supposed to be /dev/sda automatically (technically the first in alphabetical order) so by setting Host Primary Disk, may be forcing it to use that specific drive. In your case, if you’re trying to capture multiple disks, I suspect you would need the Host Primary Disk unset. If there’s something else not working right after unsetting please let me know and I’ll try to see what I can do to replicate the issue.

  • ip helper address instead of DHCP options 66 + 67

    1
    0 Votes
    1 Posts
    132 Views
    No one has replied
  • Consolidating FOG and AikenWorkbench to one subnet. One PXE for both.

    3
    0 Votes
    3 Posts
    4k Views
    J

    Thank you for your detailed reply, @george1421

    I have decided to run both servers on the same network. With DHCP switched off on AikenWorkbench, I’m able to boot intoFOG menu.

    Your entries aren’t quite right, or I’m doing something wrong. If I use it as is, I’m getting something like "Could not boot: Not found (https://ipxe.org2d12618e)

    I have decided to exclude some of the commands and narrowed it down to:

    chain -ar tftp://192.168.2.1/grub/bootx64.efi boot || goto MENU

    And I’m trying to run it on EFI EFI-capable machine, but I’m only getting to the grub console and no further.

    I understand my best bet is to learn how iPXE works and study its documentation.

    There is more config from Aken if this helps:

    cat /etc/default/tftpd-hpa TFTP_USERNAME="tftp" TFTP_DIRECTORY="/awbcboot" TFTP_ADDRESS="192.168.2.1:69" TFTP_OPTIONS="--secure" ls /awbcboot bios biso boot grub ls /awbcboot/grub biso boot bootx32.efi bootx64.efi grub.cfg grub.cfg.bak snap unicode.pf2

    And grub.cfg

    cat grub.cfg set default="0" set timeout=0 menuentry 'Aiken Workbench V2 UEFI ...' --class gnu-linux --class gnu --class os { linux (pxe)/boot/vmlinuz-awc root=/dev/nfs nfsroot=${pxe_default_server}:/awbclient ip=dhcp rw libata.allow_tpm=1 -- initrd (pxe)/boot/initrd.img-awc

    And here is the whole dhcp.conf but we don’t use Apple class as they dropped PXE support.

    ddns-update-style none; authoritative; allow booting; allow bootp; option domain-name-servers 208.67.222.222; option arch code 93 = unsigned integer 16; class "AppleNBI-i386" { 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 = 1) { option vendor-class-identifier "AAPLBSDPC/i386"; option vendor-encapsulated-options 08:04:81:00:00:67; } if (option dhcp-message-type = 8) { option vendor-class-identifier "AAPLBSDPC"; if (substring (option vendor-encapsulated-options, 0, 6) = 01:01:01:02:02:01) { option dhcp-parameter-request-list 60, 43; option vendor-encapsulated-options 01:01:01:03:04:C0:A8:02:01:04:02:80:00:07:04:81:00:00:89:09:2A:81:00:00:89:09:44:6f:45:2d:49:6d:61:67:65; } } if (substring (option vendor-class-identifier, 15, 7) = "iMac4,1") { filename "grub/bootx32.efi"; }elsif (substring (option vendor-class-identifier, 15, 7) = "iMac4,2") { filename "grub/bootx32.efi"; }elsif (substring (option vendor-class-identifier, 15, 7) = "iMac5,1") { filename "grub/bootx32.efi"; }elsif (substring (option vendor-class-identifier, 15, 7) = "iMac5,2") { filename "grub/bootx32.efi"; }elsif (substring (option vendor-class-identifier, 15, 7) = "iMac6,1") { filename "grub/bootx32.efi"; }elsif (substring (option vendor-class-identifier, 15, 10) = "MacBook1,1") { filename "grub/bootx32.efi"; }elsif (substring (option vendor-class-identifier, 15, 10) = "MacBook2,1") { filename "grub/bootx32.efi"; }elsif (substring (option vendor-class-identifier, 15, 13) = "MacBookPro1,1") { filename "grub/bootx32.efi"; }elsif (substring (option vendor-class-identifier, 15, 13) = "MacBookPro1,2") { filename "grub/bootx32.efi"; }elsif (substring (option vendor-class-identifier, 15, 13) = "MacBookPro2,1") { filename "grub/bootx32.efi"; }elsif (substring (option vendor-class-identifier, 15, 13) = "MacBookPro2,2") { filename "grub/bootx32.efi"; }elsif (substring (option vendor-class-identifier, 15, 13) = "MacBookAir1,1") { filename "grub/bootx32.efi"; }elsif (substring (option vendor-class-identifier, 15, 10) = "Macmini1,1") { filename "grub/bootx32.efi"; }elsif (substring (option vendor-class-identifier, 15, 9) = "MacPro1,1") { filename "grub/bootx32.efi"; }elsif (substring (option vendor-class-identifier, 15, 9) = "Xserve1,1") { filename "grub/bootx32.efi"; }else { filename "grub/bootx64.efi"; } } class "pxeclients" { match if substring (option vendor-class-identifier, 0, 9) = "PXEClient"; next-server 192.168.2.1; if (option arch = 00:00) { filename "bios/pxelinux.0"; }elsif (option arch = 00:06) { filename "grub/bootx32.efi"; }elsif (option arch = 00:07) { filename "grub/bootx64.efi"; } } subnet 192.168.2.0 netmask 255.255.255.0 { range dynamic-bootp 192.168.2.10 192.168.2.254; next-server 192.168.2.1; option subnet-mask 255.255.255.0; option broadcast-address 192.168.2.255; option routers 192.168.2.1; default-lease-time 600; max-lease-time 3600; }
  • FOG postdownloadscripts copydrivers not working anymore

    1
    0 Votes
    1 Posts
    864 Views
    No one has replied
  • Recapture a cloned disk

    5
    0 Votes
    5 Posts
    2k Views
    S

    @Tom-Elliott I fixed it by directly removing the dirty flag using Linux. sudo ntfsfix -d /dev/nvme...

    We need to redo our golden image, so we will check at that time if we still get the same behavior.

    Thx for the help !

  • Capturing is fast, but deploying is super slow

    3
  • Deploying ChromeOS Flex with FOG

    1
    0 Votes
    1 Posts
    847 Views
    No one has replied
  • UEFI PXE not booting

    8
    0 Votes
    8 Posts
    2k Views
    J

    @george1421

    I’ve reinstalled FOG, using the in-built DHCP server instead of the router.
    Worked perfectly first time, after setting the router as a relay instead.

    Thank you very much for all your help! 🙂

  • multicast settings

    1
    0 Votes
    1 Posts
    145 Views
    No one has replied
  • 0 Votes
    2 Posts
    933 Views
    No one has replied
  • PXE over IPv4

    7
    0 Votes
    7 Posts
    2k Views
    george1421G

    @Faurel ok good that looks like a clean dhcp process. It would be helpful to have the pcap file in my hand, but you want to expand the OFFER packet. The OFFER packet you can tell from the Info column.

    In the packet you may need to expand the dhcp section. You should see the image similar to below. What is important is the next server IP address should point to IP address of your fog server. and boot file name should be ipxe.efi. You see in this example that the boot file name was not given, this is the error with this packet. The next server and boot file are in the ethernet header. This is the legacy bootp pxe section.

    The next place you need to check is the dhcp options below. You should see dhcp options 66 which should be the IP address of the fog server and dhcp 67 should be the boot file name of ipxe.efi. In this picture this packet is also in error since the dhcp server is not sending out all of the pxe booting info. So if your offer packet looks like this you have a problem.

    Screenshot from 2025-05-07 17-14-20.png

  • could not verify mount point, check if .mntcheck exists /bin/fog.download

    2
    0 Votes
    2 Posts
    338 Views
    M

    Any luck clearing up this error? Running into the same thing now setting up a separate storage node location(still local). I get this when trying to deploy an image.

  • How to upload ISOs to the PXE server?

    2
    0 Votes
    2 Posts
    2k Views
    george1421G

    This tutorial will give you a good general overview. https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images

    Since you are talking XP, then you are also meaning bios firmware. For bios you can use a utility called memdisk.

    https://forums.fogproject.org/post/142041 step #18. The memdisk program is only supported under a bios based computer. If you have uefi there is a different process. There are some limitations with bios mode, your iso file MUST be less than 2GB, this is a limitation of a 32 bit bios.

  • Issue when exiting Refind Lubuntu image

    1
    0 Votes
    1 Posts
    851 Views
    No one has replied
  • Error when deploying images

    2
    0 Votes
    2 Posts
    2k Views
    P

    @Pingu Ok, i find out that my /images was a little bit bugged and got my snapshots in dev folder with the mac address as name folders, i moved them into /images and renamed them with the image name i configured on the Web Interface and it runs !!
    Hope this will not happen for the next snapshots.

  • Always Boot into PXE – Stuck in Boot Loop with FOG

    Unsolved
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied

134

Online

12.3k

Users

17.4k

Topics

155.8k

Posts