• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Exit Code Returned 4?

Scheduled Pinned Locked Moved
FOG Problems
2
3
393
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    alexnoel2
    last edited by alexnoel2 Dec 28, 2020, 2:23 PM Dec 28, 2020, 8:22 PM

    Good morning,

    A customer recently asked for a Fog server. I built an ESXi 6.5 host, on a Dell R740 and then installed Fog on a CIS compliant Ubuntu 18.04.5 server. It is networked with 2 interfaces on a single NIC, one for the corporate network and the other is for imaging laptops. What I am running into currently while testing local to the ESXi host, is exit code returned 4. It says GPT cannot be restored, which is strange to me because there is no partition table on the drive since it is a VM. Can someone tell me what the deal is, and things to try? I have tried building Linux and Windows VMs and formatting the drive to GPT, and then deploying an image to it after trying to trick the server into working. Any help is helpful!

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Dec 30, 2020, 3:59 PM

      @alexnoel2 Please post a picture of the full error screen.

      Just a blind gues… The VM/host you capture the image from has a larger size disk than the VM/host you want to deploy to. Depending on the partition layout FOG cannot shrink it to a smaller size disk. On your FOG server you have subfolders in /imags for each image and within those you should find a text file called d1.partitions. Post the contents of this text file here as well so we know what your partition layout looks like.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      A 1 Reply Last reply Jan 4, 2021, 1:57 PM Reply Quote 0
      • A
        alexnoel2 @Sebastian Roth
        last edited by Jan 4, 2021, 1:57 PM

        @sebastian-roth Doh! I feel silly. It was absolutely disk size. I built the test machines smaller than the laptops the images were captured from. Thanks for that, now I can go bug the network engineer 🙂

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          2/3
          Last post

        131

        Online

        12.1k

        Users

        17.3k

        Topics

        155.3k

        Posts
        Copyright © 2012-2024 FOG Project