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

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

    3
    0 Votes
    3 Posts
    1k 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
    382 Views
    No one has replied
  • Recapture a cloned disk

    5
    0 Votes
    5 Posts
    706 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
    375 Views
    No one has replied
  • UEFI PXE not booting

    8
    0 Votes
    8 Posts
    1k 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
    122 Views
    No one has replied
  • 0 Votes
    2 Posts
    446 Views
    No one has replied
  • PXE over IPv4

    7
    0 Votes
    7 Posts
    1k 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
    255 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.

  • Dockerize FOG

    1
    0 Votes
    1 Posts
    431 Views
    No one has replied
  • How to upload ISOs to the PXE server?

    2
    0 Votes
    2 Posts
    784 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
    386 Views
    No one has replied
  • Error when deploying images

    2
    0 Votes
    2 Posts
    723 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
    528 Views
    No one has replied
  • Rename Host in Windows UI doesn't update Fog database

    4
    0 Votes
    4 Posts
    723 Views
    george1421G

    @tatanas Let me ask why are you renaming the host in the windows UI? Do you not know the actual name of the system at imaging time?

    Second question: are you using the fog client service at all?

  • FOG network requirement advice

    1
    0 Votes
    1 Posts
    494 Views
    No one has replied
  • HyperV / Win 11 /Fog

    7
    0 Votes
    7 Posts
    1k Views
    D

    @sideone said in HyperV / Win 11 /Fog:

    @dejv Ah, came here to say secure boot! Nice one.

    Thanks @Tom-Elliott and @sideone for your replies 🙂

  • FOG Uefi Boot

    1
    0 Votes
    1 Posts
    441 Views
    No one has replied

39

Online

12.2k

Users

17.4k

Topics

155.6k

Posts