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

    Failure in Capturing an image

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    24
    3.9k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by Tom Elliott

      The fixes we put in place where 2 fold.

      First we put in the fix to address the issue of RAW imaging not passing a partition for partprobe. This was handled by passing a variable to test if the image is raw or not. If it’s raw, the flag gets set and the function returns the disk as it was sent to the function.

      Second we are using a more implicit means to return the disk when the partition information is passed.

      The only real difference that I’m seeing here, is that the 0.3.12 partclone doesn’t like doing the the translation.

      THis is okay, leave your post init script in place. Edit the funcs.sh file and remove the -a0 (or -a1 if this is still in place) from the file.

      Download the proper inits again using:

      wget -O /var/www/fog/service/ipxe/init.xz https://fogproject.org/inits/init.xz
      wget -O /var/www/fog/service/ipxe/init_32.xz https://fogproject.org/inits/init_32.xz
      

      Then you should be all set. The init’s will have the proper funcs.sh for 0.2.89 partclone as well as the changes that were in the init’s you downloaded from our dev server.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      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

      I 2 Replies Last reply Reply Quote 0
      • I
        ismith.hpu @Tom Elliott
        last edited by

        @Tom-Elliott
        Trying this now, will attempt to see if it deploys properly.

        1 Reply Last reply Reply Quote 0
        • I
          ismith.hpu @Tom Elliott
          last edited by

          @Tom-Elliott said in Failure in Capturing an image:

          wget -O /var/www/fog/service/ipxe/init_32.xz https://fogproject.org/inits/init_32.xz

          It now works completely.

          Thank you very much.

          1 Reply Last reply Reply Quote 0
          • Q
            Quazz Moderator @Tom Elliott
            last edited by

            @Tom-Elliott said in Failure in Capturing an image:

            @ismith-hpu But the machine, indeed, does have an OS on the disk? I can only assume the -a0 is a part of the problem. I don’t know what the argument is doing for the 0.3.12 version of partclone.

            It’s to ensure compatibility with 0.2.89 images, allowing them to be deployed with 0.3.12.

            0.2.89 had a broken checksum system, so we force it disabled on 0.3.12 in order to allow those images a normal deployment. It’s also faster and slightly smaller images, certainly not complaining about that part.

            It is curious that 0.3.12 doesn’t seem to work in this instance, though I wonder if a non-resizable (not raw) capture has been tried?

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

            244

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project