UNSOLVED Suddenly workstations reboot before taking an image.

  • Dear Team,
    I have captured an image and trying to deploy on another machine so i reboot from network and registered the host and then edit the details from FOG server.
    Then try to deploy, when i boot this machine via network Everything seems to work ok at first. It gets to Loading fog/kernel/bzImage, then Loading fog/images/init.gz…Ready. The computer immediately reboots without any error.

    Can you please help me on this?

    • FOG Version:
    • OS:
    • Service Version:
    • OS:

  • @mohit.kishor First, you probably need to figure out which boot files you’re ACTUALLY using. From the sounds of things, your layout is still setup as it once was for 0.32 which will not work (as you’re no doubt finding).

    When 1.0.0 was released, the mode of booting had switched from using pxelinux.0 to using undionly.kpxe which allows the use of http protocals. TFTP is limited to transfer rates of only 10Mbps, where TFTP is limited by the network itself (e.g. a gig network can send data at 1000Mbps).

    It is suggested to use undionly.kpxe as the boot file rather than using pxelinux.0 (which didn’t ship with 1.2.0 to begin with).

    The files that should be used are not located in /tftpboot/fog/kernel/bzImage or /tftpboot/fog/images/init.gz anymore. You can, of course, customize these items, but the relative paths (the fog/images or fog/kernel part of the path) is relative to the web side (meaning you can download the kernel from your fogserver if you go to http://<ipoffogserver>/fog/service/ipxe/bzImage or http://<ipoffogserver>/fog/service/ipxe/init.xz

    The file compression changed from gunzip (the .gz) to xz as well.

    The files are separated by their “bitness” meaning bzImage and init.xz are “64 bit” and bzImage32 and init_32.xz are “32 bit”.

    The location where FOG can look to download these files is defined in database values under:

    FOG Configuration Page (The circle ? in 1.2.0) -> FOG Settings -> TFTP Server -> (FOG_TFTP_PXE_KERNEL, FOG_PXE_BOOT_IMAGE 64 bit) and (FOG_TFTP_PXE_KERNEL_32, FOG_PXE_BOOT_IMAGE_32 32bit). The path, directing fog where to locate these files has an absolute path (for simplifying where the files are to be expected) and is defined under the same element with the KEY FOG_TFTP_PXE_KERNEL_DIR. (Please, keep in mind, that fog uses URL’s to download the files it needs so changing the expected location of the files does not necessarily mean FOG will be able to boot if permissions are incorrect for the location of where to expect those files).

    I hope this can help lead you in the right direction.


    FOG Version: Fog_1.2.0
    OS: Ubuntu 14.04

    Service Version: Windows 7

    Description: I am using virtual box V_5.0.26 r109924, everything is seems to work but during deploy an image suddenly client reboot before taking an image and continue reboot until i close the that virtual box. Same version of Fog and OS, my friend are using on same virtual box but he is able to deploy the same.
    Please help on this.


  • Can’t really help without the details.

    First, what version of FOG are you running (this is kind of the most important thing and the reason it’s a part of the post you initially tried making.