• Fog taking forever to boot to the network

    8
    0 Votes
    8 Posts
    1k Views
    george1421G

    @anwoke8204 said in Fog taking forever to boot to the network:

    tftp 10.4.47.15 ipxe.efi c:\users\kstevens

    Hopefully you just missed the action command when you posted the command.

    The command should be
    tftp 10.4.47.15 get ipxe.efi c:\users\kstevens and it should place the file ipxe.efi in the directory path you provided. It concerns me that the destination file name did not match the source name. The transfer should be very quick like about 2-3 seconds from the time you hit enter on that get command.

    What are ping times to this fog server 10.4.47.15 from this same windows test computer?

    What are ping time if you use this command ping -4 -l 1300 -n 4 10.4.47.15 This command says use ipv4 set the payload size to 1300 and ping 4 times to the host. I’m specifically using a payload size larger that the default ping size to see if we are hitting a mtu issue that wouldn’t be visible with a 64 byte ping size.

  • Attempting to check in...... failed

    4
    0 Votes
    4 Posts
    653 Views
    S

    @lcis said in Attempting to check in...... failed:

    I’m sorry for the inconvenience…

    Not at all an issue. I just thought I let you know. You can’t count on things to be fixed in working-1.6 because no one is maintaining this branch as of now.

    Thanks for testing the quick fix and reporting back. I will look into properly fixing this issue in the working-1.6 branch some time this week because I remember we had this issue mentioned in the forums a couple of times and now we know what’s causing it.

  • How to move DB and images to different server

    8
    0 Votes
    8 Posts
    1k Views
    S

    @ariederer26 said in How to move DB and images to different server:

    Do I have to execute it as Ubuntu root user? Or myself the only user on the system?

    In general any Linux/Ubuntu user is able to run mysqldump. But there is a chance you can run mysqldump and not have to provide DB credentials if Run as root.

  • Kernel missing correct driver

    5
    0 Votes
    5 Posts
    582 Views
    M

    @george1421 That’s what’s done it, the kernel version I’m using at this subsite is older than the one at the main server.

    Main server has been brought up to date but for some reason, I never considered all 37 sites would also need to have bzimage/32 updating as well.

    Well, that solves it. Even if it was my own stupidity haha! Thanks mate!

  • boot.pxe permission denied on specific hardware

    2
    0 Votes
    2 Posts
    242 Views
    george1421G

    @user419 How did you turn on https protocol in FOG? It almost appears that ipxe did not get recompiled with the same certificate that apache is using for the web server.

  • How to set dual boot menu in ipxe ?

    4
    0 Votes
    4 Posts
    631 Views
    K

    @george1421 thank you very much for your help, I’ll try to edit the refind file.

  • Fog UEFI Image deploy and Computer Registering Errors

    5
    0 Votes
    5 Posts
    378 Views
    george1421G

    @jshancock1 Is this a new install of FOG? It almost sounds like is not being sent to the target computer causing the unable to boot messages. While they are different messages they are about the same topic.

    From the fog server linux comsole prompt what is the output of this command? file /var/www/html/fog/service/ipxe/bzImage

  • FOG Client with CA-issued TLS certificate

    6
    0 Votes
    6 Posts
    887 Views
    S

    @ggiesen said in FOG Client with CA-issued TLS certificate:

    The SnapIn client appears to be trying to talk to the web server using HTTP and on the IP address rather than the FQDN. Any way to fix this?

    Unfortunately this is a known issue discussed on github: https://github.com/FOGProject/fogproject/issues/371

    I worked around this temporarily by adding the following to /etc/httpd/conf.d/fog.conf:

    Well done! Overall you’ve made quick progress on making this work!

  • Clonezilla image compatibility

    3
    0 Votes
    3 Posts
    531 Views
    J

    @george1421 thanks for the answer 😄

  • Trying to access /images on deploy-debug

    2
    0 Votes
    2 Posts
    249 Views
    george1421G

    @lcis said in Trying to access /images on deploy-debug:

    For curiosity, why couldn’t I mount $storage ?

    While debugging your post install script, use debugPause to put a break point in your code. Put an echo statement in just before the debugPause to say “Stop me here”. So when you are debug executing your deployment, when you get to “Stop me here” press ctrl-C to exit the fog script. Now run the set command and confirm where $storage is pointing to.

    Also side note, I always set $variable using ${variable} so the bash interpeter really knows what I want as a variable.

    When you hit the ctrl-c that should be the exact state of the machine. The /images directory on the FOS target computer should already be mapped to the FOG server /images directory at this point (during the execution of the postinstallscript)

  • Error 'Could not open inode 'XXXXXX" through the library'

    Solved
    35
    0 Votes
    35 Posts
    14k Views
    T

    Hi,

    Same problem as Scoude here with Fog 1.5.9 on Debian 10.
    I “defraged” (it’s a ssd), desactivated Fastboot, hibernate off, chkdsk…
    Nothing fixed the problem.

    Any idea ?

    Thanks

  • Accessing FOG Menu over SOL connections

    2
    0 Votes
    2 Posts
    294 Views
    george1421G

    @londonfog I can most assuredly tell you that no one using FOG has done this before.

    The challenge is getting both iPXE and the FOS Linux kernel to use the serial console port (even at that I don’t know if the SOL redirect will work correctly).

    The first step is that you will need to rebuild iPXE using the built in tools in the fog server. https://forums.fogproject.org/topic/15826/updating-compiling-the-latest-version-of-ipxe I would run through this process the first time as is just to get a base line compile setup.

    Then you will want to hack a config file to enable the serial console in iPXE as outlined here: https://ipxe.org/console

    As an example here is the fog supplied console.h file https://github.com/FOGProject/fogproject/blob/171d63724131c396029992730660497d48410842/src/ipxe/src/config/console.h#L37 note that you will need to turn on the serial console in the console.h in the build path for iPXE. You will need to do it for both the bios and uefi config files.

    You will probably want to add the following lines right under enabling the serial console.

    #define COMCONSOLE COM2 #define COMSPEED 9600 #define COMDATA 8 #define COMPARITY 0 #define COMSTOP 1

    You will need to make the changes correctly for your SOL configuration.

    Then rebuild iPXE a second time. This time move the built files to the /tftpboot directory.

    Now for bzImage (fos linux kernel), it looks like you just need to add this to the global kernel args settings console=ttyS2,9600

  • Client not booting in PXE

    2
    0 Votes
    2 Posts
    176 Views
    george1421G

    @ram There are so many questions because your post lacks details.

    Is this a new FOG install? What did you configure in your main dhcp server for options 66 and 67? Is your pxe booting client a bios or uefi computer? If you select the boot manager on the target computer (typ F10 or F12) can you select pxe boot? If yes what error message do you get?
  • bz.image freeze during capture on Lenovo ThinkBook 15 G2

    10
    0 Votes
    10 Posts
    1k Views
    george1421G

    @baptistepds Well then we do find that sometimes there is no hope because of a hardware conflict between ipxe and the firmware. We do have one last method to boot bzImage directly fro a usb flash drive. You will lose multicasting and “Deploy image” functions because iPXE isn’t there, but you will still be able to unicast an image onto this computer.

    Read through the tutorial completely so you understand the caveats and also look at the forum chat for some additional hints: https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image

  • Could not mount /dev/sda1

    3
    0 Votes
    3 Posts
    259 Views
    E

    @george1421
    Hey I did a sysprep.
    I had to to reboot one time and shutdown one more time. And it works.

    Thanks

  • 0 Votes
    2 Posts
    269 Views
    george1421G

    @rocksoft said in Can fogproject be used to deploy bios/uefi servers like a deployment server ?:

    Can fogproject be used to deploy bios/uefi servers like a deployment server ?

    The quick answer is yes.

    FOG supports both bios and uefi based computers. You need to send a bios based boot loader (undionly.kpxe) to a bios target computer, and snp.efi or ipxe.efi to a uefi based computer.

    So if you have your own dhcp server that supports dynamic boot loaders (like a linux dhcp server) you can configure those settings. https://wiki.fogproject.org/wiki/index.php/BIOS_and_UEFI_Co-Existence#Example_1 or if you have an external dhcp server on a router or L3 switch you can use dnsmasq to provide dynamic dhcp boot loader info https://forums.fogproject.org/topic/12796/installing-dnsmasq-on-your-fog-server

    And finally if you have no dhcp server, when you install FOG you can tell FOG to install a preconfigured dhcp server to provide dynamic pxe boot info.

  • TFTP File not found

    6
    0 Votes
    6 Posts
    553 Views
    E

    @george1421
    If it helps :

    # 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 10.1.1.0 netmask 255.255.255.0{ option subnet-mask 255.255.255.0; range dynamic-bootp 10.1.1.10 10.1.1.254; default-lease-time 21600; max-lease-time 43200; #option routers 0.0.0.0 #option domain-name-servers 0.0.0.0 next-server 10.1.1.2; } class "Legacy" { match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000"; filename "ipxe.kpxe"; } 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 "snponly.efi"; } class "UEFI-64-2" { match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00008"; filename "snponly.efi"; } class "UEFI-64-3" { match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00009"; filename "snponly.efi"; } class "SURFACE-PRO-4" { match if substring(option vendor-class-identifier, 0, 32) = "PXEClient:Arch:00007:UNDI:003016"; filename "snponly.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"; } } }
  • Image Capture Hanging on "Cloned Successfully"

    5
    0 Votes
    5 Posts
    1k Views
    O

    @sebastian-roth I didn’t take that second screenshot (in the second post) until after the first one had finished. And I got it while FOG was still imaging partition 3, so you are correct, it hadn’t renamed but that was only because I wanted to get a quick image of the root:root ownership.

    Partition 4 is only 1GB so it should not have hung at all.

    I wasn’t around to watch the second capture finish, so I’ll have to do it again later this week.

  • FOG Failed to get IP via DHCP Error

    3
    0 Votes
    3 Posts
    453 Views
    A

    @george1421 Thanks for the help! I updated the kernel, had to do it on the ubuntu server instead of the web ui but it worked and it found the device and installed the image!

  • Details of image_export.csv

    2
    0 Votes
    2 Posts
    300 Views
    george1421G

    @benc If its only one image, it probably easier to recreate the metadata by hand in the new fog server. As long as you remember the path part of the image definition is case sensitive you probably can make an educated guess at the rest of the settings You will see the image size being zero bytes after you manually create the image definition but that is OK since that value is only created on an upload and is only used for display purposes.

173

Online

12.3k

Users

17.4k

Topics

155.6k

Posts