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

    Partimage for old images

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    20
    3.7k
    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.
    • C
      Chuck2000 @Wayne Workman
      last edited by Wayne Workman

      @Wayne-Workman

      Thanks for the new server install instructions. The install was much easier than I thought. I copied my images over to the new server, and then manually created them with the correct settings. However, when I tried to image a machine, it failed. It said it was trying to use partclone.
      In your instructions you said I needed to use partimage. I searched for instructions, and what I found seemed to suggest I needed to check the FOG_FORMAT_FLAG_IN_GUI in FOG general settings.
      See this - https://forums.fogproject.org/topic/3522/just-to-be-clear-about-partimage/7
      I tried to image after selecting that option, and it still said it was using partclone. I then deleted the image, and then recreated the image. I tried again, and it was still was using partclone.
      Is there instructions on how to enable partimage? Also, will these old images work alongside the new images I will eventually need to create?
      Thanks

      –Moderator note: This topic was forked from here:
      https://forums.fogproject.org/topic/8970/decreasing-disk-space

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @Chuck2000
        last edited by Wayne Workman

        @Chuck2000

        Setting up an image to use partimage inside of fog 1.2.0 or FOG 1.3.0 is two-part.

        First, enable the ability to change the images format:
        Web Interface -> FOG Configuration -> FOG Settings -> General Settings -> FOG_FORMAT_FLAG_IN_GUI

        After that above setting is enabled, images will now have an extra option to select their format. This is called “Image Manager” on each individual image. Inside of:
        Web Interface -> Image Management -> [click desired image] -> Image Manager -> Partclone or Partimage
        as pictured below.

        After doing these two steps, the image should deploy with Partimage as needed. And to answer your 2nd question, yes this can work with newer style Partclone images that you create in the future as well. You should always use partclone with all new images you create. This feature to select the image format is only meant to enable you to use your old migrated images until you create replacements.

        0_1479785407188_Image Manager.png

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        C 1 Reply Last reply Reply Quote 0
        • C
          Chuck2000 @Wayne Workman
          last edited by

          @Wayne-Workman

          I see where to change to partimage – thanks.
          However, that doesn’t appear to be the issue. The imaging process simply won’t start. This is true for both deploying and uploading an image. After several boot/information screens appear, the computer just reboots and the imaging/uploading process won’t begin.
          Below I posted a few screenshots taken when trying to upload a test image to the FOG server. After these screenshots, the computer just restarts and boots to the hard drive.
          Any suggestions? Thanks.
          0_1479826955212_p1.JPG

          0_1479826964672_p2.JPG

          0_1479826987738_p3.JPG

          Q Wayne WorkmanW 2 Replies Last reply Reply Quote 0
          • Q
            Quazz Moderator @Chuck2000
            last edited by Quazz

            @Chuck2000 Hi, can you please highlight your new setup details?

            OS version
            FOG version (including RC number)

            Also, what system are you trying to capture/deploy ?

            Oh and is your FOG server the DHCP server now or is it using proxydhcp or did you alter the DHCP server? (and which bootfile are you using? (default is undionly.kpxe))

            1 Reply Last reply Reply Quote 1
            • Wayne WorkmanW
              Wayne Workman
              last edited by Wayne Workman

              Also pinging @Tom-Elliott. The OP has done what he’s supposed to do for the old 0.32 image to use Partimage, but it’s not working.

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @Wayne Workman
                last edited by

                @Wayne-Workman What are you pinging me for?

                What version of FOG is running currently?

                Just saying “what we were supposed to do” isn’t enough, I don’t know all the details. I need those details to more accurately help out.

                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

                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman @Tom Elliott
                  last edited by

                  @Tom-Elliott He should be using RC-25.

                  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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott @Wayne Workman
                    last edited by

                    @Wayne-Workman We don’t know that yet.

                    The other post just says that there was an update, but it was from 5 days ago, to my understanding.

                    Was there anything from the boot.php output so we could SEE what’s going on?

                    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

                    1 Reply Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman @Chuck2000
                      last edited by

                      @Chuck2000 What is the output of this link?

                      172.16.5.153/fog/service/ipxe/boot.php?mac=64:00:6a:8a:f4:5c

                      That information was taken from your below screenshots. Be sure that this MAC address is still configured to use partimage in the web interface. Go to the above link and copy/paste what you see.

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        Chuck2000 @Wayne Workman
                        last edited by Tom Elliott

                        @Wayne-Workman said in Partimage for old images:

                        172.16.5.153/fog/service/ipxe/boot.php?mac=64:00:6a:8a:f4:5c

                        Here is the information that was requested - thanks.

                        You are currently running version: 1.3.0-RC-24

                        DHCP server screenshot:

                        0_1479829827220_dhcp.jpg

                        boot.php file output:

                        #!ipxe
                        set fog-ip 172.16.5.153
                        set fog-webroot fog
                        set boot-url http://${fog-ip}/${fog-webroot}
                        cpuid --ext 29 && set arch x86_64 || set arch i386
                        goto get_console
                        :console_set
                        colour --rgb 0x00567a 1 ||
                        colour --rgb 0x00567a 2 ||
                        colour --rgb 0x00567a 4 ||
                        cpair --foreground 7 --background 2 2 ||
                        goto MENU
                        :alt_console
                        cpair --background 0 1 ||
                        cpair --background 1 2 ||
                        goto MENU
                        :get_console
                        console --picture http://172.16.5.153/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
                        :MENU
                        menu
                        colour --rgb 0x00567a 0 ||
                        cpair --foreground 1 1 ||
                        cpair --foreground 0 3 ||
                        cpair --foreground 4 4 ||
                        item --gap Host is registered as 7020image!
                        item --gap -- -------------------------------------
                        item fog.local Boot from hard disk
                        item fog.memtest Run Memtest86+
                        item fog.keyreg Update Product Key
                        item fog.deployimage Deploy Image
                        item fog.multijoin Join Multicast Session
                        item fog.quickdel Quick Host Deletion
                        item fog.sysinfo Client System Information (Compatibility)
                        choose --default fog.local --timeout 3000 target && goto ${target}
                        :fog.local
                        sanboot --no-describe --drive 0x80 || goto MENU
                        kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=172.16.5.153/fog/ consoleblank=0 rootfstype=ext4 loglevel=4
                        imgfetch init_32.xz
                        boot || goto MENU
                        :fog.memtest
                        kernel memdisk iso raw
                        initrd memtest.bin
                        boot || goto MENU
                        kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=172.16.5.153/fog/ consoleblank=0 rootfstype=ext4 loglevel=4
                        imgfetch init_32.xz
                        boot || goto MENU
                        :fog.keyreg
                        login
                        params
                        param mac0 ${net0/mac}
                        param arch ${arch}
                        param username ${username}
                        param password ${password}
                        param keyreg 1
                        isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                        isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                        :fog.deployimage
                        login
                        params
                        param mac0 ${net0/mac}
                        param arch ${arch}
                        param username ${username}
                        param password ${password}
                        param qihost 1
                        isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                        isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                        :fog.multijoin
                        login
                        params
                        param mac0 ${net0/mac}
                        param arch ${arch}
                        param username ${username}
                        param password ${password}
                        param sessionJoin 1
                        isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                        isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                        :fog.quickdel
                        login
                        params
                        param mac0 ${net0/mac}
                        param arch ${arch}
                        param username ${username}
                        param password ${password}
                        param delhost 1
                        isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                        isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                        :fog.sysinfo
                        kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=172.16.5.153/fog/ consoleblank=0 rootfstype=ext4 loglevel=4 mode=sysinfo
                        imgfetch init_32.xz
                        boot || goto MENU
                        :bootme
                        chain -ar http://172.16.5.153/fog/service/ipxe/boot.php##params ||
                        goto MENU
                        autoboot
                        
                        Tom ElliottT 1 Reply Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @Chuck2000
                          last edited by

                          @Chuck2000 Please set the mac address into a tasking with the “partimage image” associated to it and then redo the url call and get us the output.

                          Please wrap the output in triple backspaces for easier readability.

                          172.16.5.153/fog/service/ipxe/boot.php?mac=64:00:6a:8a:f4:5c

                          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

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            Chuck2000 @Tom Elliott
                            last edited by

                            @Tom-Elliott said in Partimage for old images:

                            Please set the mac address into a tasking with the “partimage image” associated to

                            Thanks, but I’m not sure what to do here:

                            Please set the mac address into a tasking with the “partimage image” associated to

                            FYI - my images that I copied over and then manually set the settings are showing up with no image size

                            0_1479833037842_images.jpg

                            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                            • Wayne WorkmanW
                              Wayne Workman @Chuck2000
                              last edited by Wayne Workman

                              @Chuck2000 said in Partimage for old images:

                              Please set the mac address into a tasking with the “partimage image” associated to

                              Tom means: Set the computer who’s MAC address that is to image via the web interface. Afterwards, don’t boot it up to image, instead go to the link I provided earlier. The output will be different because there’s a task waiting for that MAC. That output is what we need.

                              FYI - my images that I copied over and then manually set the settings are showing up with no image size

                              That’s fine. This particular field will update when you deploy each of them. Image Size on Client is not the same as Image Size on Server. The server has no idea how big the image extracts to because it’s never deployed the image before.

                              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!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

                              C 1 Reply Last reply Reply Quote 0
                              • Tom ElliottT
                                Tom Elliott
                                last edited by

                                Update to RC-25 to fix the partimage/partclone format issue you’re seeing please.

                                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

                                1 Reply Last reply Reply Quote 1
                                • C
                                  Chuck2000 @Wayne Workman
                                  last edited by Tom Elliott

                                  @Wayne-Workman

                                  Okay, I updated to partimage. Here is the output - thanks.

                                  #!ipxe
                                  set fog-ip 172.16.5.153
                                  set fog-webroot fog
                                  set boot-url http://${fog-ip}/${fog-webroot}
                                  cpuid --ext 29 && set arch x86_64 || set arch i386
                                  goto get_console
                                  :console_set
                                  colour --rgb 0x00567a 1 ||
                                  colour --rgb 0x00567a 2 ||
                                  colour --rgb 0x00567a 4 ||
                                  cpair --foreground 7 --background 2 2 ||
                                  goto MENU
                                  :alt_console
                                  cpair --background 0 1 ||
                                  cpair --background 1 2 ||
                                  goto MENU
                                  :get_console
                                  console --picture http://172.16.5.153/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
                                  :MENU
                                  menu
                                  colour --rgb 0x00567a 0 ||
                                  cpair --foreground 1 1 ||
                                  cpair --foreground 0 3 ||
                                  cpair --foreground 4 4 ||
                                  item --gap Host is registered as 7020image!
                                  item --gap -- -------------------------------------
                                  item fog.local Boot from hard disk
                                  item fog.memtest Run Memtest86+
                                  item fog.keyreg Update Product Key
                                  item fog.deployimage Deploy Image
                                  item fog.multijoin Join Multicast Session
                                  item fog.quickdel Quick Host Deletion
                                  item fog.sysinfo Client System Information (Compatibility)
                                  choose --default fog.local --timeout 3000 target && goto ${target}
                                  :fog.local
                                  sanboot --no-describe --drive 0x80 || goto MENU
                                  kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=172.16.5.153/fog/ consoleblank=0 rootfstype=ext4 loglevel=4
                                  imgfetch init_32.xz
                                  boot || goto MENU
                                  :fog.memtest
                                  kernel memdisk iso raw
                                  initrd memtest.bin
                                  boot || goto MENU
                                  kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=172.16.5.153/fog/ consoleblank=0 rootfstype=ext4 loglevel=4
                                  imgfetch init_32.xz
                                  boot || goto MENU
                                  :fog.keyreg
                                  login
                                  params
                                  param mac0 ${net0/mac}
                                  param arch ${arch}
                                  param username ${username}
                                  param password ${password}
                                  param keyreg 1
                                  isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                                  isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                                  :fog.deployimage
                                  login
                                  params
                                  param mac0 ${net0/mac}
                                  param arch ${arch}
                                  param username ${username}
                                  param password ${password}
                                  param qihost 1
                                  isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                                  isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                                  :fog.multijoin
                                  login
                                  params
                                  param mac0 ${net0/mac}
                                  param arch ${arch}
                                  param username ${username}
                                  param password ${password}
                                  param sessionJoin 1
                                  isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                                  isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                                  :fog.quickdel
                                  login
                                  params
                                  param mac0 ${net0/mac}
                                  param arch ${arch}
                                  param username ${username}
                                  param password ${password}
                                  param delhost 1
                                  isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                                  isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                                  :fog.sysinfo
                                  kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=172.16.5.153/fog/ consoleblank=0 rootfstype=ext4 loglevel=4 mode=sysinfo
                                  imgfetch init_32.xz
                                  boot || goto MENU
                                  :bootme
                                  chain -ar http://172.16.5.153/fog/service/ipxe/boot.php##params ||
                                  goto MENU
                                  autoboot
                                  
                                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                  • Wayne WorkmanW
                                    Wayne Workman @Chuck2000
                                    last edited by

                                    @Chuck2000 Tom says if you update to RC-25, this issue will be fixed. Please do that and try again.

                                    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!
                                    Daily Clean Installation Results:
                                    https://fogtesting.fogproject.us/
                                    FOG Reporting:
                                    https://fog-external-reporting-results.fogproject.us/

                                    C 1 Reply Last reply Reply Quote 0
                                    • C
                                      Chuck2000 @Wayne Workman
                                      last edited by

                                      @Wayne-Workman

                                      Okay, I will try an upgrade. I have never updates a FOG server before. Are these the instructions that I should be following?

                                      https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk

                                      Tom ElliottT 1 Reply Last reply Reply Quote 0
                                      • Tom ElliottT
                                        Tom Elliott @Chuck2000
                                        last edited by

                                        @Chuck2000 yes, those instructions will work. I personally recommend the GIT method.

                                        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

                                        C 2 Replies Last reply Reply Quote 0
                                        • C
                                          Chuck2000 @Tom Elliott
                                          last edited by

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • C
                                            Chuck2000 @Tom Elliott
                                            last edited by

                                            @Tom-Elliott

                                            After upgrading to RC-25 as you suggested, the issue is resolved. I can now image computers. Thank you and the other forum members for the help.

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

                                            208

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project