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

    Partimage for old images

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    20
    3.8k
    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.
    • 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

                                    157

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project