• Unable to check in

    Unsolved FOG Problems
    6
    0 Votes
    6 Posts
    6k Views
    F

    @Tom-Elliott Hi Tom, Thanks… I updated to 1.5.10.1692 and was able to deploy a 2 day old image to the PC. I updated some things on the PC, mostly with Steam and display settings then went to capture an image from it again and ran into the same problem mention in the OP. Only this time, I was able to take a pic.

    I ran chkdsk prior to capturing and it came up clean

    alt text

    UPDATE: So I tried everything for the ntfsresize error … turns out, I had to shrink the partition in windows a bit then expand it. After that, I could capture.

  • Windows 10 failing to join domain

    FOG Problems
    14
    0 Votes
    14 Posts
    9k Views
    C

    @Sebastian-Roth Sorry for missing your reply. Just shows that fog has been running great for a while.

    I like the thought of adding better debugging log messages so I think this would be helpful.

  • 0 Votes
    3 Posts
    5k 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; }
  • Slow Image Deployment

    Unsolved FOG Problems
    4
    0 Votes
    4 Posts
    6k Views
    Tom ElliottT

    @ProfessorFow There is the ability to replicate images across groups. You can set which “groups” images need to replate to by associating images to multiple storage groups. You can even define which storage group is the primary.

  • Dnsmasq on your FOG server

    Unsolved FOG Problems
    8
    0 Votes
    8 Posts
    14k Views
    george1421G

    @diogo-seabra As for the picture, I think we need to clearly define your network.

    dnsmasq works by using broadcast messages. So that means dnsmasq will only work on the local subnet. If your pxe booting computers are on a different subnet then you will need to add the fog server’s IP address to the list in the dhcp relay service on your router.

    Also if you have dhcp snooping enabled on your network switches, that may also cause dnsmasq to not respond properly.

  • Dell Pro Slim

    Hardware Compatibility
    3
    0 Votes
    3 Posts
    2k Views
    M

    Dear Tom,

    Thanks, and this is what I figured. At least I can pxe boot it and capture the image now, if I switch it to “AHCI/NVMe” mode, and switch back to “RAID” mode to boot the single NVMe drive.

    I made this known so we can reach out to Dell and possibly have this changed as it actually doesn’t need this “RAID” mode.

    Also we still have to disable secure boot on any computer either HP or Dell to get the pxe boot to work.

    We did manage to use FOG to capture a RAID from an HPE DL380 Proliant Gen10 RAID controller and use that to load Windows Server 2022 now, so it does seem the kernel is the issue here on this intel motherboard RAID.

    Regards,

    Matt

  • iPXE exit issue with Ubuntu/Lubuntu on Proxmox 8.4.11 VM

    Unsolved FOG Problems
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • 0 Votes
    2 Posts
    5k Views
    J

    Hi, just wondering if you were able to find a fix for this. Right now I’m experiencing a similiar issue when in the ipxe menu for Fog. No keyboard input works.

  • System crash during image deployment

    Solved FOG Problems
    5
    0 Votes
    5 Posts
    6k Views
    AfifA

    @rodluz
    Thanks for the feedback. I swapped the RAM module and NUC was able to re-image. Case closed.

  • Inject drivers via Fog

    Tutorials
    5
    0 Votes
    5 Posts
    6k Views
    D

    @george1421 Thanks for your help.

    I solve the problem with this AutoUnatted.xml

    <?xml version=“1.0” encoding=“utf-8”?>
    <unattend xmlns=“urn:schemas-microsoft-com:unattend”>
    <!-- Bypass OOBE -->
    <settings pass=“oobeSystem”>
    <component name=“Microsoft-Windows-Shell-Setup” processorArchitecture=“amd64” publicKeyToken=“31bf3856ad364e35” language=“neutral” versionScope=“nonSxS” xmlns:wcm=“http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <HideLocalAccountScreen>true</HideLocalAccountScreen>
    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
    <ProtectYourPC>3</ProtectYourPC>
    <SkipUserOOBE>true</SkipUserOOBE>
    <SkipMachineOOBE>true</SkipMachineOOBE>
    <UnattendEnableRetailDemo>false</UnattendEnableRetailDemo>
    <NetworkLocation>Other</NetworkLocation>
    </OOBE>
    </component>
    <component name=“Microsoft-Windows-International-Core” processorArchitecture=“amd64” publicKeyToken=“31bf3856ad364e35” language=“neutral” versionScope=“nonSxS” xmlns:wcm=“http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
    <SystemLocale>pt-PT</SystemLocale>
    <UILanguage>pt-PT</UILanguage>
    <UserLocale>pt-PT</UserLocale>
    <InputLocale>0816:00000816</InputLocale>
    </component>
    </settings>

    <!-- Run SetupComplete.cmd via PostOOBE --> <settings pass="specialize"> <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Order>1</Order> <Path>reg add "HKEY_LOCAL_MACHINE\SYSTEM\Setup\FirstBoot\PostOobe" /v "00" /t REG_SZ /d "cmd /c C:\Windows\Setup\Scripts\SetupComplete.cmd &amp; exit /b 0" /f</Path> </RunSynchronousCommand> </RunSynchronous> </component> </settings>

    </unattend>

    The AutoUnatted.xml will call the the script C:\Windows\Setup\Scripts\SetupComplete.cmd

    I make the sysprep with AutoUnatted.xml

  • UEFI is not booting with Windows DHCP

    Unsolved FOG Problems
    19
    0 Votes
    19 Posts
    10k Views
    C

    @george1421 No luck, could you please have a remote session at your convenient time?

  • FOG not saving images in the directory

    Unsolved FOG Problems
    9
    0 Votes
    9 Posts
    9k Views
    george1421G

    @BrightPipe said in FOG not saving images in the directory:

    EDIT---- Running the installer again seems to have fixed the issue. Thanks.

    Good deal because that was going to me my next request. I’m glad you have it sorted out.

  • Windows 11 SetupComplete.cmd skipped

    Solved Windows Problems
    4
    0 Votes
    4 Posts
    4k Views
    C

    @george1421 So removing my key from the unattend file fixed the SetupComplete.cmd running issue. I forgot to tell it to join the domain after deploy and made a snap in for that which worked to test it out (I could tell the service was running because it rebooted to change its name as well but wanted to verify with the snap in). Windows must have activated based on something in the hardware because the machine is activated as well, so the key didn’t really need to be there I guess(?)

    Also thanks for all your help, several years ago under another username you helped me a lot with random issues on another fog set up. The whole FOG project team is amazing!

  • Clients (randomly?) boot to Debug Mode on regular deploy or capture

    Solved FOG Problems
    9
    0 Votes
    9 Posts
    5k Views
    Tom ElliottT

    @RAThomas If the value is empty it shoudl think it’s false, and since it seemed to be random that’s where I got confused. But I’m glad this is working for you.

    Thank you!

  • Problem PCX Boot HP 17x104fg

    Hardware Compatibility
    4
    0 Votes
    4 Posts
    4k Views
    M

    @george1421

    thank you for your great answer. You are completely right, it is a 17-x104ng, not a fg. It was an error of me 🙂

    The needed hardware id is VEN_10EC&DEV_8136

    Hope that helps

    Thx,
    mchristo

  • Another Multicast problem.

    Unsolved FOG Problems
    2
    0 Votes
    2 Posts
    3k Views
    R

    @Selanty
    I have the same problem, fresh installed Fog on Debain 12, PHP 8.2.29, Fog 1.5.10.1667.
    Fog-Server is running on the same switch as the 2 Clients in one VLAN 2765. For that VLAN ip igmp is enabled.
    “sh ip igmp” on that aruba switch shows:
    -IGMP version : 2
    -Querier Address : 10.73.65.21 (vlan-address of a second switch witch plays as querier)
    -the querier ist running igmp v2

    “service FOGMulticastManager status” result is:
    PHP Fatal error: Uncaught Error: Non-static method FOGService::outall() cannot be called statically in /opt/fog/service/FOGMulticastManager/FOG>

    unicast to that 2 clients is running.

  • WOL for different VLANs

    Unsolved FOG Problems
    6
    0 Votes
    6 Posts
    3k Views
    P

    I have done this before on a Cisco switch but it’s been a while. Thought I share my notes on what commands are needed

    # Vlan131 (fog server vlan) ip helper-address 192.168.158.255 # Vlan158 (fog client on a different vlan) ip directed-broadcast 101 # ip access-list extended 101 access-list 101 permit udp host 192.168.131.149 any eq 9 * NOTE in the ACL above 192.168.131.149 is the fog server ip address # forward udp ip forward protocol udp 9 (it might say discard) # On the switch the two vlans look something like this interface Vlan131 description fog server vlan ip address 192.168.131.1 255.255.255.0 ip helper-address 192.168.131.3 (my dhcp & dns server) ip helper-address 192.168.158.255 (fog client subnet broadcast address) end interface Vlan158 description fog client vlan ip address 192.168.158.1 255.255.255.0 ip directed-broadcast 101 (extended ACL) end

    Hope it helps

  • 0 Votes
    1 Posts
    994 Views
    No one has replied
  • Set storage location (/images) during install

    Unsolved FOG Problems
    3
    0 Votes
    3 Posts
    2k Views
    A

    @vincent33 Hello, thanks for the response! I was able to change my HW so this was no longer an issue.

  • UEFI Boot - Kernel panic: Unable to mount root fs on /dev/ram0

    Solved FOG Problems
    10
    0 Votes
    10 Posts
    3k Views
    L

    Hi there
    If someone else reads this and they aren’t using autoexec.ipxe (just the default.ipxe like me) and still has this error I’ve got the solution that worked for me:

    I had to downgrade the GRUB version from 2.12 to 2.06 in my Linux images (mostly Kali Linux).
    Version 2.12 has a bug (bug #67078) which is mentioned here: https://savannah.gnu.org/bugs/?67078

    The downgrade works as follows:
    Create a pin file: sudo vim /etc/apt/preferences.d/grub-pin
    Content of the file:

    Package: grub* grub2* Pin: version 2.06* Pin-Priority: 1001

    sudo apt update
    Downgrade grub packages: sudo apt full-upgrade
    sudo grub-install
    sudo update-grub
    verify the installed version: dpkg -l | grep grub-common

    You can now capture and deploy the the image.

    Edit: of course I am and was using the latest FOG 1.5.10.1667 with newest Kernel and Initrd versions.